Index: channels/file.py ================================================================== --- channels/file.py +++ channels/file.py @@ -116,11 +116,11 @@ # Read user-dirs config def fvars(self, fn="$HOME/.config/user-dirs.dirs"): fn = os.path.expandvars(fn) src = open(fn, "r").read() if os.path.exists(fn) else "" - env = re.findall('^(\w+)=[\"\']?(.+?)[\"\']', src, re.M) + env = re.findall('^(\w+)=[\"\']?(.+?)[\"\']?', src, re.M) # pyxdg: Your move. return dict(env) # don't load cache file cache = lambda *x: None Index: config.py ================================================================== --- config.py +++ config.py @@ -145,11 +145,11 @@ # look at system binaries for standard audio players def find_player(self, typ="audio", default="xdg-open"): players = { - "audio": ["audacious %g", "audacious2", "exaile %p", "xmms2", "banshee", "amarok %g", "clementine", "qmmp", "quodlibet", "aqualung", "mp3blaster %g", "vlc --one-instance %srv", "totem"], + "audio": ["audacious %m3u", "audacious2", "exaile %pls", "xmms2", "banshee", "amarok %pls", "clementine", "qmmp", "quodlibet", "aqualung", "mp3blaster %m3u", "vlc --one-instance", "totem"], "video": ["parole", "umplayer", "xnoise", "gxine", "totem", "vlc --one-instance", "smplayer", "gnome-media-player", "xine", "bangarang"], "browser": ["opera", "midori", "sensible-browser"], "xterm": ["xfce4-terminal", "x-termina-emulator", "gnome-terminal", "xterm", "rxvt"], } for bin in players[typ]: