Add FIXMEs
This commit is contained in:
parent
998f9abae6
commit
1622f760f2
@ -1405,7 +1405,7 @@ class MpdFrontend(object):
|
||||
matches = self.backend.stored_playlists.search(name)
|
||||
if matches:
|
||||
self.backend.current_playlist.load(matches[0])
|
||||
self.backend.playback.new_playlist_loaded_callback()
|
||||
self.backend.playback.new_playlist_loaded_callback() # FIXME not needed?
|
||||
|
||||
@handle_pattern(r'^playlistadd "(?P<name>[^"]+)" "(?P<uri>[^"]+)"$')
|
||||
def _stored_playlist_playlistadd(self, name, uri):
|
||||
|
||||
@ -35,6 +35,7 @@ def get_or_create_folder(folder):
|
||||
|
||||
def path_to_uri(*paths):
|
||||
path = os.path.join(*paths)
|
||||
#path = os.path.expanduser(path) # FIXME
|
||||
path = path.encode('utf-8')
|
||||
if sys.platform == 'win32':
|
||||
return 'file:' + urllib.pathname2url(path)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user