GNOME Bugzilla – Bug 699173
Implementation of Playlist View
Last modified: 2014-02-17 11:08:07 UTC
Playlist view is missing, it should contain 1- creating new playlists 2- deleting playlists 3- editing existing playlists this is the presented UI for the playlistview: https://github.com/gnome-design-team/gnome-mockups/raw/master/music/music-playlists.png
Created attachment 246923 [details] [review] Patch for browsing playlists Functions for browsing playlists. Make sure you have grilo with playlists support before testing: branches['grilo'] = ('git://git.collabora.co.uk/git/user/mbatle/grilo.git', 'playlist-lib') branches['grilo-plugins'] = ('git://git.collabora.co.uk/git/user/mbatle/grilo-plugins.git', 'playlist-plugin')
Created attachment 246924 [details] [review] Playlists view demo [DON'T COMMIT] Since the patch for the playlists view implementation is not pushed yet, this is what I do to test the new functions. Selecting a playlist on the left pane will print the song titles in the terminal. Make sure that "$HOME/.local/share/gnome-music/playlists" have some playlist files. Create this directory if it doesn't exists. You could use totem to create a playlist file (tested with m3u and pls playlists).
Oh, I'm not sure if the config part is important, I just copied it from grilo playlist examples.
Created attachment 246946 [details] [review] Patch for functions for browsing playlists Remove config. check first if playlist dir exists, creating that at startup if it doesn't. added missing options.
Created attachment 246948 [details] [review] Playlists view demo [don't commit] Removed some trivial things. Note that currently we don't have a way to handle Load More button on both panes of Playlists view, since View assumes we use grl-tracker-source, which supports queries, which grl-filesystem doesn't support.
Initial playlists support was added in https://git.gnome.org/browse/gnome-music/commit/?id=2609785e5074538d1fb2dab0f0d2cf5e5d791103