[mythtv-users] Mythweb bug--can anyone else confirm?

Jonathan Larson jtlarson at u.washington.edu
Thu Jun 12 18:28:50 UTC 2008

-----Original Message-----
From: mythtv-users-bounces at mythtv.org [mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Marc Randolph
Sent: Wednesday, June 11, 2008 9:57 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Mythweb bug--can anyone else confirm?

On Wed, Jun 11, 2008 at 7:56 PM, Nick Morrott <knowledgejunkie at gmail.com> wrote:
> On 11/06/2008, Jonathan Larson <jtlarson at u.washington.edu> wrote:
>> Can anyone test this for me by scheduling a manual recording via mythweb and
>> modifying the subtitle field to something like 'test subtitle'? Once you
>> save the schedule, you can check how it was saved in "Upcoming Recordings"
>> or "Recorded programs." If this really is a bug, the subtitle should contain
>> a date stamp instead of whatever you entered.
> I see the same behaviour on a box running 0.21-fixes at r16505. Some
> of the relevant code is in
> mythplugins/mythweb/modules/tv/schedules_manual.php.

Howdy Nick,

That's as far as I could get as well.  I enjoy digging into issues
like this -it is a great way to learn how mythtv works.
Unfortunately I've hit a road-block and could use a bit of help.
schedules_manual.php appears to process the data
after it is entered by the user (in this case $_POST['subtitle'] is
evaluated to see if it contains 'Use date/time'), but
I can't find where the actual input from the user is performed.  Could
some knowledgeable person point out where/how
'subtitle' gets assigned the data that the user entered?  When we find
that, I suspect we'll find the source of this bug.



I'm not a programmer so I don't really know how to fix this, but based on some more investigation, I think that this problem might actually be in Myth proper rather than Mythweb.

My reason for thinking the above is that I took a closer look at the MySQL database and found that the modified subtitle is saved correctly in the 'record' table. However, once the recording begins that info should be copied to the "recorded" table, and when I looked there I find the subtitle is reset to a time stamp.

I'm not yet sure why this only happens with manual recordings though...


More information about the mythtv-users mailing list