Author |
Message |
chrisj
|
Posted: Tue Aug 01, 2006 3:14 am |
|
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location:
Australia
|
I've just about finished a new xmltv grabber for AU.
Its been running fine for me for the last week.
I have just started to clean up the code and add some doc's to it .
I was thinking if there was anything else I need to add .
Being still in very much in devolepmont I think its a good time to ask .
at the moment I've covered .
channel id display-name region-name icon
programme start/stop title sub-title desc category previously-shown subtitles type rating system rating
I'm collecting the data from yahoo at the moment and working on a standby using D1.
I have been working with a mode of collecting data (details) and storing them local ,
then comparing them against the program list to see if any have been updated .
This seems to save a lot of time.
It also has the option of having a xmltv data collective that can be pooled.
|
|
Top |
|
 |
Darin
|
Posted: Fri Aug 11, 2006 6:08 am |
|
Joined: Wed Aug 09, 2006 5:53 am
Posts: 1
|
This is the one thing about mythtv I just can't get my head around, I was so disappointed when I learnt tv_grab_au no longer worked  Just one thing when its all ready and if you do a knoppmyth "how to" please try and make it easy as you can for us mythtv noobs lol. Look forward to its finality. Cheers...Darin  Thanks for your work on this!
|
|
Top |
|
 |
