[gnome-music] More grilo-0.3 fallout...



commit 9305e30c4c841eac7b9354f9849faf30988af5a0
Author: Michael Catanzaro <mcatanzaro igalia com>
Date:   Sat Dec 26 13:53:11 2015 -0600

    More grilo-0.3 fallout...

 gnomemusic/grilo.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py
index 24dfd45..0d1bc31 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -294,7 +294,7 @@ class Grilo(GObject.GObject):
         item_id = item.get_id()
 
         query = None
-        if isinstance(item, Grl.MediaAudio):
+        if item.is_audio():
             query = Query.get_album_for_song_id(item_id)
         else:
             query = Query.get_album_for_album_id(item_id)


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