Add FIXMEs

This commit is contained in:
Thomas Adamcik 2010-05-05 19:26:31 +02:00
parent 998f9abae6
commit 1622f760f2
2 changed files with 2 additions and 1 deletions

View File

@ -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):

View File

@ -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)