Hello list,

I'm rather new to freevo (and the list), but i thought i'd share a 
method that works rather well to get my provider (tvcabo) listings.
Unfortunately the tv_grab_pt grabber isn't working and the maintainer 
site seems to be down, so i can't really say there isn't a new version 
which works.

Anyway here goes, i google around and found reference to TVxb, which is 
widely used on many windows based HTPC solutions. Also found that 
there's a version os TVxb that runs on linux under wine. See 
http://www.tvxb.com/download/TVxb-1.0106-Linux%20distribution.zip

After reading the supplied docs, i downloaded my provider .ini file, 
available at TVxbs site too, and substituted the TVxb.ini file in the 
ini directory. Then i just fired up wine 
/path/to/my/TVxb-install/TVxb.exe. I imported the generated xml file 
sitting on the xml dir and freevo not only didn't complain, but it also 
imported the data (hurray!).

Then, to automate the process, besides running a cronjob (in 
/etc/cron.daily) which is basically

#!/bin/bash
# Wine needs to use X, so we export the DISPLAY to use the current X session
su -c "export DISPLAY=:0 ; wine /path/to/my/TVxb-install/TVxb.exe" freevo

I also made a .gnomerc file on my freevo homedir to allow the retrieve 
of the listings each time i fire up the box. Looks like this:

#!/bin/bash
# We need to allow wine to use the current X session
xhost + localhost
# Wine needs to use X, so we export the DISPLAY to use the current X session
export DISPLAY=:0
wine /path/to/my/TVxb-install/TVxb.exe

After that i just updated the config_local.py file to use the new 
xmltv.xml file.

Hope this helps,

Hugo Monteiro.

-- 
ci.fct.unl.pt:~# cat .signature

Hugo Monteiro
Email    : [EMAIL PROTECTED]
Telefone : +351 212948300 Ext.15307

Centro de Informática
Faculdade de Ciências e Tecnologia da
                   Universidade Nova de Lisboa
Quinta da Torre   2829-516 Caparica   Portugal
Telefone: +351 212948596   Fax: +351 212948548
www.ci.fct.unl.pt             [EMAIL PROTECTED]

ci.fct.unl.pt:~# _


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to