LinHES Forums http://forums.linhes.org/ |
|
xmltv script http://forums.linhes.org/viewtopic.php?f=17&t=16268 |
Page 1 of 1 |
Author: | rkshack [ Wed Aug 29, 2007 8:53 pm ] |
Post subject: | xmltv script |
I have a program that can download and convert chanel data from yahoo go tv. This way I can get my local channel guide info. How do I make mythtv read the xmltv file instead of using zap2it which it is still doing? rkshack |
Author: | Girkers [ Wed Aug 29, 2007 9:28 pm ] |
Post subject: | |
Try this: http://mythtv.org/wiki/index.php/Mythfilldatabase You will find what you are looking for there. |
Author: | marc.aronson [ Wed Aug 29, 2007 11:09 pm ] |
Post subject: | Re: xmltv script |
rkshack wrote: I have a program that can download and convert chanel data from yahoo go tv. This way I can get my local channel guide info. How do I make mythtv read the xmltv file instead of using zap2it which it is still doing?
rkshack Interesting. I've signed up for schedules direct, but I'd still be interested in seeing a copy of that script... Marc\ |
Author: | rkshack [ Thu Aug 30, 2007 6:07 am ] |
Post subject: | Re: xmltv script |
marc.aronson wrote: Interesting. I've signed up for schedules direct, but I'd still be interested in seeing a copy of that script...
Marc\ It runs on a windows machine. Should I still post it the links? rkshack |
Author: | marc.aronson [ Thu Aug 30, 2007 7:39 am ] |
Post subject: | |
sure |
Author: | rkshack [ Fri Aug 31, 2007 12:48 pm ] |
Post subject: | |
Here is the post where the files are. My thoughts were to use this program to get make the xmltv files. Then transfer them to the mythbox via a mapped drive. Then have myth use the files. I am a newbie so don't know the intricacies involved. What do you think. http://forums.gbpvr.com/showthread.php?t=27546 rkshack Edit: I forgot my link. |
Author: | marc.aronson [ Fri Aug 31, 2007 3:06 pm ] |
Post subject: | |
rshack, I think you forgot to include the link to the files. In terms of getting the data into mythtv, there are a few choices. Depending on the language the script is written in, it might be easy to convert it to run on UNIX, in which case you're all set. If not, I would probably use the following approach: 1. As you suggest, create a SAMBA share on your myth box so that it can be accessed from Windows. I believe that "/myth" is samba shared by default with Knoppmyth. 2. On you windows machine schedule the script to run automatically at, let's say, 1AM. You can do this on windows at start->control_panel->scheduled_task. 3. On your knoppmyth box, schedule a cron job to run at, say, 2AM every day. The cron job would run mythfilldatabase, and load in the data retrieved by the windows machine. If memory servces me correctly, your windows machine will start up automatically to run the scheduled 1AM job, as long as you left the machine either hibernated or suspended. Marc |
Author: | rkshack [ Fri Aug 31, 2007 11:12 pm ] |
Post subject: | |
I added the link. Sorry. rkshack |
Author: | rkshack [ Sat Sep 01, 2007 1:07 pm ] |
Post subject: | |
I was going to post my xmltv file but then I realized I don't know of a way to do it. Is there a way to attach the file please let me know. Here are some snippets: <?xml version="1.0" encoding="utf-8" ?> - <tv source-info-name="Yahoo! Go for TV" generator-info-name="YahooXMLTv"> - <channel id="002"> <display-name>2 WACS</display-name> </channel> - <channel id="003"> <display-name>3 WGIQ</display-name> </channel> - <channel id="004"> <display-name>4 TWC</display-name> </channel> .... - <channel id="227"> <display-name>227 WSFADT3</display-name> </channel> - <channel id="228"> <display-name>228 WSFADT2</display-name> </channel> - <programme start="20070901070000 -0500" stop="20070901120000 -0500" channel="014"> <title>Golden Sunrise: Gold Jewelry Special</title> <episode-num system="dd_progid">SH575584.0000</episode-num> <date>20030506</date> <category>Shopping</category> </programme> - <programme start="20070901090000 -0500" stop="20070901110000 -0500" channel="004"> <title>Weather: Weekend Outlook</title> <desc>Home and garden tips and tricks; forecast for the upcoming week.</desc> <episode-num system="dd_progid">SH619766.0000</episode-num> <date>20031031</date> <category>Series</category> <category>Weather</category> </programme> .... - <programme start="20070903123000 -0500" stop="20070903130000 -0500" channel="018"> <title>SpongeBob SquarePants</title> <sub-title>Texas; Walking Small</sub-title> <desc>Sandy Squirrel is homesick; Plankton tries to get SpongeBob to be mean.</desc> <episode-num system="dd_progid">EP307766.0021</episode-num> <date>20000322</date> - <audio> <stereo>stereo</stereo> </audio> - <rating system="VCHIP"> <value>TV-Y7</value> </rating> <category>Series</category> <category>Children</category> <category>Animated</category> </programme> </tv> Does this look like it wil work? rkshack |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |