Update of /cvsroot/freevo/freevo/src/tv
In directory sc8-pr-cvs1:/tmp/cvs-serv19467

Modified Files:
        epg_xmltv.py epg_types.py 
Log Message:
Added support for the xmltv 'sub-title' tag which sometimes contains the
episode title for TV shows. Its not always there, but if it is, we can use
it, and I'll show it if it's available in the extended menu.


Index: epg_xmltv.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/epg_xmltv.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** epg_xmltv.py        16 Feb 2003 22:21:45 -0000      1.9
--- epg_xmltv.py        27 Feb 2003 02:03:03 -0000      1.10
***************
*** 10,13 ****
--- 10,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.10  2003/02/27 02:03:03  outlyer
+ # Added support for the xmltv 'sub-title' tag which sometimes contains the
+ # episode title for TV shows. Its not always there, but if it is, we can use
+ # it, and I'll show it if it's available in the extended menu.
+ #
  # Revision 1.9  2003/02/16 22:21:45  krister
  # Bugfix for XMLTV data handling during config (tunerid)
***************
*** 277,280 ****
--- 282,287 ----
          if p.has_key('desc'):
              prog.desc = p['desc'][0][0].encode('Latin-1')
+         if p.has_key('sub-title'):
+             prog.sub_title = p['sub-title'][0][0].encode('Latin-1')
          try:
              prog.start = timestr2secs_utc(p['start'])

Index: epg_types.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/tv/epg_types.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** epg_types.py        24 Nov 2002 13:58:45 -0000      1.1
--- epg_types.py        27 Feb 2003 02:03:04 -0000      1.2
***************
*** 11,14 ****
--- 11,19 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.2  2003/02/27 02:03:04  outlyer
+ # Added support for the xmltv 'sub-title' tag which sometimes contains the
+ # episode title for TV shows. Its not always there, but if it is, we can use
+ # it, and I'll show it if it's available in the extended menu.
+ #
  # Revision 1.1  2002/11/24 13:58:45  dischi
  # code cleanup
***************
*** 64,67 ****
--- 69,73 ----
      title = ''
      desc = ''
+     sub_title = ''
      start = 0.0
      stop = 0.0




-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to