Project

General

Profile

XMLTV, Kazer & French categories

Added by Stephane Chauveau almost 11 years ago

SEE THE REPLY POSTS BELOW FOR AN UPDATED SCRIPT THAT CAN PROCESS ANY INPUT LANGUAGE.

The following information are mostly intended for french users of www.kazer.org but the scripts below can probably be adapted to other tv services. I am on Ubuntu/Linux using MythTV as frontend.

I assume in the following that the user has a Kazer account and that the tv_grab_fr_kazer command (from package xmltv-utils) is already configured. If so, running the following command should give you a nice XML file.

tv_grab_fr_kazer > tv.xml

Some XBMC themes such as Confluence can colorize the tv programs according to their categories but unfortunately that does not work well with Kazer because the categories are given in French instead of
using the names defined in ETSI standard EN 300 468.

Ideally, it should be possible to configure tvheaded to access other strings but this is not yet implemented (see the array _epg_genre_names in epg.c) so I made a quick and dirty perl script to translate the categories.

The first step is to create an executable script /usr/local/bin/tv_grab_fr_kazer_2 containing:

#!/bin/bash
if [ "$1" == "--description" ] ; then 
   echo "France (Kazer2)" 
elif [ "$#" == 0 ] ; then 
  /usr/bin/tv_grab_fr_kazer | /usr/local/bin/category-filter.pl
else
  /usr/bin/tv_grab_fr_kazer "$@" 
fi
The conditions for that script to be recognized as a grabber by xmltv are
  1. it must be executable and located in one of the $PATH directories used when running tvheadend
  2. its name must start by tv_grab_

XMTLV and Tvheadend shall now be aware of an new grabber named "France (Kazer2)" which can be checked from the command line by running the command tv_find_grabbers

$ tv_find_grabbers
/usr/local/bin/tv_grab_fr_kazer_2|France (Kazer2)
/usr/bin/tv_grab_ch_search|Switzerland (tv.search.ch)
/usr/bin/tv_grab_es_laguiatv|Spain (laguiatv.com)
/usr/bin/tv_grab_huro|Hungary/Romania
...

The file /usr/local/bin/category-filter.pl is given below. It is a perl script that reads an xml file from standard input, translates the categories and emits the result to standard output.

#!/usr/bin/perl -w

#
# The categories recognized by tvheadend (see epg.c) 
#  

my $MOVIE             =    "Movie / Drama";
my $THRILLER          =    "Detective / Thriller";
my $ADVENTURE         =    "Adventure / Western / War";
my $SF                =    "Science fiction / Fantasy / Horror";
my $COMEDY            =    "Comedy";
my $SOAP              =    "Soap / Melodrama / Folkloric";
my $ROMANCE           =    "Romance";
my $HISTORICAL        =    "Serious / Classical / Religious / Historical movie / Drama";
my $XXX               =    "Adult movie / Drama";

my $NEWS              =    "News / Current affairs";
my $WEATHER           =    "News / Weather report";
my $NEWS_MAGAZINE     =    "News magazine";
my $DOCUMENTARY       =    "Documentary";
my $DEBATE            =    "Discussion / Interview / Debate";
my $INTERVIEW         =    $DEBATE ;

my $SHOW              =    "Show / Game show";
my $GAME              =    "Game show / Quiz / Contest";
my $VARIETY           =    "Variety show";
my $TALKSHOW          =    "Talk show";

my $SPORT             =    "Sports";
my $SPORT_SPECIAL     =    "Special events (Olympic Games; World Cup; etc.)";
my $SPORT_MAGAZINE    =    "Sports magazines";
my $FOOTBALL          =    "Football / Soccer";
my $TENNIS            =    "Tennis / Squash";
my $SPORT_TEAM        =    "Team sports (excluding football)";
my $ATHLETICS         =    "Athletics";
my $SPORT_MOTOR       =    "Motor sport";
my $SPORT_WATER       =    "Water sport";

my $KIDS              =    "Children's / Youth programmes";
my $KIDS_0_5          =    "Pre-school children's programmes";
my $KIDS_6_14         =    "Entertainment programmes for 6 to 14";
my $KIDS_10_16        =    "Entertainment programmes for 10 to 16";
my $EDUCATIONAL       =    "Informational / Educational / School programmes";
my $CARTOON           =    "Cartoons / Puppets";

