[mythtv-commits] mythtv commits
mythtv at cvs.mythtv.org
mythtv at cvs.mythtv.org
Tue Jun 1 23:50:05 EDT 2004
----------------------------------------------------------------------------
Changes committed by cpinkham on Wed Jun 2 03:45:29 2004
Added Files:
in mythtv/programs/mythbackend:
commercialflag.cpp commercialflag.h
Modified Files:
in mythtv/libs/libmythtv:
NuppelVideoPlayer.cpp NuppelVideoPlayer.h
NuppelVideoRecorder.cpp NuppelVideoRecorder.h dvbrecorder.cpp
dvbrecorder.h hdtvrecorder.cpp hdtvrecorder.h mpegrecorder.cpp
mpegrecorder.h programinfo.cpp programinfo.h tv_rec.cpp
tv_rec.h
in mythtv/programs/mythbackend:
encoderlink.cpp encoderlink.h main.cpp mainserver.cpp
mainserver.h mythbackend.pro transcoder.cpp
in mythtv/programs/mythfrontend:
globalsettings.cpp playbackbox.cpp playbackbox.h
Log Message:
The "Hey he's not dead, just slow" patch...
* Fixed "Watch Recordings" screen to update Auto-Expire status icon if
you change auto-expire flag on a recording. This updates the
in-memory flag after the DB value is changed rather than having to
re-retrieve the whole program list from the DB to update.
* Added CommercialFlagger class to handle commercial flagging threads.
Instead of having the tv_rec.cpp fire off flagging threads, it now sends
a message to the CommercialFlagger class instance and that fires off the
threads and keeps track of what threads are running. This allows flagging
threads to be started/stopped at will.
* Added menu options on playbackbox screen to start or stop commercial
flagging for a recording. Made status icons reflect changes when flagging
was started/stopped for a recording.
* Removed MARK_PROCESSING flag from use in recordedmarkup table which
indicated commercial flagging was running. This was redundant since
the new commflagged field was added to the recorded table for
optimization.
* Added code to stop commercial flagging for a recording if it is deleted
while commercial flagging is in progress.
* Added code to start commercial flagging for a show when the show is stopped
prematurely by the user but not deleted.
* Moved RecordedMarkup delete code from MainServer::DoHandleDeleteRecording
into a thread and gave it its own DB connection so it doesn't hold up
the GUI when deleting large recordings with large numbers of rows in
the recordedmarkup table.
* Added "CPU Usage" setting on Commercial Skip/Detection page in setup. User
can select between "Low" (this is the default and the existing method
which runs niced and sleeps every frame), "Medium" (which just runs niced
but doesn't sleep), and "High" (which runs full-throttle, no nice and no
sleeping) Included a warning in the description about running on "High".
* Added "Commercial Detection Host" setting to allow user to specify a
particular backend that all commercial detection should run on. Defaults
to "Localhost" which means the detection will run on the backend the
recording was made on when automatic detection is on. Settable to the
hostname of any mythbackend server so you can have a dedicated
commercial flagging host.
* Modified all Recorder classes to write out only the changes to the
positionMap map when finished recording instead of rewriting the whole
map to the DB. Added ProgramInfo::SetPositionMapDelta() to accomodate.
This allows recordings (especially long ones) to finish quicker and
should eliminate some (or all) of the issues with the 2nd of back-to-back
recordings starting late.
----------------------------------------------------------------------------
More information about the mythtv-commits
mailing list