Hi, here is my little contribution, two ini files for Fox TV and Fox Crime TV in Spain. The problem is that sometimes i get some trash in the descriptions and i don't know how to solve it.
Regards :)
Brought to you by Jan van Straaten
Program Development - Jan van Straaten ------- Web design - Francis De Paemeleere
Supported by: servercare.nl
mayankel,
Great to see people creation new siteini's. And I must say, yours worked out of the box (except the problem you stated)
I've merged your 2 .ini's into 1 file (easier to maintain). Because both are about the fox channel. So I've added a .channels.xml file.
I also fixed some minor errors in the .ini and have fixed your problem with the trash in the description.
You can find your contribution at http://webgrabplus.com/sites/default/files/download/ini/info/zip/Spain_f...
Again thanks for your contribution!
Maybe some feedback on the minor fixes:
1)
index_title.scrub {single (separator=": " include=first)|<a class="TitleShowDaily"|<h1>|</h1>|}I removed
because NCIS: Los Ángeles should not be reduced to NCIS.
2)
index_episode.modify {calculate(notnull)|1 -}Here you want to extract 1 form index_episode, only if it contains something. I don't know the exact details (@Jan?), but this does not work as one should think.
So replace it with
index_episode.modify {calculate('index_episode' not="" format=F0)|1 -}3)
removed
index_episode.modify {remove|.00}I think you got for example 0.00.5.00.1/1 for the episode info. And that you then remove the .00 with this line?
if you use
(see 2), then you get directly the correct outup.
On my system ( a comma is used as decimal separator ) the output of the episode looked like:
So your remove of .00 did not work.
4)
added
description.modify {cleanup(tags="<"">")} * remove any html tagsThis is the trick you can use, if you have html tags (with attributes) left in some element. In this case the description. All text between < and > is removed
Regards,
And again THANKS
Ok francis, thanks for your fixes.
The reason because i want to extract one to the season and episode number is to satisfy the xmltv.dtd. Exactly this rules, regarding the episode-num, are really clear:
And then there's an example:
And DVBLink (the software i use for live TV) use this field based on this rule.
Thanks again for your corrections and your help.
Regards :)