my $MUSIC             =    "Music / Ballet / Dance";
my $ROCK_POP          =    "Rock / Pop";
my $CLASSICAL         =    "Serious music / Classical music";
my $FOLK              =    "Folk / Traditional music";
my $JAZZ              =    "Jazz";
my $OPERA             =    "Musical / Opera";

my $CULTURE           =    "Arts / Culture (without music)";
my $PERFORMING        =    "Performing arts";
my $FINE_ARTS         =    "Fine arts";
my $RELIGION          =    "Religion";
my $POPULAR_ART       =    "Popular culture / Traditional arts";
my $LITERATURE        =    "Literature";
my $FILM              =    "Film / Cinema";
my $EXPERIMENTAL_FILM =    "Experimental film / Video";
my $BROADCASTING      =    "Broadcasting / Press";

my $SOCIAL            =    "Social / Political issues / Economics";
my $MAGAZINE          =    "Magazines / Reports / Documentary";
my $ECONOMIC          =    "Economics / Social advisory";
my $VIP               =    "Remarkable people";

my $SCIENCE           =    "Education / Science / Factual topics";
my $NATURE            =    "Nature / Animals / Environment";
my $TECHNOLOGY        =    "Technology / Natural sciences";
my $DIOLOGY           =    $TECHNOLOGY
my $MEDECINE          =    "Medicine / Physiology / Psychology";
my $FOREIGN           =    "Foreign countries / Expeditions";
my $SPIRITUAL         =    "Social / Spiritual sciences";
my $FURTHER_EDUCATION =    "Further education";
my $LANGUAGES         =    "Languages";

my $HOBBIES           =    "Leisure hobbies";
my $TRAVEL            =    "Tourism / Travel";
my $HANDICRAF         =    "Handicraft";
my $MOTORING          =    "Motoring";
my $FITNESS           =    "Fitness and health";
my $COOKING           =    "Cooking";
my $SHOPPING          =    "Advertisement / Shopping";
my $GARDENING         =    "Gardening";

#
# This is the 
#
#
#

my %REPLACE=(
    "Météo"              => $WEATHER ,
    "Film"               => $MOVIE ,
    "Théâtre"            => $PERFORMING,
    "Ballet"             => $OPERA ,
    "Clips"              => $MUSIC ,
    "Concert"            => $MUSIC ,
    "Court métrage"      => $EXPERIMENTAL_FILM,
    "Débat"              => $SOCIAL ,
    "Dessin animé"       => $CARTOON ,
    "Divertissement"     => $VARIETY ,
    "Documentaire"       => $DOCUMENTARY ,
    "Drame"              => $SOAP ,
    "Émission"           => 0,
    "Feuilleton"         => $SOAP ,
    "Fin"                => 0,
    "Fin des programmes" => 0 ,
    "Interview"          => $INTERVIEW ,
    "Jeu"                => $GAME ,
    "Jeunesse"           => $KIDS ,
    "Journal"            => $NEWS ,
    "Loterie"            => 0 ,
    "Magazine"           => $MAGAZINE ,
    "Opéra"              => $OPERA ,
    "Série"              => $MOVIE  ,
    "Spectacle"          => $PERFORMING ,
    "Sport"              => $SPORT ,
    "Talk show"          => $TALKSHOW ,
#    "Téléfilm"           => $MOVIE ,
    "Télé-réalité"       => $VARIETY ,
    "Téléréalité"        => $VARIETY ,
    "Tiercé"             => $SPORT ,
    "Variétés"           => $VARIETY ,
 ) ; 

my $PRE  = '<category lang=\"fr\">' ;
my $POST = '</category>'  ;

sub myfilter {
  my ($a) = @_;
  if ( exists $REPLACE{$a} ) {     
      return $REPLACE{$a} ;
  } else {
      print STDERR "Warning: Unmanaged category: '$a'\n" ;
      return $a ;
  }
}

while (<>) {
    my $line = $_ ;
    $line =~ s/($PRE)(.*)($POST)/"$1".myfilter("$2")."$3"/ge ;
    print $line;
} 

Assuming that you have generated a kazer xml file as indicated below, you can try the script manually as follow:

   /usr/local/bin/category-filter.pl < tv.xml > new.xml  

The resulting file new.xml should contain categories followind the ETSI standard EN 300 468.

