View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: xmltv script
PostPosted: Wed Aug 29, 2007 8:53 pm 
Offline
Joined: Sat Oct 29, 2005 6:57 am
Posts: 176
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed Aug 29, 2007 9:28 pm 
Offline
Joined: Tue Mar 22, 2005 9:18 pm
Posts: 1422
Location: Brisbane, Queensland, Australia
Try this:

http://mythtv.org/wiki/index.php/Mythfilldatabase

You will find what you are looking for there.

_________________
Girkers


Top
 Profile  
 
 Post subject: Re: xmltv script
PostPosted: Wed Aug 29, 2007 11:09 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
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\


Top
 Profile  
 
 Post subject: Re: xmltv script
PostPosted: Thu Aug 30, 2007 6:07 am 
Offline
Joined: Sat Oct 29, 2005 6:57 am
Posts: 176
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


Top
 Profile  
 
 Post subject:
PostPosted: Thu Aug 30, 2007 7:39 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
sure


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 12:48 pm 
Offline
Joined: Sat Oct 29, 2005 6:57 am
Posts: 176
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.


Last edited by rkshack on Fri Aug 31, 2007 11:08 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 3:06 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 31, 2007 11:12 pm 
Offline
Joined: Sat Oct 29, 2005 6:57 am
Posts: 176
I added the link.

Sorry.

rkshack


Top
 Profile  
 
 Post subject:
PostPosted: Sat Sep 01, 2007 1:07 pm 
Offline
Joined: Sat Oct 29, 2005 6:57 am
Posts: 176
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


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu