[mythtv-users] Out of Area Schedule? (or overriding schedulesdirect)

Robert Eden rmeden at yahoo.com
Fri Dec 26 16:26:47 UTC 2008


On 12/24/2008 10:10 AM, Ken Mandelberg wrote:
>>> There is a series I want to record, but the local station doesn't list
>>> title/episode info with TMS, just a generic. I found an out of area
>>> station that does list the title/episode info and is in sync with the
>>> local station except they play it 3 hours later.
>>>
>>> If not for the 3 hours I could just edit the xmltvid in the channel
>>> entry substituting the out of area schedule.
>>>
>>> Any idea of how to get around the 3 hours, or do this a different way.
>>>
>>> (Schedulesdirect has not been able to get TMS to supply title/episode
>>> info for the local stations showing).
>>>       
>> Is this a network show or syndicated, or maybe even (rare) locally-produced?
>>
>> If it's syndicated, I would try and contact the syndicator and complain that
>> episode information is not available to you.
>>
>> Stations will listen to networks and syndicators more than a *mere* viewer.
>>
>>     
>
> Its an old series that RTN (the Retro Network) carries. I've written to 
> RTN, the local station, and schedulesdirect all with no luck.
>
> I've already manually fixed up one already recorded "generic" episode by 
> hand editing the mysql database with info from the xml I grabbed from 
> the out of area listing for that episode.
>
> However, there are 100 episodes, and RTN plays them over and over so I 
> need some automat
> Are there any tools for supplementing/overriding info from 
> schedulesdirect with other xml?
>   
Hi Ken.. sorry, but as you can tell, working with TMS is sometimes like 
steering a train. :)

It's great that you found another station with the details... I can see 
three solutions.

1. Download the SD data with XMLTV's tv_grab_na_dd in XMLTV format,  run 
the program through a script to replace the local RTN details (shouldn't 
be too tough in Perl) , write the new XMLTV file and load it into Myth. 
(Myth can load a XMLTV file).  If I was writing it, I wold steal code 
from XMLTV's TV_CHECK as it already has code to load XMLTV data into 
arrays and build some hash indexes.  It would be memory intensive however.

2. Download the raw SD data (tv_grab_na_dd's --download-only option or a 
custom script),  run the program through a script to replace the "SH" 
episode ID in the <SCHEDULE> tag with the new "EP" episode id and then 
load that into Myth.  I don't know if Myth can load SD formatted data 
without downloading it.

3. Write a script to scan the MythTV DB  and do the update (maybe only a 
episode-id change, not sure) there.  Not sure if this would be simpler 
or not as I don't know how MythTV stores things internally.

Good Luck!
Robert
Schedules Direct
XMLTV

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081226/0a2fbebf/attachment.htm 


More information about the mythtv-users mailing list