Categories that were not recognized, if any, are printed on standard error.

The variables such as $MOVIE and $THRILLER are the EN 300 468 categories. They should not be modified.

The array %REPLACE can be modified. It provides the translations from the french categories to the EN 300 468 categories. Use 0 for categories that you do not care about. Be aware that tvheadend (or is that XBMC) does not manage sub-categories well. In practice, that mean that all categories from the same group will have the same color in XBMC.

The variables $PRE and $POST specify the regular expression used to perform the replacement. They may have to be modified if you want to adapt the script to another service than Kazer.

For information, the categories in Kazer xml files look like that

 <category lang="fr">Magazine</category>

Using regular expressions to perform the replacements is uggly but simple. In the future, I may write a longer version using a proper XML parser and advanced features such as selecting the category according to multiple criterias (title, duration, channel, ... )


Replies (85)

RE: XMLTV, Kazer & French categories - Added by Stephane Chauveau almost 9 years ago

the attached version does not add any new features but should be able to process multiple <category> tags per line.

This is currently not needed but one day, Kazer way very well decide to reduce the size of their XML by removing unnecessary line breaks.

RE: XMLTV, Kazer & French categories - Added by Juan García over 8 years ago

If anyone are interested, I create a bash script to process the categories caught from the plus.es site for the Astra 19.2 and Movistar+.

This is util to have the categories in tvheadend.

#!/bin/bash
MOVIE=$"Movie/Drama"
THRILLER=$"Detective/Thriller"
ADVENTURE=$"Adventure/Western/War"
SF=$"Sciencefiction/Fantasy/Horror"
COMEDY=$"Comedy"
SOAP=$"Soap/Melodrama/Folkloric"
ROMANCE=$"Romance"
HISTORICAL=$"Serious/Classical/Religious/Historicalmovie/Drama"
XXX=$"Adultmovie/Drama"

NEWS=$"News/Currentaffairs"
WEATHER=$"News/Weatherreport"
NEWS_MAGAZINE=$"Newsmagazine"
DOCUMENTARY=$"Documentary"
DEBATE=$"Discussion/Interview/Debate"
INTERVIEW=$DEBATE;

SHOW=$"Show/Gameshow"
GAME=$"Gameshow/Quiz/Contest"
VARIETY=$"Varietyshow"
TALKSHOW=$"Talkshow"

SPORT=$"Sports"
SPORT_SPECIAL=$"Specialevents(OlympicGames;WorldCup;etc.)"
SPORT_MAGAZINE=$"Sportsmagazines"
FOOTBALL=$"Football/Soccer"
TENNIS=$"Tennis/Squash"
SPORT_TEAM=$"Teamsports(excludingfootball)"
ATHLETICS=$"Athletics"
SPORT_MOTOR=$"Motorsport"
SPORT_WATER=$"Watersport"

KIDS=$"Children's/Youthprogrammes"
KIDS_0_5=$"Pre-schoolchildren'sprogrammes"
KIDS_6_14=$"Entertainmentprogrammesfor6to14"
KIDS_10_16=$"Entertainmentprogrammesfor10to16"
EDUCATIONAL=$"Informational/Educational/Schoolprogrammes"
CARTOON=$"Cartoons/Puppets"

MUSIC=$"Music/Ballet/Dance"
ROCK_POP=$"Rock/Pop"
CLASSICAL=$"Seriousmusic/Classicalmusic"
FOLK=$"Folk/Traditionalmusic"
JAZZ=$"Jazz"
OPERA=$"Musical/Opera"

CULTURE=$"Arts/Culture(withoutmusic)"
PERFORMING=$"Performingarts"
FINE_ARTS=$"Finearts"
RELIGION=$"Religion"
POPULAR_ART=$"Popularculture/Traditionalarts"
LITERATURE=$"Literature"
FILM=$"Film/Cinema"
EXPERIMENTAL_FILM=$"Experimentalfilm/Video"
BROADCASTING=$"Broadcasting/Press"

SOCIAL=$"Social/Politicalissues/Economics"
MAGAZINE=$"Magazines/Reports/Documentary"
ECONOMIC=$"Economics/Socialadvisory"
VIP=$"Remarkablepeople"

