Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Mythtvnz

New XMLTV processor - xmltv-proc-nz

 

 

First page Previous page 1 2 Next page Last page  View All MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded


hads at nice

Nov 17, 2009, 8:52 PM

Post #1 of 34 (3893 views)
Permalink
New XMLTV processor - xmltv-proc-nz

Hello.

I've just knocked up a little processor script called xmltv-proc-nz;

http://www.nice.net.nz/xmltv-proc-nz

Basically it does what epgsnoop does but without depending on epgsnoop
i.e. you can use it with any XMLTV file;

cat freeview-web.xml | xmltv-proc-nz > better-data.xml

or;

xmltv-proc-nz freeview-web.xml > better-data.xml

I'm planning to use it with the freeview-web.xml.gz file which is hosted
on epg.pvr.geek.nz to augment the data.

Currently it does subtitle replacements and the normalisation from;

http://epg.pvr.geek.nz/title-replacements/

but I plan on adding more to that as well as moving the category data
from epgsnoop to a web service as the above.

Interested in any feedback or thoughts. Also if anyone is currently
using the freeview-web file?

hads


--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 17, 2009, 10:05 PM

Post #2 of 34 (3847 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Wed, 2009-11-18 at 17:52 +1300, Hadley Rich wrote:
> Currently it does subtitle replacements and the normalisation from;
>
> http://epg.pvr.geek.nz/title-replacements/
>
> but I plan on adding more to that as well as moving the category data
> from epgsnoop to a web service as the above.

Which is now done.

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 18, 2009, 4:28 PM

Post #3 of 34 (3827 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Wed, 2009-11-18 at 17:52 +1300, Hadley Rich wrote:
> Currently it does subtitle replacements and the normalisation from;
>
> http://epg.pvr.geek.nz/title-replacements/
>
> but I plan on adding more to that as well as moving the category data
> from epgsnoop to a web service as the above.

I've just uploaded a new version with a new processor which augments any
movies found with data from themoviedb. Currently it gets ratings,
credits (director, actors and roles), runtime, release date and url.

I've also added a new listings file;

http://epg.pvr.geek.nz/epg/freeview.xml.gz

which is converted from the Freeview XML listings and processed with
xmltv-proc-nz.

This is probably the best Freeview data available now and I'll look at
using this for the listings-all file going forward.

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


stevehodge at gmail

Nov 18, 2009, 5:18 PM

Post #4 of 34 (3825 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, Nov 19, 2009 at 1:28 PM, Hadley Rich <hads [at] nice> wrote:

> On Wed, 2009-11-18 at 17:52 +1300, Hadley Rich wrote:
> > Currently it does subtitle replacements and the normalisation from;
> >
> > http://epg.pvr.geek.nz/title-replacements/
> >
> > but I plan on adding more to that as well as moving the category data
> > from epgsnoop to a web service as the above.
>
> I've just uploaded a new version with a new processor which augments any
> movies found with data from themoviedb. Currently it gets ratings,
> credits (director, actors and roles), runtime, release date and url.
>
> I've also added a new listings file;
>
> http://epg.pvr.geek.nz/epg/freeview.xml.gz
>
> which is converted from the Freeview XML listings and processed with
> xmltv-proc-nz.
>
> This is probably the best Freeview data available now and I'll look at
> using this for the listings-all file going forward.
>

Is it worth doing something similar with TV shows? I know there is not
enough info to get the actual episode details, but I think I read somewhere
that some of the .22 themes can use art downloaded for videos in the Watch
Recording screen. Presumably it just needs the tvdb id to be attached to the
show?

Cheers,
Steve


hads at nice

Nov 18, 2009, 5:31 PM

Post #5 of 34 (3822 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 14:18 +1300, Steve Hodge wrote:
> Is it worth doing something similar with TV shows? I know there is not
> enough info to get the actual episode details, but I think I read
> somewhere that some of the .22 themes can use art downloaded for
> videos in the Watch Recording screen. Presumably it just needs the
> tvdb id to be attached to the show?

I'm going to look into using thetvdb as a source for a post-processor
too. I've not looked at it yet as their sites been down for a few days.

You don't actually need an id for the watch recordings screen to get
fanart etc. though. Jamu (a cooler version of the old metadata scripts
we wrote ages ago) will do it automatically just by show title.

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

Nov 18, 2009, 5:42 PM

