SageTV Community  

Go Back   SageTV Community > SageTV International User Forums > SageTV United Kingdom
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV United Kingdom SageTV and SageTV Recorder Users from the UK - This forum is for you to post about specific issues using SageTV software in the UK.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-02-2004, 06:57 PM
edgley's Avatar
edgley edgley is offline
Sage Aficionado
 
Join Date: Feb 2004
Location: Surbiton, England
Posts: 401
can not generate an xml file

Hi,

I have followed the instructions on the XML threads for muppets.

I must be a bigger one than I thought
My .bat file is:

c:
cd\xmltv
xmltv tv_grab_uk_rt --configure --auto-new-channels add --auto-missing-channels remove

xmltv tv_grab_uk_rt --listings c:\xmltv\TVDatapre.xml --days 9 --listings-overwrite true

xmltv tv_sort --by-channel --output c:\xmltv\epgdata.xml c:\xmltv\TVDatapre.xml

rem copy "c:\xmltv\epgdata.xml" "c:\Program Files\Frey Technologies\SageTV"
exit

I dont have Sage installed on this machine, but do have java.

When I run my .bat file it is not giving me an xml file.
I am presuming that it is my bat file that is up the duff.

thanks!

Simon
Reply With Quote
  #2  
Old 07-03-2004, 01:29 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Most of those command lines are only for the na grabber... Run the commands individually on the command line to see the error messages
Also look at the docs for tv_grab_uk_rt delivered in the xmltv zipfile.
You will want to run:
Code:
 tv_grab_uk_rt --configure
once to set up the channels you want to grab, then at each run:
Code:
  tv_grab_uk_rt --days 7 > listings.xml
  xmltv tv_grep  --not --clumpidx "" -or --clumpidx "0/" listings.xml > listings_noclumps.xml
  xmltv tv_sort listings_noclumps.xml > epgdata.xml
Do this manually the first time, then put it in a batch file when you are happy it is working.

* see the sticky in this forum for the reason for the grep for noclumps.
* See also other posts in this forum for details of the --slow and --get-categories flags with tv_grab_uk_rt for more detailed listings info.
(PS: to get a command line on XP/2000, do start->run cmd.exe)

Last edited by nielm; 07-03-2004 at 02:43 AM.
Reply With Quote
  #3  
Old 07-03-2004, 11:39 AM
edgley's Avatar
edgley edgley is offline
Sage Aficionado
 
Join Date: Feb 2004
Location: Surbiton, England
Posts: 401
Yeah!

Thank you. Now to import it into sage.
Reply With Quote
  #4  
Old 07-13-2004, 06:26 PM
edgley's Avatar
edgley edgley is offline
Sage Aficionado
 
Join Date: Feb 2004
Location: Surbiton, England
Posts: 401
Small hurray.

I have it it working, but

there are no details of the programme if I select one.

Does this mean that I made a type in that long command?

thanks
Reply With Quote
  #5  
Old 07-14-2004, 04:24 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
no not really...

The 'fast' mode for the UK grabber only gets program titles and times.
If you want episode names/descriptions/actors/categories, then you have to use the --slow command line option...

This is REALLY slow, because for each program you have to get another web page with the details of that program (several minutes per channel per day)

There are ways to limit the details: the command line options:
--slow --limit-details 17:00-02:00 --get-categories
will only get details for programs in the specified timeslot.

Setting up 2 config files (with the --config-file option) will allow you to have 2 sets of channels, one for which you only want summary info (which you run without --slow), and the other to run with --slow to get more detailed info.
This will mean that you get 2 XML files that you need to merge with the tv_sort command:
tv_sort file1.xml file2.xml > epgdata.xml

WARNING: if you are using --slow mode, check the sticky post in this forum regarding 'clumps' -- where 2 programs share a timeslot.

I have made loads of other posts in this forum about how to make tv_grab_uk_rt faster... a search should fine them
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
Reply


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

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 06:25 PM.


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