[mythtv-commits] mythtv/master commit: 1da9d23d2 by Chris Pinkham (cpinkham)

MythTV noreply at mythtv.org
Wed Nov 30 04:32:38 UTC 2011


      Author:  Chris Pinkham <cpinkham at mythtv.org>
 Change Date:  2011-11-29T20:28:15-08:00
   Push Date:  2011/11/29 20:32:13 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  1da9d23d2838bc2d2e0bc06e2e9e1d382897d21d
   Changeset:  https://github.com/MythTV/mythtv/commit/1da9d23d2

Log:

Allow reopening a writeable ringbuffer with a new filename.

This functionality flushes the original file, closes it, and
reopens the file or opens a new file if an optional new filename
is supplied.

Adds ReOpen(QString newFilename) methods to RemoteFile,
ThreadedFileWriter, RingBuffer, and FileRingBuffer.  A 'REOPEN'
command is also added to the remote file transfer protocol.

This functionality will be used in a soon-to-be-committed feature.

NOTE: The binary API version changes with this commit, so
      make clean, etc..

NOTE2: This also bumps the protocol version to 70 because of
       the new file transfer command, so all components need to
       be upgraded at the same time.

Modified:

   mythtv/bindings/perl/MythTV.pm
   mythtv/bindings/php/MythBackend.php
   mythtv/bindings/python/MythTV/static.py
   mythtv/libs/libmythbase/mythversion.h
   mythtv/libs/libmythbase/remotefile.cpp
   mythtv/libs/libmythbase/remotefile.h
   mythtv/libs/libmythtv/ThreadedFileWriter.cpp
   mythtv/libs/libmythtv/ThreadedFileWriter.h
   mythtv/libs/libmythtv/fileringbuffer.cpp
   mythtv/libs/libmythtv/fileringbuffer.h
   mythtv/libs/libmythtv/ringbuffer.h
   mythtv/programs/mythbackend/filetransfer.cpp
   mythtv/programs/mythbackend/filetransfer.h
   mythtv/programs/mythbackend/mainserver.cpp



More information about the mythtv-commits mailing list