[mythtv-commits] Ticket #10747: [PATCH] Autogenerate originalairdate for new episode repeats
MythTV
noreply at mythtv.org
Sat Oct 13 11:34:54 UTC 2012
#10747: [PATCH] Autogenerate originalairdate for new episode repeats
---------------------------------------+----------------------------
Reporter: Bradley Baetz <bbaetz@…> | Owner: stuartm
Type: Patch - Feature | Status: new
Priority: minor | Milestone: 0.27
Component: MythTV - Mythfilldatabase | Version: 0.25-fixes
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
---------------------------------------+----------------------------
Changes (by bbaetz@…):
* status: closed => new
* resolution: fixed =>
Comment:
Unfortunately what was checked in doesn't work for me. It joins on
programid, but that isn't present in my (Australian) guide data. The part
of my patch that handled that wasn't applied. The safety check for a new
episode also was missed, although that's probably less important if there
is a programid.
Also, it turns out that my patch was slightly wrong - my patch would not
necessarily select the right previously shown flag. That's because its
undefined which row's value for a non-grouped column is selected (most DBs
won't even let you do it) so in some cases it would pick up the original
episode's value of 1 and other times it would pick up 0, so the safety
check (against generic episodes descriptions) wouldn't kick in.
This is fixed in the attached patch which I've been using (on 0.25-fixes)
for the last week or so, since I discovered this issue. (This is still
against 0.25, but should apply to 0.27 with the committed stuff here
reverted)
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10747#comment:3>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list