Post #6 of 34 (3832 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, Nov 19, 2009 at 2:31 PM, Hadley Rich <hads [at] nice> wrote:
> On Thu, 2009-11-19 at 14:18 +1300, Steve Hodge wrote:
>> Is it worth doing something similar with TV shows? I know there is not
>> enough info to get the actual episode details, but I think I read
>> somewhere that some of the .22 themes can use art downloaded for
>> videos in the Watch Recording screen. Presumably it just needs the
>> tvdb id to be attached to the show?
>
> I'm going to look into using thetvdb as a source for a post-processor
> too. I've not looked at it yet as their sites been down for a few days.
>
> You don't actually need an id for the watch recordings screen to get
> fanart etc. though. Jamu (a cooler version of the old metadata scripts
> we wrote ages ago) will do it automatically just by show title.
>
> hads

I am confused aboiut how this fits in with tv_grab_nz-py (which I use)

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


mythtv at somepointinthefuture

Nov 18, 2009, 5:50 PM

Post #7 of 34 (3830 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, Nov 19, 2009 at 2:42 PM, Nick Rout <nick.rout [at] gmail> wrote:

> I am confused aboiut how this fits in with tv_grab_nz-py (which I use)
>
>
Whew, I am glad its not just me who was wondering that.


hads at nice

Nov 18, 2009, 5:54 PM

Post #8 of 34 (3826 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 14:42 +1300, Nick Rout wrote:
> I am confused aboiut how this fits in with tv_grab_nz-py (which I use)

That's probably because it doesn't fit in really :)

0.22[1] lets you have fanart as the background in the "Watch Recordings"
screen. To get that you need to use something like Jamu[2] (which is
also used to grab data for mythvideo). Jamu will find and download
images from either thetvdb or themoviedb based on their title.

[1]Though only some themes show it, mythbuntu does, which is what I
currently use.
[2]http://www.mythtv.org/wiki/Jamu

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 18, 2009, 5:58 PM

Post #9 of 34 (3824 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 14:42 +1300, Nick Rout wrote:
> I am confused aboiut how this fits in with tv_grab_nz-py (which I use)

Oh, if you were talking about xmltv-proc-nz then...

I'm using it when I create epg. It does post-processing like epgsnoop
does, but that's all it does, it works on an XMLTV file as input rather
than being built in to epgsnoop.

e.g. 'cat listings.xml | xmltv-proc-nz > better-listings.xml

