Update of /cvsroot/freevo/freevo/src/video/plugins
In directory sc8-pr-cvs1:/tmp/cvs-serv14015

Modified Files:
        imdb.py 
Log Message:
only show when needed

Index: imdb.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/imdb.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** imdb.py     21 Oct 2003 21:17:42 -0000      1.27
--- imdb.py     1 Dec 2003 20:02:15 -0000       1.28
***************
*** 16,19 ****
--- 16,22 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.28  2003/12/01 20:02:15  dischi
+ # only show when needed
+ #
  # Revision 1.27  2003/10/21 21:17:42  gsbarbieri
  # Some more i18n improvements.
***************
*** 110,114 ****
      def actions(self, item):
          self.item = item
!         if item.type == 'video'  and not hasattr(item, 'fxd_file'):
              if item.mode == 'file':
                  self.disc_set = False
--- 113,119 ----
      def actions(self, item):
          self.item = item
! 
!         if item.type == 'video' and (item.xml_file.endswith('folder.fxd') or \
!                                      not item.xml_file):
              if item.mode == 'file':
                  self.disc_set = False
***************
*** 122,125 ****
--- 127,131 ----
                      return [ ( self.imdb_search , _('Search IMDB for [%s]') % s,
                                 'imdb_search_or_cover_search') ]
+ 
          if item.type == 'dir' and item.media and item.media.mountdir.find(item.dir) 
== 0:
              self.disc_set = True




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to