mopidy/mopidy — pull request #749 by trygveaa (2014-06-20 18:43:56+00:00)
Title: mpd: Support playlists in browse

Playlists are containers similar to directories. Treat them equally to support playlists when browsing.

I started on developing an extension to implement Spotifys browse feature. On the mpd side, this would be browsed with the standard browse feature. However, it provides Spotify playlists, not tracks. Therefore this change, so playlists can be represented in the browse view as well.

Note that the playlists are exposed as directories now. They could be exposed as standard playlists, but I would rather expose them as directories. Primarily because ncmpcpp allows you to view the content of directories without adding them, but only allows you to view the content of playlists through the playlist editor. The playlists in the playlist editor are only the playlists from /, so these will not show there.