You don't need to use it yourself if you are grabbing data from
epg.pvr.geek.nz as that data will be processed by xmltv-proc-nz for you
already (though currently I'm only testing it on a separate file).

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


stevehodge at gmail

Nov 18, 2009, 6:23 PM

Post #10 of 34 (3805 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, Nov 19, 2009 at 2:31 PM, Hadley Rich <hads [at] nice> wrote:

> On Thu, 2009-11-19 at 14:18 +1300, Steve Hodge wrote:
> > Is it worth doing something similar with TV shows? I know there is not
> > enough info to get the actual episode details, but I think I read
> > somewhere that some of the .22 themes can use art downloaded for
> > videos in the Watch Recording screen. Presumably it just needs the
> > tvdb id to be attached to the show?
>
> I'm going to look into using thetvdb as a source for a post-processor
> too. I've not looked at it yet as their sites been down for a few days.
>
> You don't actually need an id for the watch recordings screen to get
> fanart etc. though. Jamu (a cooler version of the old metadata scripts
> we wrote ages ago) will do it automatically just by show title.
>

So the frontend looks for images based on the program name? How does it
handle different programs with the same name (e.g. the 1978 version of BSG
vs the recent version)?

Cheers,
Steve


hads at nice

Nov 18, 2009, 6:29 PM

Post #11 of 34 (3807 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 15:23 +1300, Steve Hodge wrote:
> So the frontend looks for images based on the program name? How does
> it handle different programs with the same name (e.g. the 1978 version
> of BSG vs the recent version)?

It's Jamu that does it rather than the frontend and it has overrides
like that in it's config file.

I noticed that it kept wanting to use the US version of 'Life on Mars'
until I found that it had that as an override in the shipped config
file. I'm guessing the author is from the US.

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


stevehodge at gmail

Nov 18, 2009, 6:42 PM

Post #12 of 34 (3803 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, Nov 19, 2009 at 3:29 PM, Hadley Rich <hads [at] nice> wrote:

> On Thu, 2009-11-19 at 15:23 +1300, Steve Hodge wrote:
> > So the frontend looks for images based on the program name? How does
> > it handle different programs with the same name (e.g. the 1978 version
> > of BSG vs the recent version)?
>
> It's Jamu that does it rather than the frontend and it has overrides
> like that in it's config file.
>

I had a look at the source. The frontend searches by program name, season
number, and episode number (with the last two parts optional). If it can't
find an image that way it tries a file of the form
'series_id[_(fanart|banner|coverart)].(png|jpg|gif)'. So Jamu is just saving
the images in the right place with the right names - there's no database
link as there is in the case of videos. So yeah, nothing needed in the xml
file.

Interesting difference in approach between MythFE and MythVideo.

Cheers,
Steve


nick.rout at gmail

Nov 18, 2009, 7:04 PM

Post #13 of 34 (3812 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, Nov 19, 2009 at 2:58 PM, Hadley Rich <hads [at] nice> wrote:
> On Thu, 2009-11-19 at 14:42 +1300, Nick Rout wrote:
>> I am confused aboiut how this fits in with tv_grab_nz-py (which I use)
>
> Oh, if you were talking about xmltv-proc-nz then...

Sorry yes I was

>
> I'm using it when I create epg. It does post-processing like epgsnoop
> does, but that's all it does, it works on an XMLTV file as input rather
> than being built in to epgsnoop.
>
> e.g. 'cat listings.xml | xmltv-proc-nz > better-listings.xml
>
> You don't need to use it yourself if you are grabbing data from
> epg.pvr.geek.nz as that data will be processed by xmltv-proc-nz for you
> already (though currently I'm only testing it on a separate file).
>

Thanks. Keep up the good work.

PS any news on those zotac ion computers yet?

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 18, 2009, 7:14 PM

Post #14 of 34 (3803 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 16:04 +1300, Nick Rout wrote:
> PS any news on those zotac ion computers yet?

Unfortunately not yet, still haven't managed to find usable shipping :(

If you buy by the box load then the International couriers (DHL, UPS,
etc.) get to charge you ~$400 for shipping a box. If you want to use sea
freight then you need to buy more, and a pallet of little Ion computers
is a *lot* :)

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


steven at openmedia

Nov 18, 2009, 8:27 PM

Post #15 of 34 (3806 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Wed, November 18, 2009 5:52 pm, Hadley Rich wrote:
> Hello.
>
> I've just knocked up a little processor script called xmltv-proc-nz;
>
> http://www.nice.net.nz/xmltv-proc-nz
>
> Basically it does what epgsnoop does but without depending on epgsnoop
> i.e. you can use it with any XMLTV file;
>
> cat freeview-web.xml | xmltv-proc-nz > better-data.xml

cat dth.pre | ./xmltv-proc-nz > dth.post

Movies: TMDB module not found.
Traceback (most recent call last):
File "./xmltv-proc-nz", line 280, in <module>
subtitle(program)
File "./xmltv-proc-nz", line 160, in __call__
matched = regex.match(desc.text)
TypeError: expected string or buffer

and I get an empty output file. This is on a vanilla Mythbuntu 9.10 install

Steve

--------------------------------------------
Steven Ellis - Technical Director
OpenMedia Limited - The Home of myPVR
email - steven [at] openmedia
website - http://www.openmedia.co.nz

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


tortise at paradise

Nov 18, 2009, 8:41 PM

Post #16 of 34 (3800 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

----- Original Message -----
From: "Hadley Rich" <hads [at] nice>
To: "MythTV in NZ" <mythtvnz [at] lists>
Sent: Thursday, November 19, 2009 2:54 PM
Subject: Re: [mythtvnz] New XMLTV processor - xmltv-proc-nz


> On Thu, 2009-11-19 at 14:42 +1300, Nick Rout wrote:
>> I am confused aboiut how this fits in with tv_grab_nz-py (which I use)
>
> That's probably because it doesn't fit in really :)
>
> 0.22[1] lets you have fanart as the background in the "Watch Recordings"
> screen. To get that you need to use something like Jamu[2] (which is
> also used to grab data for mythvideo). Jamu will find and download
> images from either thetvdb or themoviedb based on their title.
>
> [1]Though only some themes show it, mythbuntu does, which is what I
> currently use.
> [2]http://www.mythtv.org/wiki/Jamu
> _______________________________________________

Is it solely to produce background images based on video content that make the "Watch Recordings" text harder to read (by virtue of
an inconsistent background such as the semi recent mythbuntu did well) - or does it have other useful functions as well?


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 19, 2009, 1:11 AM

Post #17 of 34 (3798 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 17:27 +1300, Steven Ellis wrote:
> Movies: TMDB module not found.

That just means that you won't get themoviedb processor, if you want to
use it you can get the module from here;

http://github.com/dbr/themoviedb/raw/master/tmdb.py

Sorry, I forgot to mention that :)

