Commit 8049c1ec authored by W. Michael Petullo's avatar W. Michael Petullo

Add tags to "default" playlist that mirror real playlists

Signed-off-by: W. Michael Petullo's avatarW. Michael Petullo <mike@flyn.org>
parent 9790f285
= Short term ===================================================================
DACP: Remote only displays playlists that have songs. Do I need to create
a "fake" playlist that contains all songs?
DACP: Remote only displays playlists that have songs (result of
/1/containers). Do I need to create a "fake" playlist that contains
all songs?
Noah: DNS-SD implementation
Finish browser side support.
......
......@@ -1994,13 +1994,20 @@ _dmap_share_databases (DMAPShare * share,
+ 1);
mb.mlcl = dmap_structure_add (aply, DMAP_CC_MLCL);
/* Base playlist: */
/* Base playlist (playlist 1 contains all songs): */
mlit = dmap_structure_add (mb.mlcl, DMAP_CC_MLIT);
dmap_structure_add (mlit, DMAP_CC_MIID, (gint32) 1);
dmap_structure_add (mlit, DMAP_CC_MPER, (gint64) 1);
dmap_structure_add (mlit, DMAP_CC_MINM, nameprop);
dmap_structure_add (mlit, DMAP_CC_MIMC,
dmap_db_count (share->priv->db));
dmap_structure_add (mlit, DMAP_CC_FQUESCH, 0);
dmap_structure_add (mlit, DMAP_CC_MPCO, 0);
dmap_structure_add (mlit, DMAP_CC_AESP, 0);
dmap_structure_add (mlit, DMAP_CC_AEPP, 0);
dmap_structure_add (mlit, DMAP_CC_AEPS, 0);
dmap_structure_add (mlit, DMAP_CC_AESG, 0);
dmap_structure_add (mlit, DMAP_CC_ABPL, (gchar) 1);
dmap_container_db_foreach (share->priv->container_db,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment