'Helper function to retrieve the unique MPD playlist name from its URI.'

def playlist_name_from_uri(self, uri):

    if (uri not in self._playlist_name_from_uri):
        self.refresh_playlists_mapping()
    return self._playlist_name_from_uri[uri]
