Index: contrib/file.py ================================================================== --- contrib/file.py +++ contrib/file.py @@ -134,18 +134,18 @@ ext = [] # display datamap = [ # coltitle width [ datasrc key, type, renderer, attrs ] [cellrenderer2], ... ["", 20, ["state", str, "pixbuf", {}], ], + ["File", 160, ["filename", str, "t", {"strikethrough":11, "cell-background":12, "cell-background-set":13}], ], ["Genre", 65, ['genre', str, "t", {"editable":9}], ], ["Title", 205, ["title", str, "t", {"editable":9}], ], ["Artist", 160, ["artist", str, "t", {}], ], ["Album", 150, ["album", str, "t", {}], ], ["Length", 50, ["length", str, "t", {}], ], ["Bitrate", 50, ["bitrate", str, "t", {}], ], ["Format", 80, ["format", str, None, {}], ], - ["File", 160, ["filename", str, "t", {"strikethrough":11, "cell-background":12, "cell-background-set":13}], ], [False, 0, ["editable", bool, None, {}], ], [False, 0, ["favourite", bool, None, {}], ], [False, 0, ["deleted", bool, None, {}], ], [False, 0, ["search_col", str, None, {}], ], [False, 0, ["search_set", bool, None, {}], ], @@ -236,16 +236,17 @@ # extract meta data def file_entry(self, fn, dir): # basic data url = ("%s/%s" % (dir, fn)) - if not conf.windows: # needed for VLC playback - url = url.replace("\\", "/") + url = url.replace("\\", "/") +# if conf.windows: # needed for VLC playback + url = url.replace(" ", "%20") meta = { "title": "", "filename": fn, - "url": url, + "url": "file:///"+url, "genre": "", "album": "", "artist": "", "length": "n/a", "bitrate": "n/a",