Author Topic: Playlists deleted from devices when performing Sync Preview  (Read 495 times)

BoringName

  • Sr. Member
  • ****
  • Posts: 916
I've got the wifi app reverse syncing for both goneMad and PowerAmp and posted about it in the portable devices section.

I know you are not developing the wifi app anymore but I believe I've found a bug that is coming from Musicbee and not the app.

To trigger the bug.
Setup a device for syncing and enable "delete files that are not on the auto-sync list from device"
Select a playlist to sync
Perform a sync with the wifi app on the device so the playlist file is now on the device.
In Musicbee, untick the playlist from the synchronise settings.
Push the "Preview" button in the wifi app on the device

Even though it's just a preview, this results in the playlist file getting deleted from the device. Any songs in the playlist that need to be deleted remain on the device and are listed in the preview that they will be deleted but they are not deleted until a full sync is performed.

Here is the end of the log file with debug mode enabled.
Code
14:09:47: syncDevice: command=GetFiles
14:09:47: GetFiles: Music/,url=/storage/emulated/0/Music, inc=true
14:09:47: getFiles: count=5
14:09:47: syncDevice: command=GetFiles
14:09:47: GetFiles: Music/Podcasts,url=/storage/emulated/0/Music/Podcasts/, inc=true
14:09:47: getFiles: count=0
14:09:47: syncDevice: command=GetFiles
14:09:47: GetFiles: Music/Playlists,url=/storage/emulated/0/Music/Playlists/, inc=false
14:09:47: getFiles: count=1
14:09:47: syncDevice: command=DeleteFiles
14:09:47: deleteFiles: Delete: Music/Playlists/Testing 2.m3u
14:09:47: syncDevice: command=ShowPreviewResults
14:09:47: syncDevice: exit

I believe the "syncDevice: command" lines are Musicbee telling the app what to do? I think musicbee is ignoring the preview flag for playlists and just telling the app to delete them instead of not deleting them and showing them in the preview window.

Not really a big issue in the scheme of things but figured it was worth mentioning.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34974

BoringName

  • Sr. Member
  • ****
  • Posts: 916