Skip to content

Instantly share code, notes, and snippets.

@bear454
Last active December 26, 2015 03:58
Show Gist options
  • Save bear454/7089327 to your computer and use it in GitHub Desktop.
Save bear454/7089327 to your computer and use it in GitHub Desktop.
Tell gnome-music to load *all my albums*.
diff --git a/gnomemusic/grilo.py b/gnomemusic/grilo.py
index 13d77f0..0d8983b 100644
--- a/gnomemusic/grilo.py
+++ b/gnomemusic/grilo.py
@@ -87,7 +87,7 @@ class Grilo(GObject.GObject):
def populate_artists(self, offset, callback):
self.populate_items(Query.ARTISTS, offset, callback)
- def populate_albums(self, offset, callback, count=50):
+ def populate_albums(self, offset, callback, count=-1):
self.populate_items(Query.ALBUMS, offset, callback, count)
def populate_songs(self, offset, callback, count=-1):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment