Update of /cvsroot/freevo/freevo/src/skins/main
In directory sc8-pr-cvs1:/tmp/cvs-serv19984

Modified Files:
        default_areas.py 
Log Message:
again, better tv show handling

Index: default_areas.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/skins/main/default_areas.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** default_areas.py    4 Jan 2004 18:18:16 -0000       1.2
--- default_areas.py    4 Jan 2004 18:25:17 -0000       1.3
***************
*** 12,15 ****
--- 12,18 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.3  2004/01/04 18:25:17  dischi
+ # again, better tv show handling
+ #
  # Revision 1.2  2004/01/04 18:18:16  dischi
  # exclude raw images by shorten the tv show name
***************
*** 106,112 ****
                  text = ''
              elif content.type == 'short item':
!                 if menu.selected.image and menu.selected.type == 'video' and \
!                    hasattr(menu.selected, 'tv_show') and menu.selected.tv_show and \
!                    not menu.selected.image.endswith('.raw'):
                      sn = menu.selected.show_name
                      text = sn[1] + "x" + sn[2] + " - " + sn[3] 
--- 109,119 ----
                  text = ''
              elif content.type == 'short item':
!                 if menu.selected.type == 'video' and \
!                        hasattr(menu.selected, 'tv_show') and \
!                        menu.selected.tv_show and \
!                        ((menu.selected.image and not \
!                          menu.selected.image.endswith('.raw')) or \
!                         (menu.selected.parent and \
!                          menu.selected.parent.name == menu.selected.show_name[0])):
                      sn = menu.selected.show_name
                      text = sn[1] + "x" + sn[2] + " - " + sn[3] 




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to