I'm not getting the error message from tv_sort, but it's still not
fixing the entries with no stop date.  Could it be broken?  I haven't
had time to do more than a cursory look at the code at this point.  

Peter 

On Wed, 2003-06-11 at 02:19, Charles wrote:
>  > Configuration: New RH 9 install & Freevo 1.3.1
>  > tv_sort,v 1.21 2003/04/03 07:23:49 
>  > 
>  > When I tv_sort my xml listing per the docs for
>  North
>  > America, I get this error:
>  > 
>  > parameterless "use IO" deprecated at
>  > /usr/lib/perl5/site_perl/5.8.0/XML/Writer.pm line
>  16
>  > Name "Log::TraceMessages::On" used only once:
>  > possible
>  > typo at /usr/bin/tv_sort line 149.
>  > 
>  > Both the original and the sorted files report as
>  > corrupted by freevo.
>  > 
>  > I have only ONE channel setup in the local.conf.py
>  > file
>  > 
>  > I searched the freevo-users for this, did not find
>  a
>  > match.
>  > 
>  > Thanks for an interesting project !
>  > 
>  > Charles
>  > 
>  > __________________________________
>  
>  After some more experimentation, I have some tips on
>  troubleshooting the TV Guide corrupt problem. (This
>  does raise some other issues.)
>   
>  1). Here is a valid TV_CHANNELS entry from my
>  local_conf.py
>  TV_CHANNELS = [('2 KASA','KASA 2','2'),
>                  ('4 KOB', 'KOB 4', '4')]
>  The first entry '2 KASA' is critial and must match
> the
>  entry
>  in the listings_<date>.xml or TV.xml file ! The
>  second
>  'KASA 2' is what you want freevo to display on the
>  grid as the channel name, and of course the last
>  entry
>  is the real channel number to address your tuner
>  card.
>  Don't forget the left and right []'s
>  
>  2). I also edited out all but 2 of the channels in
>  the
>  .xmltv/tv_grab_na.conf file, and here is a portion:
>  
>  # config file: tv_grab_na 2.20030426
>  #
>  # this file is generated by running tv_grab_na
>  --configure
>  # the only change you should make is prefixing
>  'channel:' lines
>  # with a '#' to signal that they should be ignored
>  during the
>  # grab step
>  #
>  retry limit: 2
>  retry delay: 30
>  zip code: 87105
>  provider: 70796 # "Source" - "City" 
>  channel: 2 KASA
>  #channel: 3 QVC
>  channel: 4 KOB
>  #channel: 5 KNME
>  #channel: 6 KWBQ
>  <snip>
>  
>  After working with a download of ONE or TWO
>  channels,
>  and still getting TV Guide corrupt messages, I found
>  if I deleted any program that had a start time but
>  no
>  end time, the Guide was no longer considered
>  corrupt.
>  This program was usually the last program of the
>  day,
>  usually starting at 23:??
>  
>  To manually delete the "offending program", you must
>  delete all lines in TV.xml or listings_<date>.xml
>  file
>  between a program's <programe start... and the
>  </programme> that does not have both a start time
>  and
>  an end time.
>  
>  Here's an example of a single program listing (with
>  a
>  stop time):
>  
>  <programme start="20030610010000 MDT"
>  stop="20030610020000 MDT" channel="2 KASA">
>      <title>KASA Fox 2 News at 9</title>
>      <category>News</category>
>      <subtitles type="teletext" />
>    </programme>
>  
>  Most programs have more lines, news programs tend to
>  have the fewest.
>  
>  I tried using the tv_sort, but this did not prevent
>  the  TV guide corrupt messages and indeed posts an
>  internal error message about a possible typo in
>  tv_sort itself at line 149.
>  
>  I do not know how to fix this in an automated way,
>  but I think it would involve working with the next
> days listings as you approach midnight.
>  
>  I also did some compares/troubleshooting with a Java
>  app called Freeguide, which I loaded on a windows
>  platform with Java 1.4.0. This app also downloads
>  the
>  very same xmltv data and displays it on a grid
>  something like freevo. You could use Freeguide to
>  learn from or even assist in downloading data for
>  freevo !
>  
>  Freeguide does not process the downloaded listings
>  and
>  as you pass midnight, it just opens the next day's
>  xml
>  file and you could at least pinpoint the end time of
>  the current program by using the start time of the
>  next program on the same channel. Admittedly
>  Freeguide
>  does not cross midnight seamlessly, something that
>  freevo probably needs to be able to do.
>  
>  I think the use of a single TV.xml file will not be
>  practical for freevo for a couple of reasons: not
>  knowing the stop time of a program that crosses
>  midnight, and attempting to record a program farther
>  in the future than today.
>  
>  Hope this info is of assistance. 
>  
>  Charles
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
> thread debugger on the planet. Designed with thread debugging features
> you've never dreamed of, try TotalView 6 free at www.etnus.com.
> _______________________________________________
> Freevo-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/freevo-users
-- 
Peter Howell <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Freevo-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to