[mythtv-commits] Ticket #12155: Manual Recordings lose Subtitle
MythTV
noreply at mythtv.org
Wed May 28 01:03:53 UTC 2014
#12155: Manual Recordings lose Subtitle
--------------------------------------+--------------------------------
Reporter: billstei@… | Owner: gigem
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - Scheduling | Version: 0.27-fixes
Severity: medium | Keywords: scheduler subtitle
Ticket locked: 0 |
--------------------------------------+--------------------------------
When setting a manual recording the manually specified Subtitle is
replaced incorrectly by the Startdate and Starttime and (re)placed into
the "program" table. This occurs on line #3313 of scheduler.cpp in the
Scheduler::UpdateManuals() method with the following code:
query.bindValue(":SUBTITLE", startdt.toLocalTime());
I recommend that the query of the "record" table on line #3222 of
scheduler.cpp include "subtitle" along with an additional line ~3236:
QString subtitle = query.value(THE_VALUE_AFTER_TITLE).toString();
A simple test for the bug can be done by setting the Recording Started
System Event to the following:
logger "The Subtitle is: %SUBTITLE%"
and then checking /var/log/syslog for the correct subtitle.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12155>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list