SageTV Community  

Go Back   SageTV Community > SageTV International User Forums > SageTV Netherlands

Notices

SageTV Netherlands SageTV and SageTV Recorder Users from The Netherlands - This forum is for you to post about specific issues using SageTV software in The Netherlands.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-04-2005, 10:49 AM
cromag cromag is offline
Sage User
 
Join Date: Sep 2005
Posts: 6
hoe werk ik met xmltv

lo guys,

saw that the new xmltv has a belgian grabber to, but its very unclear how xmltv works and how i get it to work with sage etc.... any assistance for a noob ?

i just unzipped it, but the exe doesnt do much it seems, cant find any good tutorials either
Reply With Quote
  #2  
Old 09-04-2005, 12:00 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
There should be a doc directory from xmltv, one of which should be the docs for tv_grab_be

In general, XMLTV goes like this:
first run:
xmltv tv_grab_be --configure
This prompts to do a whole load of configuration for you to get your channels
Then whenever you want data run
xmltv tv_grab_be --days n --output epgdata.xml to get the number of days' data...

Put epgdata.xml in the SageTV directory and configure the XMLTV plugin (I use this one, but demideus' is a well documented one ) to import the data.

Two issues with tv_grab_be...

By default it only grabs summary (program name/start/stop/category) info...
This is because to get more detailed info (description, episode name, director, actors) it needs to download a webpage for each program which takes forever. You can configure it to get details only for programs on certain channels/time-ranges/categories to limit the time range... To enable this run with --slow in both configure time and grab time... Configuration in --slow mode is VERY complex (sorry!) but you only have to do it once!

The other issue is that data for dutch language channels is limited in french mode, and data for french channels is limited in dutch mode... Detail for other language channels is limited in both modes.

To workaround this, I run several grabbers, each with different config files (--config-file option) generating dfferent output files
tv_grab_be with one config file in french mode for belgian-french channels
tv_grab_be with a different config file in dutch mode for dutch-speaking channels
tv_grab_fr for the french-french channels
tv_grab_uk_rt for bbc1/bbc2

I also have a dummy xml file to include placeholder channels that I want named, but do not have XMLTV data for (eg CNN/CNBC/TVBrussel, etc)

I then combine all the output files + the dummy file using the tv_sort utilty, post process it a little to remove clumped programmes from uk_rt data (see wiki xmltv link), and pass it to Sage for importing...

All of this is run from a single batch file, set up as a tri-weekly scheduled task in Windows, so that I get epgdata.xml files generated regularly.

Also see xmltv links in wiki which contains links to howtos...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 09-04-2005 at 12:09 PM.
Reply With Quote
  #3  
Old 09-04-2005, 12:30 PM
cromag cromag is offline
Sage User
 
Join Date: Sep 2005
Posts: 6
were do you run that command? when i double click the exe, a dos prompt window opens but closes a second later
Reply With Quote
  #4  
Old 09-04-2005, 01:39 PM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
on the command line... xmltv is a command line app:

run a dos prompt: start->run cmd.exe
cd to the xmltv directory
xmltv.exe tv_grab_be (etc)

you might find the README in the top level directory of the unpacked zipfile useful, and the Quickstart guide in the docs directory... as well as the manual pages for each grabber/tool in the docs/man directory

another tip: xmltv does not like being in a directory path with spaces, so better to put it in c:\xmltv rather than c:\Program Files\xmltv
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki

Last edited by nielm; 09-04-2005 at 01:51 PM.
Reply With Quote
  #5  
Old 09-05-2005, 09:24 AM
1972's Avatar
1972 1972 is offline
Sage Advanced User
 
Join Date: Jul 2004
Location: Tilburg, The Netherlands
Posts: 152
Quote:
Originally Posted by cromag
were do you run that command? when i double click the exe, a dos prompt window opens but closes a second later
Just make with a texteditor a textfile with the extension .bat (instead of .txt) with the commands in it Nielm mentioned. You can run the .bat file by double clicking on it.

Succes!
__________________
My persional PVR: Intel Celeron-D 2.66 GHz, 512 MB, Hauppauge PVR350 (incl. remote control), XFX-5200, 2x160 GB HD, WinXP MCE 2005 (ex-SageTV user)
Reply With Quote
  #6  
Old 09-07-2005, 07:03 AM
jhh jhh is offline
Sage Advanced User
 
Join Date: Nov 2003
Location: BE
Posts: 196
Hi,

not sure if we need to mention tvtv here - thought that in release 3.0 there was a first step to accomodate us European users.

While getting EPG data through xlmtv related stuff is a bit intimidating at first it is quite possible to do if you follow the guide.

I haven't tested it yet but there are some reports on [tvtv] it from the 3.0 beta test.

Jan
Reply With Quote
  #7  
Old 09-07-2005, 09:40 AM
cromag cromag is offline
Sage User
 
Join Date: Sep 2005
Posts: 6
just installed the new beta version but it doesnt seem like any EPG for Belgium yet
Reply With Quote
  #8  
Old 09-07-2005, 11:09 AM
KrisAcker KrisAcker is offline
Sage User
 
Join Date: Jan 2005
Location: Belgium
Posts: 36
I found this grabber for Belgian xmltv data easier to set up:

http://forums.freytechnologies.com/f...ad.php?t=11473

It also includes lots of details like episode names and descriptions at an amazing speed.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:37 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.