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 01-29-2004, 04:40 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
xmltv import and 'clumps'

It seems that the import plugin does not handle 'clumps' of programs very well -- these are when multiple programs share the same timeslot, which happens sometimes with RT grabber, eg:

last night: Film: Thirteenth Floor, followed by Weatherview...

This shows up in the XML output as two programs with the same timeslot but with clumpidx=0/2 and 1/2:
Code:
  <programme start="20040128232500 +0000"
      stop="20040129010500 +0000"
      channel="london.bbc1.bbc.co.uk"
      clumpidx="0/2">
    <title lang="en">The Thirteenth Floor</title>
  </programme>
  <programme start="20040128232500 +0000"
      stop="20040129010500 +0000"
      channel="london.bbc1.bbc.co.uk"
      clumpidx="1/2">
    <title lang="en">Weatherview</title>
  </programme>
The XMLTV importer ignores this clumpidx and over-writes the first program with the second... Which meant I missed File 2004 on Wed, and 13th Floor last night -- they were both described as 'Weatherview!'.

A workaround is to use tv_grep to grep for non-clumped programs, and only the first program in each clump (which is usually the most important):

tv_grep --not --clumpidx "" -or --clumpidx "0/" data.xml > noclumps.xml
Reply With Quote
  #2  
Old 05-27-2004, 03:40 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Any moderators around, would it be possible to make this a 'sticky note' -- thanks!
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #3  
Old 05-05-2006, 03:11 PM
StephaneM's Avatar
StephaneM StephaneM is offline
Sage Icon
 
Join Date: Mar 2006
Location: France
Posts: 1,463
Quote:
Originally Posted by nielm
It seems that the import plugin does not handle 'clumps' of programs very well
Just a quick note, if you use my Import plugin, the whole "tv_grep" thing is not needed. The Importer will correctly handle the "clumps", that is : retrieving the first show in the clump, and adding the other shows in the description of the first one.

Regards,
Stéphane.
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 11:34 AM.


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