From cf0a360bc6fc93a28a971842d10eef19486e4864 Mon Sep 17 00:00:00 2001 From: bjschuma Date: Tue, 22 Dec 2009 21:56:58 -0500 Subject: [PATCH] Join together several arguments to load (this corrects for songs with spaces in the name) --- src/core/load.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/core/load.py b/src/core/load.py index 6e6d5bb9..8316bc94 100644 --- a/src/core/load.py +++ b/src/core/load.py @@ -37,8 +37,11 @@ def close(): def run(args=None): if args == None: return - - gstreamer.load(args[0]) + if len(args) == 1: + gstreamer.load(args[0]) + else: + join = ' ' + gstreamer.load(join.join(args)) #filename = expandPath(args[0]) #if checkPath(filename) == False: # return