[mythtv-commits] Ticket #713: Per-channel offset for DataDirect
listings
MythTV
mythtv at cvs.mythtv.org
Sat Nov 26 00:11:05 EST 2005
#713: Per-channel offset for DataDirect listings
-------------------------------------------+--------------------------------
Reporter: Joe Votour <joevph at yahoo.com> | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone:
Component: mythtv | Version:
Severity: medium |
-------------------------------------------+--------------------------------
As stated in my original post on the mythtv-users list http://www
.gossamer-threads.com/lists/mythtv/users/159850?search_string=per-
channel;#159850), The folks at Zap2It have my program information messed
up on some channels. The short of it: I need to offset the guide data on
about 10-15 channels by three hours in order to have correct listings for
scheduling recordings.
Attached to this ticket is a patch that allows for this for DataDirect
listings - it includes the necessary MySQL changes in filldata.cpp, and
also includes code to make the user-defined offset (default 0 for no
change) in the Channel Editor in mythtv-setup.
Three things about this patch:[[BR]]
1. There is no support for XMLTV-based grabbers. I have been unable to
get data to import for them, and thus cannot even begin to start making
the necessary changes. If somebody could assist me with this, I would
appreciate it. I suspect that the change would work in the same manner as
the DataDirect method (DATE_ADD in the MySQL query), but can't be 100%
sure.[[BR]]
2. Since program information is loaded and inserted in the database during
the initial DataDirect download (when fetching the channel listings), if
any channels have their time offset changed, then the contents of the
"program" table must be deleted, otherwise the changes won't take effect
until the guide data runs out[[BR]]
3. When using the offset, there will be a gap in the listings for the
first day, relative to how far you shift the offset. This is to be
expected since you're moving the data out of the expected window.[[BR]]
This patch is against SVN HEAD as of 2005-11-25, 20:00ish (PST), version
8041.
-- Joe
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/713>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list