SCIENCE=$"Education/Science/Factualtopics"
NATURE=$"Nature/Animals/Environment"
TECHNOLOGY=$"Technology/Naturalsciences"
DIOLOGY=$TECHNOLOGY
MEDECINE=$"Medicine/Physiology/Psychology"
FOREIGN=$"Foreigncountries/Expeditions"
SPIRITUAL=$"Social/Spiritualsciences"
FURTHER_EDUCATION=$"Furthereducation"
LANGUAGES=$"Languages"

HOBBIES=$"Leisurehobbies"
TRAVEL=$"Tourism/Travel"
HANDICRAF=$"Handicraft"
MOTORING=$"Motoring"
FITNESS=$"Fitnessandhealth"
COOKING=$"Cooking"
SHOPPING=$"Advertisement/Shopping"
GARDENING=$"Gardening"

declare -A ARRAY
ARRAY["Actualidad"]=$MAGAZINE
ARRAY["Automovilismo"]=$SPORT_MOTOR
ARRAY["Ciencia ficción"]=$SF
ARRAY["Ciencia y tecnología"]=$TECHNOLOGY
ARRAY["Cine"]=$MOVIE
ARRAY["Cocina"]=$COOKING
ARRAY["Concursos"]=$GAME
ARRAY["Corazón"]=$VIP
ARRAY["Cortometraje"]=$EXPERIMENTAL_FILM
ARRAY["Cultura"]=$CULTURE
ARRAY["Cultural/Educativo"]=$EDUCATIONAL
ARRAY["Curso educativo"]=$FURTHER_EDUCATION
ARRAY["Debates"]=$DEBATE
ARRAY["Deportes"]=$SPORT
ARRAY["Divulgativo"]=$MAGAZINE
ARRAY["Docu-Drama"]=$DOCUMENTARY
ARRAY["Documental"]=$DOCUMENTARY
ARRAY["Documental Actualidad"]=$DOCUMENTARY
ARRAY["Documental Antropológico"]=$DOCUMENTARY
ARRAY["Documental Arte y Espectáculos"]=$FINE_ARTS
ARRAY["Documental Ciencia y tecnología"]=$SCIENCE
ARRAY["Documentales"]=$DOCUMENTARY
ARRAY["Documental Historia"]=$DOCUMENTARY
ARRAY["Documental Naturaleza y Animales"]=$NATURE
ARRAY["Documental Viaje"]=$FOREIGN
ARRAY["Drama"]=$SOAP
ARRAY["El Tiempo"]=$WEATHER
ARRAY["Entretenimiento"]=$SHOW
ARRAY["Entrevistas"]=$INTERVIEW
ARRAY["Humor"]=$SHOW
ARRAY["Infantil"]=$KIDS
ARRAY["Información"]=$NEWS
ARRAY["Literatura"]=$LITERATURE
ARRAY["Magacín"]=$MAGAZINE
ARRAY["Moda"]=$MAGAZINE
ARRAY["Música"]=$MUSIC
ARRAY["Noticias"]=$NEWS
ARRAY["Ocio y Aficiones"]=$HOBBIES
ARRAY["Otros"]=$VARIETY
ARRAY["Pesca"]=$SPORT_WATER
ARRAY["Policíacas"]=$THRILLER
ARRAY["Política"]=$THRILLER
ARRAY["RealityShow"]=$SHOW
ARRAY["Religiosos"]=$RELIGION
ARRAY["Reportaje Actualidad"]=$SOCIAL
ARRAY["Reportajes"]=$SOCIAL
ARRAY["Saludybelleza"]=$MEDECINE
ARRAY["Series"]=$FILM
#ARRAY["Sinclasificar"]=$
ARRAY["Telefilme"]=$FILM
ARRAY["Telenovela"]=$FILM
ARRAY["Televisión"]=$VARIETY
ARRAY["Toros"]=$SPORT
ARRAY["Viajes"]=$TRAVEL

#echo "${ARRAY["Viajes"]}"

REGEX_PRE=$'<category[^>]*>'
REGEX_POST=$'</category>'

for K in "${!ARRAY[@]}"; do
#echo $K --- ${ARRAY[$K]}
REGEX=$REGEX_PRE$K$REGEX_POST
SUSTI='<category lang="en">'${ARRAY[$K]}'</category>'
#echo $REGEX
#echo $SUSTI
sed -r -i "s|$REGEX|$SUSTI|" $1
done

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

