mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-24 19:46:19 -05:00
Adds a playlist folder type, it is needed for sorting since some clients (eg Retune)
require that playlist folders are sent before their content. Playlist folders should, however, be sent after the base playlists, so the numbering is changed. At the same time makes the value of the smart playlist type a bit less hardcoded.
This commit is contained in:
@@ -1692,7 +1692,7 @@ daap_reply_playlists(struct evhttp_request *req, struct evbuffer *evbuf, char **
|
||||
if (dfm == &dfm_dmap_mimc)
|
||||
continue;
|
||||
|
||||
/* com.apple.itunes.smart-playlist - type = 1 AND id != 1 */
|
||||
/* com.apple.itunes.smart-playlist - type = PL_SMART AND id != 1 */
|
||||
if (dfm == &dfm_dmap_aeSP)
|
||||
{
|
||||
if ((pltype == PL_SMART) && (plid != 1))
|
||||
|
||||
Reference in New Issue
Block a user