Playlists not synced [#11421]

Report bugs & feature requests for MediaMonkey for Android and learn about the newest beta build.

Moderator: Gurus

rivorson
Posts: 594
Joined: Thu Jul 25, 2013 4:17 am

Playlists not synced [#11421]

Post by rivorson »

Since the upgrade to MMW 1664 and MMA 171 I have been unable to get playlists to sync to MMA via WiFi sync. The first sync on these versions deleted the playlists from MMA.
All of the files on the playlists sync successfully. I have tried adding and removing playlists from the sync list and with each the tracks are added and removed from the device as expected but the actual playlists don't sync.
I tried running a USB sync but had to leave it over night and I'm not sure if it completed before shutting down. I'm now away from home for the rest of the week so I can't try again just yet.

Has anyone else experienced this?
Lowlander
Posts: 58443
Joined: Sat Sep 06, 2003 5:53 pm

Re: Playlists not synced

Post by Lowlander »

Is the option to sync the Playlists enabled in the Device Profile in MMW? For me the Playlists did sync with these builds.
rivorson
Posts: 594
Joined: Thu Jul 25, 2013 4:17 am

Re: Playlists not synced

Post by rivorson »

Yes, the option is enabled. I checked on that every time I tried a sync after the playlists went missing.
mcow
Posts: 835
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

Re: Playlists not synced

Post by mcow »

I had a similar issue : after installing 171, sync asked me to delete an (the) existing playlist. After the second time of seeing that, I went to Playlists and found that the playlist name had been prefixed with "Playlist". I deleted it manually and re-sync'd, and the correctly-named playlist appeared.

Then I re-sync'd again, and was asked about deleting the "Playlist" name. I said yes, and it deleted the correctly-named one and put back another with the "Playlist" prefix.

I went to the sync list and removed the playlist, sync's, told the confirmation dialog to remove the playlist but not the tracks. Then I added the playlist back in the sync list, sync'd, and it restored. Since then, sync hasn't tried to change anything.
mcow
Posts: 835
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

Re: Playlists not synced

Post by mcow »

That "solution" didn't last. A later sync got back to the "delete this playlist?" prompt again.
rusty
Posts: 8841
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: Playlists not synced

Post by rusty »

There are a couple of playlist-related regressions in the last build that should be fixed in 172/1665:
http://www.ventismedia.com/mantis/view.php?id=11370
http://www.ventismedia.com/mantis/view.php?id=11016

-Rusty
rivorson
Posts: 594
Joined: Thu Jul 25, 2013 4:17 am

Re: Playlists not synced

Post by rivorson »

The problem still exists in MMW 1667 and MMA 175.

I have tried a complete resync after deleting all media and MMA data from the phone and tablet, and deleting the device profiles in MMW. Both devices are still failing to sync playlists.
If I create a playlist on my phone it will be synced to MMW on one sync and then deleted on the next sync.

I'm using a Nexus 4 and Nexus 7 both with stock Android 4.3.
Lowlander
Posts: 58443
Joined: Sat Sep 06, 2003 5:53 pm

Re: Playlists not synced

Post by Lowlander »

So the problem is syncing from MMA to MMW?
rivorson wrote:If I create a playlist on my phone it will be synced to MMW on one sync and then deleted on the next sync.
This is expected if the Playlist isn't selected to be synced MMW to MMA on the second sync and you have set to delete files not on the sync list.
rivorson
Posts: 594
Joined: Thu Jul 25, 2013 4:17 am

Re: Playlists not synced

Post by rivorson »

No, the problem is syncing MMW to MMA. The playlists are selected to sync and all of the files on the play lists are syncing as expected, but the playlists themselves do not appear on MMA. Playlists that already exist on MMA which are selected to sync are deleted with every sync.
rusty
Posts: 8841
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: Playlists not synced

Post by rusty »

Could it be that the problem is: http://www.ventismedia.com/mantis/view.php?id=11387 ? This bug is partially fixed in 176, but essentially, the issue is that if PlaylistA created on MMA contains a subset of tracks from Auto-PlaylistB which has content that is completely dynamically updated (i.e. replaced) with each auto-sync operation, then the contents of PlaylistA are deleted from the device during that auto-sync operation.

-Rusty
rivorson
Posts: 594
Joined: Thu Jul 25, 2013 4:17 am

Re: Playlists not synced

Post by rivorson »

I don't believe that is related. All of my play lists were created in MMW except one that I had to recreate on MMA after the playlists had been deleted by this bug. No tracks have been deleted and no playlists remain after the sync. Not even empty playlists.

I will install the debug version of MMW this weekend and submit debug logs from both MMW and MMA after a sync.
rusty
Posts: 8841
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: Playlists not synced

Post by rusty »

There's another report of missing playlists at http://www.mediamonkey.com/forum/viewto ... 21&t=73746 (though I'm not sure if it's the same issue).

I'm trying to replicate, but any more information you can share would help.

Thanks.

-Rusty
rusty
Posts: 8841
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Re: Playlists not synced

Post by rusty »

Can you confirm whether the checked items in the auto-sync list configuration in MMA and MMW match? I've just noticed some strangeness (documented at http://www.ventismedia.com/mantis/view.php?id=11421 ) in which the selected items of the auto-sync list aren't in sync. If that's occurring for you then the workaround is to check off the playlists in MMA.

Thanks.

-Rusty
rivorson
Posts: 594
Joined: Thu Jul 25, 2013 4:17 am

Re: Playlists not synced

Post by rivorson »

I checked the sync list in MMA and found that none of the selected playlist were present at all. Following this I checked MMW's Media Sharing settings and found that under the 'MediaMonkey Library' DLNA server's Shared Content settings the playlists were unchecked, along with two more playlists and a collection that I had created within the last month. Consequently the playlists were not available to MMA.

I did some further testing on this by selecting items in the Shared Content list and creating new playlists. If all existing playlists are checked in Shared Content when a new playlist is created then the new playlist will be shared. If one or more playlists is not selected when a new playlist is created then the new playlist will not be shared. I had unchecked a playlist a few weeks ago and that has been the cause of the problem.

I'm not sure whether this should be considered a bug or not. If the user is being selective about which playlists are shared then it is correct not to automatically share new playlists. My case is the opposite; I had selected one playlist to exclude from sharing and had expected new content to be shared automatically. Perhaps an option could be added to the Shared Content settings to specify whether new playlists and collections are automatically added to the share list.

Either way my problem is solved. Thanks for your help, Rusty. Your assistance is invaluable.
mcow
Posts: 835
Joined: Sun Sep 21, 2008 9:35 pm
Location: Cupertino, California

Re: Playlists not synced

Post by mcow »

Lowlander wrote:
rivorson wrote:If I create a playlist on my phone it will be synced to MMW on one sync and then deleted on the next sync.
This is expected if the Playlist isn't selected to be synced MMW to MMA on the second sync and you have set to delete files not on the sync list.
But currently, the behavior is to automatically add the playlist to the synclist; I just tried this. I'm not sure why I see this but rivorson apparently does not.
But, so, no: the second sync should not remove the playlist from MMA's library without explicitly removing it from the sync-list.

If I understand the discussion in this issue correctly, the behavior for a playlist entry created on MMA is different than for a track that came from an opposite source. So I tried this: I d/l'd a track from AmazonMP3 that's not part of my MMW library, added the folder to MMA; the track shows up. Sync (with bi-di enabled): the track was not uploaded to MMW, or mentioned in the confirmation dialog. (However, I am ONCE AGAIN prompted to upload the new playlist I created in the previous step).

Then I created a playlist on MMA and included that AmazonMP3 track, and sync'd again: same result, track not copied (nor playlist) to MMW, but prompted again for the first playlist.

[edit: made that last sentence a little clearer.]
Last edited by mcow on Thu Oct 31, 2013 5:34 pm, edited 1 time in total.
Post Reply