I have an issue with Kazer grabber after the upgrade to synology DSM 6.0
1) unzip command does no more exist in DSM 6. I had to use 7z
2) After this script modification all seems ok. When I launch the grabber (script) manually there is no apparant issue. I receive the xml content to output as expected.
3) The grabber in TvHeadEnd configuration template is green. It seems to be correctly found by tvheadend.
4) Sadly there is no EPG update, why ? How can I debug this.

Note : In Synology DSM 6.0 the grabber (script) is replicated in /bin even if the copy is on /usr/bin. So we find twice the grabber in configuration Template, but only one is activated /usr/bin as it was on DSM 5.0

For info I strictly used this tutorial to install the grabber and it worked just fine till the upgrade to DSM 6.0
http://www.inrepublica.fr/blog/2013/06/11/un-vrai-guide-des-programmes-avec-tvheadend-tnt-fr/

Could someone help ?

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

Hi Renato,

i had problems with kazer and dsm 6 too, After numerous searches and trial, I modified a script which works with the categories. it works with http://xmltv.dtdns.net/alacarte/. just create a account and pick your channels.

modify your account name at line 15 and put this script into usr/bin and restart tvheadend.

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

cool Thierry,
Many thanks for your answer.
I will implement your solution and see.

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

Yes Thierry, -> it works just as expected.
Many thanks for the answer.

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

Your welcome :)

i'm currently working to make categories more accurate, i'll post result when it will be finished.

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

this one works with Kazer, replace xxxxxxxxx by your user hash.

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

Nice to know.
It works with xml file but not with the zip one, strange.
Anyway many thanks for your efforts.
For the time being I will stay to alacare and see the reliability in the long run.

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

As promised, this one works with the subcategories, like "comédie" "thriller", etc..instead of "movie/drama".

I also corrected the grab so that it appears as tv_grab_alacarte.

RE: XMLTV, Kazer & French categories - Added by james Bond about 8 years ago

many thanks for this : better guide that Kazer and categories :)
However I have some questions :

I have placed the script in /usr/bin
chmod 755
restarted Tvheadend

When Tvheadend restarts I can clearly see the script working (at least during 10 mins) using "htop".
But when I go to "configuration/EPG Grabber Modules" inside html interface I don't see tv_grab_alacarte :(

Do you have any idea?

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

1) Have you subscribed to alacarte ?
2) Have you changed in the script the YORNAME.xml by your login name of alacarte acount (case sensitive).
3) In Tvheadend Under config/EPG modules, is the internal grabber "Alacarte" activated and in green

If all this is ok, I do not see
Try to restart all the server/NAS, not only tvheadend. It seems restarting only tvheadend is not enough, at least on my NAS.

RE: XMLTV, Kazer & French categories - Added by james Bond about 8 years ago

1) Have you subscribed to alacarte ?
yes

2) Have you changed in the script the YORNAME.xml by your login name of alacarte acount (case sensitive).
yes

3) In Tvheadend Under config/EPG modules, is the internal grabber "Alacarte" activated and in green

That is the problem : I don't see "Alacarte"

I did already tried to restart Tvheadend, reboot : same result.
The script runs, I can see /tmp/grab.txt is generated
But no "Alacarte" EPG module inside the interface.

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

james hook,
In fact I discovered that I used the previous version of the script.
The last one seems to have an issue. It hangs somewhere and display some "sed" errors.

So in the wait time, use the tv_grab_kazer frome the Thierry previous message and rename it to tv_grab_alacarte.

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

hi,

i will check the last script this evening, maybee i've upload a bad one.

RE: XMLTV, Kazer & French categories - Added by james Bond about 8 years ago

@Renato @thierry
thanks both for this ultra fast answer ;-)

I was starting to become mad trying to get the script to work :D

RE: XMLTV, Kazer & French categories - Added by james Bond about 8 years ago

mhhh... I have just tried the "old" script and checked it manualy

