Update of /cvsroot/freevo/freevo/src/video
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16813/src/video

Modified Files:
        videoitem.py 
Log Message:
dvd as .iso support

Index: videoitem.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/videoitem.py,v
retrieving revision 1.132
retrieving revision 1.133
diff -C2 -d -r1.132 -r1.133
*** videoitem.py        21 Mar 2004 18:20:38 -0000      1.132
--- videoitem.py        2 May 2004 08:55:52 -0000       1.133
***************
*** 11,14 ****
--- 11,17 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.133  2004/05/02 08:55:52  dischi
+ # dvd as .iso support
+ #
  # Revision 1.132  2004/03/21 18:20:38  mikeruelle
  # needed by encoding server
***************
*** 222,227 ****
--- 225,238 ----
                      self.name = util.getname(self.filename)
                  self.files.append(self.filename)
+             elif self.url.rfind('.iso') + 4 == self.url.rfind('/'):
+                 # iso
+                 self.filename = self.url[5:self.url.rfind('/')]
              else:
                  self.filename = ''
+                 
+         elif url.endswith('.iso') and self.info['mime'] == 'video/dvd':
+             self.mimetype = 'dvd'
+             self.mode     = 'dvd'
+             self.url      = 'dvd' + self.url[4:] + '/'
              
          if not self.image or (self.parent and self.image == self.parent.image):
***************
*** 230,234 ****
                 self.image = image
                 self.files.image = image
! 
          
      def id(self):
--- 241,245 ----
                 self.image = image
                 self.files.image = image
!                
          
      def id(self):
***************
*** 501,504 ****
--- 512,519 ----
              return
  
+         print 'XXX'
+         print self.media
+         print self.url
+         print self.filename
          # normal plackback of one file
          if self.url.startswith('file://'):
***************
*** 529,532 ****
--- 544,548 ----
                  return
  
+         print self.media
          if self.player_rating < 10:
              AlertBox(text=_('No player for this item found')).show()



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Freevo-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to