From b6fb30caf2354f05dbe496c1a2820acd37a1f2bf Mon Sep 17 00:00:00 2001 From: Conor Curran Date: Fri, 9 Sep 2011 18:47:00 +0100 Subject: increased the max playlist count to 20, fixed a bug which was prohibiting the playlists being shown --- src/mpris2-controller.vala | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/mpris2-controller.vala') diff --git a/src/mpris2-controller.vala b/src/mpris2-controller.vala index 8eeac08..ce35a06 100644 --- a/src/mpris2-controller.vala +++ b/src/mpris2-controller.vala @@ -21,11 +21,12 @@ using Transport; public class Mpris2Controller : GLib.Object { + public const int MAX_PLAYLIST_COUNT = 20; + public MprisRoot mpris2_root {get; construct;} public MprisPlayer player {get; construct;} public MprisPlaylists playlists {get; construct;} public FreeDesktopProperties properties_interface {get; construct;} - public PlayerController owner {get; construct;} public Mpris2Controller(PlayerController ctrl) @@ -226,7 +227,7 @@ public class Mpris2Controller : GLib.Object try{ current_playlists = yield this.playlists.GetPlaylists (0, - 10, + MAX_PLAYLIST_COUNT, "Alphabetical", false); } -- cgit v1.2.3