nigelpearson
|
Posted: Sun Aug 13, 2006 6:06 am |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
Darin, what do you mean 'tv_grab_au no longer worked' ?
The one that comes with KnoppMyth still works. I just tested it.
If you have upgraded to the ninemsn grabber ( http://www.immir.com/tv_grab_au) for the descriptions, then try the TiVo community-based grabber instead (tv_grab_au_reg).
_________________ | Nigel Pearson, nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club
|
|
Top |
|
 |
Greg Frost
|
Posted: Sun Aug 13, 2006 6:22 am |
|
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location:
Adelaide, Australia
|
I'm using the rex grabber that was posted to one of the mythtv mailing lists and it works great. I especially like the fact that it gets the actors for movies which I dont recall the immir grabber doing.
|
|
Top |
|
 |
jbman
|
Posted: Sun Aug 13, 2006 10:28 pm |
|
|
something great to have in the info would be if its a repeat or not
|
|
Top |
|
 |
chrisj
|
Posted: Sun Aug 13, 2006 10:59 pm |
|
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location:
Australia
|
I have started a page on the knoppmythwiki with EPG graber options. I'll try to cover what options we have and how to use them, including how to set them all up and switch between for testing and evl.
I'll try to finish it tonight , but anyone else can jump in and add if they like it
http://knoppmythwiki.org/index.php?page=tv_grab_au
|
|
Top |
|
 |
Dennis L
|
Posted: Fri Aug 18, 2006 7:33 pm |
|
Joined: Sun Feb 01, 2004 8:56 pm
Posts: 6
|
Hi There,
I decided to try the new rex tv guide grabber and have an issue that hopefully someone can comment on.
The steps taken to install and configure rex were:
1. Download and link as /usr/bin/tv_grab_au
2. In Mythtv-setup, delete existing video sources and add new video source
3. At the right point Alt-tab to xterm and answer configuration prompts
4. Save config and download guide
5. Go to input connnections and connect new source, also select "fetch channel from guide"
6. Exit mythtv-setup and run mythfilldatabase
What I ended up with was "Channel-names (number)" starting with "Channel 0 (0)" through to "Channel 69 (69)" with no tv guide detail.
I'm not sure what I've done wrong here. Any advice or comments will be welcome.
Best regards
Dennis
-------"Optus Digital.xmltv"-------------------------------
$opt = {
'configfile' => '/home/mythtv/.mythtv/Optus Digital.xmltv',
'payregionid' => 192,
'days' => 1,
'TZ' => '+1000',
'regionid' => '94'
};
$channels = {
'UKTV' => 'y',
'EXPO' => 'y',
'TV1' => 'y',
'National Geographic' => 'y',
'TV1+2' => 'y',
'BBC World' => 'y',
'VH1' => 'y',
'Discovery Channel' => 'y',
'The LifeStyle Channel' => 'y',
'FOX Classics+2' => 'y',
'FOX8+2' => 'y',
'MTV' => 'y',
'Seven' => 'y',
'World Movies' => 'y',
'ABC' => 'y',
'UKTV+2' => 'y',
'Disney Channel' => 'y',
'FOX Classics' => 'y',
'TCM' => 'y',
'Movie One' => 'y',
'Movie Extra' => 'y',
'Movie Two' => 'y',
'FOX Sports 1' => 'y',
'FOX8' => 'y',
'FOX News' => 'y',
'Sky News' => 'y',
'CNN' => 'y',
'FOX Footy VIC/ACT' => 'y',
'FOX Sports 2' => 'y',
'SBS' => 'y',
'Cartoon Network' => 'y',
'Nine' => 'y',
'TEN' => 'y',
'Movie Greats' => 'y'
};
|
|
Top |
|
 |
nigelpearson
|
Posted: Fri Aug 18, 2006 7:57 pm |
|
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location:
Sydney, Australia
|
Dennis, I think you have to setup the XMLTVIDs.
When mythfilldatabase runs the grabber, it goes through the generated file and matches the XML IDs in there with the IDs in the channel table of your database. If they don't match, then a new channel will be created for each one in the grabbed file.
I am not familiar with the IDs that the _rex grabber generates, but when you find them out, you will have to run mythtv-setup, go into the channel editor, and set them in the tuned channels. And while you are there, delete the new channel 0-69 that were created when mythfilldatabase ran.
BTW, do you really have access to all of those channels? (i.e. are you on cable?) If not, then you may want to set some of those to 'n' in the grabber config file.
_________________ | Nigel Pearson, nigel.pearson.au@gmail.com| "Things you own end up owning you" - Tyler, Fight Club
|
|
Top |
|
 |
Dennis L
|
Posted: Sat Aug 19, 2006 10:29 pm |
|
Joined: Sun Feb 01, 2004 8:56 pm
Posts: 6
|
Hi Nigel,
Thanks for the suggestions. (BTW, yes the stations are a subset of Foxtel Digital delivered through Optus cable)
I remember that I had to run
% mythfilldatabase --update --manual
to set the database up, and when I did this I got the most unusual behaviour. I was presented with 20 or so requests to set up ABC.
After some investigation it seems there is a bug either in the config-file generation or in the run-time where the xmltvids are incorrect.
The config file is above and following is an excerpt of the XML data /home/mythtv/.rex/guide.xml
Hopefully chrisj will see this this and respond.
Best regards
Dennis
---------------------------------------------
/home/mythtv/.rex/guide.xml
---------------------------------------------
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv source-info-url="http://www.yourtv.com.au" source-info-name="Datasource Name" generator-info-name="XMLTV - Rex v1.2.1">
<channel id="y">
<display-name lang="en">ABC</display-name>
</channel>
<channel id="y">
<display-name lang="en">BBC World</display-name>
</channel>
<channel id="y">
<display-name lang="en">CNN</display-name>
</channel>
<channel id="y">
<display-name lang="en">Cartoon Network</display-name>
</channel>
:
:
:
<channel id="y">
<display-name lang="en">World Movies</display-name>
</channel>
<programme start="20060820203000 +1000" stop="20060820203500 +1000" channel="y">
<title lang="en">TV1's Cash Trivia Challenge</title>
<desc lang="en">Australia's first interactive television game show, hosted by the King of Quiz, Tony Barber.</desc>
<category lang="en">Game Show</category>
<rating system="CTVA">
<value>G</value>
</rating>
</programme>
<programme start="20060820210000 +1000" stop="20060820213000 +1000" channel="y">
<title lang="en">Seinfeld</title>
<sub-title lang="en">The Revenge</sub-title>
<desc lang="en">George plans to get revenge on his boss after being fired. Closed Captions.</desc>
<credits>
<actor>Jason Alexander</actor>
<actor>Michael Richards</actor>
<actor>Jerry Seinfeld</actor>
<actor>Julia Louis-Dreyfus</actor>
</credits>
<category lang="en">Sitcom</category>
<rating system="CTVA">
<value>PG</value>
</rating>
</programme>
:
:
:
|
|
Top |
|
 |
chrisj
|
Posted: Sat Aug 19, 2006 11:36 pm |
|
Joined: Tue Jan 17, 2006 7:34 am
Posts: 126
Location:
Australia
|
The graber will need to have a channel id so that the xmltv output can be read my mythfilldatabase with the correct channel info (xmltv id in channel setup in mythtv),
you have two options ,
1) redun the tv_grab_au when prompted enter the channel id information you use in mythtv
example
Code: Channels: "ABC"? abc.free.au
2) edit you config file Code: $channels = { 'UKTV' => 'uktv.optus.au', 'EXPO' => 'expo.optus.au', 'TV1' => 'tv1.optus.au', 'National Geographic' => 'nat.optus.au',
I use rex and some time iceTV so I use the channel id system that ice dose , this way I can swap at anytime with out changing the mythtv setup
|
|
Top |
|
 |
craigcurtin
|
Posted: Sun Oct 22, 2006 2:37 am |
|
Joined: Wed Oct 18, 2006 5:02 am
Posts: 2
|
Guys,
This seems like great work and obviously a fair bit of work has gone into it.
Can i suggest you have a look at the OZTIVO stuff (i have had a couple of TIVOs for a couple of years) and have been active over there. It would be really good to have more guys from (this side of the fence) actually start feeding in some info into the program database and then have everyone grab there data out of it - it has been setup as a complete community based system so the more people who contribute and improve the data the better it is for everyone.
How you get your data and then feed it into the system is your own business i.e. grab some from elsewhere and then feed it in with scripts etc
The mods over at OZTIVO are very open to suggestions for extensions/additional information to add to the schema of the database if it does not meet all your needs
Craig 
|
|
Top |
|
 |