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

Modified Files:
        mplayer.py xine.py 
Log Message:
support for type=url and <playlist> and <player>

Index: mplayer.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/mplayer.py,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** mplayer.py  29 Nov 2003 18:37:30 -0000      1.44
--- mplayer.py  6 Dec 2003 16:25:45 -0000       1.45
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.45  2003/12/06 16:25:45  dischi
+ # support for type=url and <playlist> and <player>
+ #
  # Revision 1.44  2003/11/29 18:37:30  dischi
  # build config.VIDEO_SUFFIX in config on startup
***************
*** 137,140 ****
--- 140,145 ----
                 config.VIDEO_MPLAYER_SUFFIX:
              return 2
+         if item.mode == 'url':
+             return 1
          return 0
      
***************
*** 225,229 ****
  
          # make the options a list
!         mpl = mpl.split(' ') + [ url ] + additional_args.split(' ')
  
          if options:
--- 230,240 ----
  
          # make the options a list
!         mpl = mpl.split(' ') + additional_args.split(' ')
! 
!         if hasattr(item, 'is_playlist') and item.is_playlist:
!             mpl.append('-playlist')
! 
!         # add the file to play
!         mpl.append(url)
  
          if options:
***************
*** 276,280 ****
          for p in self.plugins:
              command = p.play(command, self)
!             
          command=self.vop_append(command)
  
--- 287,291 ----
          for p in self.plugins:
              command = p.play(command, self)
! 
          command=self.vop_append(command)
  

Index: xine.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/video/plugins/xine.py,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** xine.py     30 Nov 2003 19:41:57 -0000      1.27
--- xine.py     6 Dec 2003 16:25:45 -0000       1.28
***************
*** 18,21 ****
--- 18,24 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.28  2003/12/06 16:25:45  dischi
+ # support for type=url and <playlist> and <player>
+ #
  # Revision 1.27  2003/11/30 19:41:57  dischi
  # enhance interlacing, needs xine cvs to work as it should
***************
*** 184,187 ****
--- 187,192 ----
                 config.VIDEO_XINE_SUFFIX:
              return 2
+         if item.mode == 'url':
+             return 1
          return 0
      




-------------------------------------------------------
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