> Traceback (most recent call last):
> File "./xmltv-proc-nz", line 280, in <module>
> subtitle(program)
> File "./xmltv-proc-nz", line 160, in __call__
> matched = regex.match(desc.text)
> TypeError: expected string or buffer

That's quite possibly a bug but I'm not sure what version you grabbed as
I've been updating it today and the line number doesn't match up to my
latest. It may have been fixed so grab it again and let me know, if it's
not send me the data and I'll take a look.

Cheers,

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 19, 2009, 1:51 AM

Post #18 of 34 (3785 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 22:11 +1300, Hadley Rich wrote:
> That's quite possibly a bug but I'm not sure what version you grabbed
> as I've been updating it today and the line number doesn't match up to
> my latest.

Oh. It's just my local version that's different. If you could send the
data file I'll see what the story is.

Cheers,

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 19, 2009, 1:24 PM

Post #19 of 34 (3766 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Thu, 2009-11-19 at 17:27 +1300, Steven Ellis wrote:
> Movies: TMDB module not found.
> Traceback (most recent call last):
> File "./xmltv-proc-nz", line 280, in <module>
> subtitle(program)
> File "./xmltv-proc-nz", line 160, in __call__
> matched = regex.match(desc.text)
> TypeError: expected string or buffer

I found the problem without needing your data. It now handles data with
a <desc> tag which is empty.

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 21, 2009, 1:48 PM

Post #20 of 34 (3636 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Wed, 2009-11-18 at 17:52 +1300, Hadley Rich wrote:
> Hello.
>
> I've just knocked up a little processor script called xmltv-proc-nz;
>
> http://www.nice.net.nz/xmltv-proc-nz

I've created a new listings file called all.xml.gz which is a
combination of listings-sky.xml.gz and freeview.xml.gz (which itself is
processed from the freeview website).

I'm using all.xml.gz myself now and have switched from the sky.co.nz
XMLTVIDs to the freeviewnz.tv ones.

I will likely move to symbolic linking listings-all.xml.gz to all.xml.gz
in the near future as long as it works well for the next little while.

I've uploaded a new version of xmltv-proc-nz with a few new features;

* Temporarily cache TMDB lookups to be nicer to their servers.
* Check and notify for updates to the script itself.
* Don't add duplicate tags.
* Replace description text for movies matched at TMDB.
* Fix an error with the star-rating tags added.
* Order XMLTV programme tags correctly for validation.

I've also added a little script which I'm using to replace tv_cat;

http://www.nice.net.nz/xmltv-join

Reason being that tv_cat has loads of Perl dependencies I didn't have
installed and it seems to be pretty CPU intensive and slow. This script
has no dependencies (except Python) and is many times faster.

hads
--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


lists at whitehouse

Nov 21, 2009, 2:08 PM

Post #21 of 34 (3628 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

Hadley Rich wrote:
> I will likely move to symbolic linking listings-all.xml.gz to all.xml.gz
> in the near future as long as it works well for the next little while.
> I've uploaded a new version of xmltv-proc-nz with a few new features;

Sorry for being dense, Hadley, but I just want to nut out what exactly
this does.

Am I correct that, using listings-all.xml.gz as I do now, in a little
while, my MythTV 0.22 install will magically start having pretty
background images and better descriptions for recordings, because you
are matching them to theTVDB.com? Or am I going to have to start using
your new proc script clientside?

It sounds great -- I love the effect in my "Videos" section and it would
be great to have it in recordings, too!

Regards,

Aaron

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


nick.rout at gmail

Nov 21, 2009, 2:09 PM

Post #22 of 34 (3632 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Sun, Nov 22, 2009 at 10:48 AM, Hadley Rich <hads [at] nice> wrote:
> On Wed, 2009-11-18 at 17:52 +1300, Hadley Rich wrote:
>> Hello.
>>
>> I've just knocked up a little processor script called xmltv-proc-nz;
>>
>> http://www.nice.net.nz/xmltv-proc-nz
>
> I've created a new listings file called all.xml.gz which is a
> combination of listings-sky.xml.gz and freeview.xml.gz (which itself is
> processed from the freeview website).
>
> I'm using all.xml.gz myself now and have switched from the sky.co.nz
> XMLTVIDs to the freeviewnz.tv ones.
>
> I will likely move to symbolic linking listings-all.xml.gz to all.xml.gz
> in the near future as long as it works well for the next little while.
>
> I've uploaded a new version of xmltv-proc-nz with a few new features;
>
> * Temporarily cache TMDB lookups to be nicer to their servers.
> * Check and notify for updates to the script itself.
> * Don't add duplicate tags.
> * Replace description text for movies matched at TMDB.
> * Fix an error with the star-rating tags added.
> * Order XMLTV programme tags correctly for validation.
>
> I've also added a little script which I'm using to replace tv_cat;
>
> http://www.nice.net.nz/xmltv-join
>
> Reason being that tv_cat has loads of Perl dependencies I didn't have
> installed and it seems to be pretty CPU intensive and slow. This script
> has no dependencies (except Python) and is many times faster.

