[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone4-368-g700ab82

Michael 'Mickey' Lauer mickey at vanille-media.de
Mon Feb 2 18:51:36 UTC 2009


The following commit has been merged in the master branch:
commit 001f5426d59580a55c14c2a9b988ddcf5d2a0346
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Tue Dec 16 14:02:17 2008 +0100

    odeviced: audio: try harder to escape spaces in filenames

diff --git a/framework/subsystems/odeviced/audio.py b/framework/subsystems/odeviced/audio.py
index edfef40..9163520 100644
--- a/framework/subsystems/odeviced/audio.py
+++ b/framework/subsystems/odeviced/audio.py
@@ -227,7 +227,7 @@ class GStreamerPlayer( Player ):
                 return error_cb( UnknownFormat( "Can't guess format from extension" ) )
             options = ext.split( ';' )
             ext = options.pop( 0 )
-            file = ".".join( [ base, ext ] )
+            file = ".".join( [ base, ext ] ).replace( ' ', r'\ ' )
             try:
                 decoder = GStreamerPlayer.decoderMap[ ext ]
             except KeyError:

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list