The script should in fact download the xmltv file, rename it to
kazer.xmltv (because your control file is called kazer) and place it
into the epgsource directory. 

You can also use a simple bash script that uses the wget command to
download the xmltv file. 

You have to end the bash script with 
exit 0 
This way, the xmltv2vdr plugin knows that the executable has done its
job and it starts importing the data from the kazer.xmltv file. 

You don't need a cron job to download the data; that's the job of the
executable/script. 

Finally, if you want to do it the way it was intended by the developers
of the xmltv2vdr plugin, you should also rename the channel ids in the
xmltv file to something more consistent. For example, you could rename 
FRA2.kazer.org
into 
france2.fr
and use france2.fr in the control file. 

This way, if you find a different source with the xmltv data for your
channels, you can use both sources, as long as they both use france2.fr
as channel id in the xmltv data. The is important in the case you get
the data from different xmltv sources, because you will not be able to
map the France 2 channel to more than one id from the xmltv sources. 

Here you can find the channel ids that have already been defined;
unfortunately, the french channels are still missing:
http://vdr-wiki.de/wiki/index.php/Xmltv2vdr-plugin#Verbindliche_EPG-Senderliste

Good luck. 


On Fri, 15 Jan 2016 14:45:42 +0100
"Chris R." <conduis...@gmail.com> wrote:

> Hello and many thanks for your help (it's hard to find for VDR)
> 
> 1/ according to the wiki of VDR i've create a control file that i"ve
> named "kazer" (see joined file) and put in /epgsources
> 
> 2/ i've downloaded from kazer.org a .xml file which provide my EPG
> data for France that i've named "kazer.xmltv" and put the file
> in /epgsources
> 
> 3/ from the OSD under kodi i mapped the channel_id of kazer with the
> channel of VDR : now i could see the file "setup.conf" of VDR have
> been update with the mapped channel (see joined file)
> 
> 4/ now the log of openelec tells :
> 
> Jan 15 13:44:00 OpenELEC vdr[318]: [9170] xmltv2vdr: 'kazer' ERROR
> (script) sh: kazer: not found
> Jan 15 13:44:00 OpenELEC vdr[318]: [9170] xmltv2vdr: 'kazer' ERROR
> epgsource returned 127
> 
> i do understand the error is about the executable which i put in
> usr/bin ? is right ?
> but how create this executable ? what i have to put in this file ? the
> executable is the cron task i would to create to downlod from kazer ?
> is there an standard executable file that i can copy ?
> i missed something...
> 
> Many thanks again for your help...
> 
> 2016-01-14 14:16 GMT+01:00 Ludi <ludi...@hotmail.com>:
> 
> > On Wed, 13 Jan 2016 18:57:04 +0100
> > Lars Hanisch <d...@flensrocker.de> wrote:
> >
> > > Hi,
> > >
> > > Am 11.01.2016 um 17:21 schrieb Chris R.:
> > > > Hello
> > > >
> > > > i have got a rpi2 + dvb-t tuner that run under openelec 6 and
> > > > VDR for the TV. This system work well and i would now import
> > > > external EPG data...
> > > >
> > > > i read several thread about xmltv2vdr and it isn't so clear for
> > > > me :
> > > >
> > > > - i was thinking of download xmltv file from internet (kazer.org
> > > > <http://kazer.org> for france) with a cron task
> > > >
> > > > - and use xmltv2vdr to import the downloaded file into VDR
> > > >
> > > > Is it possible to do like this ?
> > >
> > >  It should be. Have a look at
> > >
> > >
> > https://projects.vdr-developer.org/git/vdr-plugin-xmltv2vdr.git/tree/dist/epgdata2xmltv
> > >
> > >  It's an add on for the xmltv2vdr plugin, which downloads data
> > > from epgdata.com, transform the xml files into the xmltv format
> > > and pipes it into the plugin. In the plugin you define at which
> > > time of day new data should be downloaded, so you don't have to
> > > use an external cron job. You have to modify the source according
> > > to you epg-source and adjust the mapping to the channels.
> > >
> > >  Or you can use the "file" import, but I don't have any experience
> > > with that. If the README doesn't help, you must read the source...
> > >
> > > Lars.
> >
> > Hi,
> >
> > epgdata2xmltv is not going to help the original poster very much,
> > because it only contains few french channels and the fact, that he
> > is interested in kazer.org indicates that he is mainly looking for
> > EPG of french channels.
> >
> > It would be great if xmltv2vdr could also provide a grabber for
> > kazer.org...
> >
> > @Chris
> >
> > In the meantime, you might try to create it by yourself: You need a
> > control file, that tells the xmltv2vdr plugin what channels to
> > import.
> >
> > Then you need an executable in /usr/bin with the same name as the
> > control file that downloads the data. In fact, xmltv2vdr calls that
> > excutable to download the data when it wants to import it. (The
> > executable should also transform the names in the kazer.org file to
> > a standard, but you can skip that step and work with the channel id
> > in the kazer.org file.)
> >
> > Once xmltv2vdr imports the data, you have to do another step: by
> > using the OSD of VDR, you have to tell the xmltv2vdr plugin in its
> > settings which channel-id from the kazer.org file corresponds to
> > what channel on the VDR.
> >
> > You can find more information here:
> > https://www.linuxtv.org/vdrwiki/index.php/Xmltv2vdr-plugin
> >
> > Cheers
> >
> > _______________________________________________
> > vdr mailing list
> > vdr@linuxtv.org
> > http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> >


_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to