[gnome-music/wip/gbsneto/contained-playlists: 15/35] grilo: Treat playlist field as of type Playlist
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/gbsneto/contained-playlists: 15/35] grilo: Treat playlist field as of type Playlist
- Date: Tue, 6 Dec 2016 16:39:29 +0000 (UTC)
commit 4a525918060d4d15203dd81851f3ac75de0bd5b9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Nov 28 20:29:49 2016 +0100
grilo: Treat playlist field as of type Playlist
gnomemusic/grilo.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py
index 929d3c3..432e034 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -272,7 +272,7 @@ class Grilo(GObject.GObject):
def populate_playlist_songs(self, playlist, callback, count=-1):
if self.tracker:
GLib.idle_add(self.populate_items,
- Query.playlist_songs(playlist.get_id()), 0, callback,
+ Query.playlist_songs(str(playlist.id)), 0, callback,
count)
@log
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]