pi@TVServer:~ $ sudo su
root@TVServer:/home/pi# service tvheadend stop
root@TVServer:/home/pi# su - hts
hts@TVServer:~$ tv_find_grabbers
/usr/bin/tv_grab_combiner|Combine data from several other grabbers
/usr/bin/tv_grab_za|South Africa
/usr/bin/tv_grab_fr_kazer|France (Kazer)
/usr/bin/tv_grab_fr|France
/usr/bin/tv_grab_na_dtv|North America using www.directv.com
/usr/bin/tv_grab_huro|Hungary/Romania
/usr/bin/tv_grab_eu_egon|German speaking area (Egon zappt)
/usr/bin/tv_grab_is|Iceland
/usr/bin/tv_grab_uk_rt|United Kingdom/Republic of Ireland (Radio Times)
/usr/bin/tv_grab_it|Italy
/usr/bin/tv_grab_ch_search|Switzerland (tv.search.ch)
/usr/bin/tv_grab_na_dd|North America (Data Direct)
/usr/bin/tv_grab_no_gfeed|Norway (beta)
/usr/bin/tv_grab_in|India (Whats On)
/usr/bin/tv_grab_fi|Finland (mtv3.fi, telkku.com, telvis.fi, tv.nyt.fi, yle.fi)
/usr/bin/tv_grab_dk_dr|TV Oversigten fra Danmarks Radios
/usr/bin/tv_grab_il|Israel (tv.walla.co.il)
/usr/bin/tv_grab_hr|Croatia
/usr/bin/tv_grab_se_swedb|Sweden (tv.swedb.se)
/usr/bin/tv_grab_ar|Argentina
/usr/bin/tv_grab_uk_bleb|United Kingdom (bleb.org)
/usr/bin/tv_grab_es_laguiatv|Spain (laguiatv.com)
/usr/bin/tv_grab_eu_epgdata|Parts of Europe (commercial) (www.epgdata.com)
/usr/bin/tv_grab_se_tvzon|Sweden (TVZon)
Timeout from: /usr/bin/tv_grab_fr_alacarte --capabilities 2>/dev/null
/usr/bin/tv_grab_pt_meo|Portugal (MEO)
hts@TVServer:~$

...and sill no "Alacarte" in grabber modules :(

I can however run the script manualy and it seems to load xlm but it is very slow.

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

Yes, It seems Alacarte is a lot slower than Kazer. Nevertheless, it works fine and have more than 15 days lefet instaed of only 10 on Kazer.

I am not on pi and I do not find "tv_find_grabber", so I am not able to reproduce your issue.

Nevertheless, the "--capabilities" option is not implemented on this script. There is only --version & --description options. It also was the case on Kazer script.

I suppose that it is not so complicated to implement it if necessary.
You can simply copy and paste the "--description" part and rename "--description" in "--capabilities"

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

the old one as bad "echo", that's why it did'nt appears as alacarte.

i think the script is slow because of the number of sed to deal, it takes 10mn on my old ds112j but only 3 on my qnap hs251.

RE: XMLTV, Kazer & French categories - Added by james Bond about 8 years ago

Maybe should I clarify my config ;-)
-Raspberry Pi3
-Raspbian OS (Debian jessie) updated to latest version
-Tvheadend compiled from sources onto my RPI3 : HTS Tvheadend 4.1-2236~g817f67e

I think I did get xmltv with a apt-get install xmltv, I can't remember.

I am very very new to Linux world and I am just able to copy/paste commands grabbed on the Web :D

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

welcome into the club! i'm also very noob into Linux ;)

These scripts are planned to work with a Synology Nas, maybe is for that why they don't work with your PI3.

I go to see if I find a trick so that it works under Linux.

RE: XMLTV, Kazer & French categories - Added by james Bond about 8 years ago

I have found an other thread that talk about the same, but the guy seems to do it an other way.

Maybe could you take a look? : http://www.dkoq.fr/post3268.html

Also http://wiki.xmltv.org/index.php/HowtoUseGrabbers, "tv_find_grabbers" is a standard fonction from xmltv, and all other grabbers as you can see in my previous post are detected correctly.

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

ok, i will take a look wednesday, my ubuntu laptop is at my workplace.

RE: XMLTV, Kazer & French categories - Added by thierry castelot about 8 years ago

i assume that perl is already installed into your pi3 and have the same path as ubuntu.

move the two tv_grab into usr/bin and category into usr/local/bin, make them executable and restart tvh, you should be able to pick tv_grab_fr_alacarte_2.

RE: XMLTV, Kazer & French categories - Added by Renato Moscardini about 8 years ago

Hello Thierry,
Does it work with synology NAS as well ?
I suppose with pearl filter it increase the speed of proceccing.

Note : Yes, much faster :)

(26-50/85)