Commits

Vladimir Kolev  committed 5a3d16f

Applied patch from ioggstream to fix Issue #32 downloading files
containing slash in filenames

  • Participants
  • Parent commits c2849ab

Comments (0)

Files changed (2)

File data/sdefault.png

Old
Old image
New
New image

File gsharkdown.py

 
             filename = "%s - %s.mp3" % (song["ArtistName"].strip("<>:\"/\|?*"),
                                     song["SongName"].strip("<>:\"/\|?*"))
-            
+            filename = filename.replace('/', '-')
             filename = os.path.join(CONFIG['down_path'], filename)
             filename = self.get_overwritten_filename(filename)