Commit 5e926bbf authored by Jean Felder's avatar Jean Felder Committed by Jean Felder

mpris: Distinguish mpris playlists from user playlists

Rename _get_playlists method to _query_playlists to avoid the confusion
between the playlists created by the user and the functions associated
with the MPRIS Playlists interface.
parent b8ba7cf8
......@@ -396,7 +396,7 @@ class MediaPlayer2Service(Server):
return None
def _get_playlists(self, callback):
def _query_playlists(self, callback):
playlists = []
def populate_callback(source, param, item, remaining=0, data=None):
......@@ -500,7 +500,7 @@ class MediaPlayer2Service(Server):
def _reload_playlists(self):
def get_playlists_callback(playlists):
def query_playlists_callback(playlists):
self.playlists = playlists
......@@ -508,7 +508,7 @@ class MediaPlayer2Service(Server):
def _on_playlists_count_changed(self, playlists, item):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment