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

Modified Files:
        playlist.py 
Log Message:
Convert MSDOS filenames to unix slashes

Index: playlist.py
===================================================================
RCS file: /cvsroot/freevo/freevo/src/playlist.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** playlist.py 24 Feb 2003 04:21:40 -0000      1.10
--- playlist.py 26 Feb 2003 03:56:24 -0000      1.11
***************
*** 10,13 ****
--- 10,16 ----
  # -----------------------------------------------------------------------
  # $Log$
+ # Revision 1.11  2003/02/26 03:56:24  krister
+ # Convert MSDOS filenames to unix slashes
+ #
  # Revision 1.10  2003/02/24 04:21:40  krister
  # Mathieu Weber's bugfix for multipart movies
***************
*** 124,127 ****
--- 127,131 ----
          (curdir, playlistname) = os.path.split(plsname)
          for line in playlist_lines:
+             line = line.replace('\\', '/') # Fix MSDOS slashes
              if util.match_suffix(line, config.SUFFIX_AUDIO_FILES):
                  self.playlist += [ AudioItem(os.path.join(curdir, line), self) ]
***************
*** 130,134 ****
              
  
- 
      def read_pls(self, plsname):
          """
--- 134,137 ----
***************
*** 156,159 ****
--- 159,163 ----
          (curdir, playlistname) = os.path.split(plsname)
          for line in playlist_lines:
+             line = line.replace('\\', '/') # Fix MSDOS slashes
              if util.match_suffix(line, config.SUFFIX_AUDIO_FILES):
                  self.playlist += [ AudioItem(os.path.join(curdir, line), self) ]




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