[gnome-music] grilo: Cleanup for Tracker port of playlists



commit 4a64dfa82407c5dfa08b066e87d2de0a706c3846
Author: Arnel Borja <arnelborja src gnome org>
Date:   Wed Jun 4 01:33:52 2014 +0800

    grilo: Cleanup for Tracker port of playlists

 gnomemusic/grilo.py |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
---
diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py
index 8474966..854f200 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -232,18 +232,6 @@ class Grilo(GObject.GObject):
                                 _search_callback, data)
 
     @log
-    def get_media_from_uri(self, uri, callback):
-        options = self.options.copy()
-        query = Query.get_song_with_url(uri)
-
-        def _callback(source, param, item, count, data, error):
-            if not error:
-                callback(source, param, item)
-                return
-
-        self.tracker.query(query, self.METADATA_KEYS, options, _callback, None)
-
-    @log
     def get_album_art_for_item(self, item, callback, data=None):
         item_id = item.get_id()
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]