[mythtv-commits] mythtv branch devel/027candidates updated by jyavenard. v0.27-197-g883011c

Git Repo Owner noreply at mythtv.org
Sat Mar 15 09:22:47 UTC 2014


The branch, devel/027candidates has been updated on the
mythtv repository by gitolite user jyavenard.
       via  883011cd8556f209fb928f0b4f372b37d8d56e94 (commit)
       via  5c891e9a43279a19f54a220942336e335b7ccd1a (commit)
       via  5396097b04134a142669e9bb767cc9b5524ae204 (commit)
       via  ca3b04a43fbefcce25b74d8124afebc79c9bc161 (commit)
       via  e92522026cb9005508ff0bd99e5a64ea2c12f975 (commit)
       via  c2a54cef6724908283cabf85f6e33888546bee26 (commit)
      from  eba433fa2eba49884e9d0228b3f8f3042bf15da0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 883011cd8556f209fb928f0b4f372b37d8d56e94
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 23:24:18 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 15 Mar 2014 20:22:23 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=883011cd8556f209fb928f0b4f372b37d8d56e94

Return the actual file size rather than the one when the file was first opened



commit 5c891e9a43279a19f54a220942336e335b7ccd1a
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 11 Mar 2014 22:47:44 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 15 Mar 2014 20:21:58 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5c891e9a43279a19f54a220942336e335b7ccd1a

Set initial FileRingBuffer rawbitrate to 800
In continuation of dddf14c050297a7bbb74459e3018e457a47d2489

(cherry picked from commit 1da2a0ef0d645c0ed19932f478567a67a8048b38)



commit 5396097b04134a142669e9bb767cc9b5524ae204
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Mon, 10 Mar 2014 22:35:26 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 15 Mar 2014 20:21:47 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=5396097b04134a142669e9bb767cc9b5524ae204

Partial revert of c64141b0c0b7118ee28be2441374727a1af7c44c
We can use the previous readblocksize as it was adjusted during earlier reads. However we set the initial value in such a way that it will be automatically recalculated on the first call to RingBuffer::CalcReadAheadThresh()

(cherry picked from commit dddf14c050297a7bbb74459e3018e457a47d2489)



commit ca3b04a43fbefcce25b74d8124afebc79c9bc161
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Tue, 11 Mar 2014 21:01:31 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 15 Mar 2014 20:15:18 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ca3b04a43fbefcce25b74d8124afebc79c9bc161

Cache the size of the remote file for 500ms
Aim is to speed up common usage…

(cherry picked from commit 8c174135f305efbc7cc1ec8cc0aab4cf26525e4a)



commit e92522026cb9005508ff0bd99e5a64ea2c12f975
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 21:54:20 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 15 Mar 2014 20:15:05 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=e92522026cb9005508ff0bd99e5a64ea2c12f975

Add RemoteFile::GetRealFileSize()
Allows to query the current size of the remote file. If the file isn’t opened for write by the backend, the size will be cached and the backend will be queried only once

(cherry picked from commit 6290fd98f55bc11f78366324deb04bf84e40da16)
(cherry picked from commit 5266ceec09a512e9c5a221da85fac0598cadbb99)



commit c2a54cef6724908283cabf85f6e33888546bee26
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Sun, 9 Mar 2014 21:49:10 +1100
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Sat, 15 Mar 2014 20:14:49 +1100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=c2a54cef6724908283cabf85f6e33888546bee26

Add QUERY_FILETRANSFER REQUEST_SIZE command
This allows to query the current size of the file. Previously you could only get the size of the file from when it was first opened or had to issue a QUERY_FILE_EXISTS command that is significantly slower (as it requires a new connection to the backend)

(cherry picked from commit 5f47d6922e8e2d740ffd9353bf8d354a189ef80d)

Conflicts:
	mythtv/programs/mythbackend/mainserver.cpp



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmythbase/remotefile.cpp             |   80 +++++++++++++++++++-
 mythtv/libs/libmythbase/remotefile.h               |    4 +
 .../requesthandler/fileserverhandler.cpp           |    6 ++
 .../sockethandler/filetransfer.cpp                 |    8 ++
 .../sockethandler/filetransfer.h                   |    1 +
 mythtv/libs/libmythtv/fileringbuffer.cpp           |    4 +-
 mythtv/libs/libmythtv/ringbuffer.cpp               |   11 ++-
 mythtv/programs/mythbackend/filetransfer.cpp       |    8 ++
 mythtv/programs/mythbackend/filetransfer.h         |    1 +
 mythtv/programs/mythbackend/mainserver.cpp         |   11 ++-
 10 files changed, 126 insertions(+), 8 deletions(-)

-- 



More information about the mythtv-commits mailing list