I see (the version I have anyway) tv_grab_nz-py downloads
http://epg.pvr.geek.nz/epg/listings-all.xml.gz . I assume I will get
the benefits of your processor once you do the symlink thing? I assume
I will also have to change my xmltvid's to the freeview.nz ones from
the sky ones I seem to have in the database now.

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 21, 2009, 3:00 PM

Post #23 of 34 (3623 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Sun, 2009-11-22 at 11:09 +1300, Nick Rout wrote:
> I see (the version I have anyway) tv_grab_nz-py downloads
> http://epg.pvr.geek.nz/epg/listings-all.xml.gz . I assume I will get
> the benefits of your processor once you do the symlink thing? I assume
> I will also have to change my xmltvid's to the freeview.nz ones from
> the sky ones I seem to have in the database now.

Yep you've got it. I'll probably switch over the listings-all file in
the next week or two. I'll let the list know when.

The following SQL will do the update for you;

UPDATE channel SET xmltvid = 'tv1.freeviewnz.tv' WHERE xmltvid =
'tv1.sky.co.nz';
UPDATE channel SET xmltvid = 'tv2.freeviewnz.tv' WHERE xmltvid =
'tv2.sky.co.nz';
UPDATE channel SET xmltvid = 'tv3.freeviewnz.tv' WHERE xmltvid =
'tv3.sky.co.nz';
UPDATE channel SET xmltvid = 'c4.freeviewnz.tv' WHERE xmltvid =
'c4.sky.co.nz';
UPDATE channel SET xmltvid = 'prime.freeviewnz.tv' WHERE xmltvid =
'prime.sky.co.nz';

Up until now I've thought that the Sky listings for the main FTA
channels were better so I've used those. With the bit of processing I
think the Freeview listings are better so I'm switching to them. Of
course the Sky listings will still be there.

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


hads at nice

Nov 21, 2009, 3:05 PM

Post #24 of 34 (3623 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

On Sun, 2009-11-22 at 11:08 +1300, Aaron Whitehouse wrote:
> Sorry for being dense, Hadley, but I just want to nut out what exactly
> this does.

Of course, not dense at all.

> Am I correct that, using listings-all.xml.gz as I do now, in a little
> while, my MythTV 0.22 install will magically start having pretty
> background images and better descriptions for recordings, because you
> are matching them to theTVDB.com?

Unfortunately no. The pretty background images are currently done by
Jamu (details on the mythtv.org wiki) and doesn't have anything to do
with listings data really.

> Or am I going to have to start using your new proc script clientside?

I should be clearer with my posts I guess :)

xmltv-proc-nz, xmltv-join, epgsnoop and friends aren't needed for your
average user. I just mention them here for people that may want to
generate/process their own listings or look through the source etc.

For your average user tv_grab_nz-py is all you should need to worry
about.

hads

--
http://nicegear.co.nz
New Zealand's Open Source Hardware Supplier


_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/


lists at whitehouse

Nov 21, 2009, 4:22 PM

Post #25 of 34 (3616 views)
Permalink
Re: New XMLTV processor - xmltv-proc-nz [In reply to]

Hadley Rich wrote:
>> Am I correct that, using listings-all.xml.gz as I do now, in a little
>> while, my MythTV 0.22 install will magically start having pretty
>> background images and better descriptions for recordings, because you
>> are matching them to theTVDB.com?
> Unfortunately no. The pretty background images are currently done by
> Jamu (details on the mythtv.org wiki) and doesn't have anything to do
> with listings data really.

Oh, that's unfortunate. One of my friends uses Freeview Satellite and
pulls the EIT data from there -- he has had background images
automatically appear for some of his more popular shows.

The Jamu wiki page:
http://www.mythtv.org/wiki/Jamu#Scheduled_and_Recorded
makes it sound as though you have to run a cron job to get the images --
any idea why it just worked for him?

Regards,

Aaron

_______________________________________________
mythtvnz mailing list
mythtvnz [at] lists
http://lists.ourshack.com/mailman/listinfo/mythtvnz
Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

First page Previous page 1 2 Next page Last page  View All MythTV mythtvnz RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.