[gnome-music/wip/gbsneto/contained-playlists: 8/29] 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: 8/29] grilo: Treat playlist field as of type Playlist
- Date: Thu, 1 Dec 2016 23:26:14 +0000 (UTC)
commit 91b82342a4b85b78b0872b15b15b688d6c1bd54f
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 b498bb0..2f39022 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -270,7 +270,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]