Author Topic: Something wrong with playlist syncing  (Read 6671 times)

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10940
are you saying that if you check with the android file explorer some of the playlists are not there? and if they really are all there and you edit the .m3u file, do the music file paths look ok?

Are you asking me or basseken?

All my results have been based on the Android file explorer. Whatever playlists are there load and work fine in gone mad, I've never had a reason to think the playlist contents were incorrect.

I found quite a few posts where file copying would just cut out with no errors. They were all related to the path length. From what I can find the max length for android is 255 bytes. Which makes the max character length somewhere between 127 and 255 depending on the encoding. Unicode characters are 2 bytes.

And don't use any of these in the path - |\\?*<\":>/'

No, I don't think that would be relevant here. Some of the audio files have longish names, but limits are already built into my file naming. Playlist names are very short, 3 characters up to a few words, like "Best of Christmas."
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest patches
(Unzip and overwrite existing program files)

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34976
I have found the MTP protocol is quite flaky on some android devices. As an experiment, i have added a small delay after the playlist is written to see if that helps
https://getmusicbee.com/patches/MusicBee36_Patched.zip
also could you check the error log for any entries that start with "Add playlist"

basseken

  • Newbie
  • *
  • Posts: 4
I have found the MTP protocol is quite flaky on some android devices. As an experiment, i have added a small delay after the playlist is written to see if that helps
https://getmusicbee.com/patches/MusicBee36_Patched.zip
also could you check the error log for any entries that start with "Add playlist"

I have implemented the patch and still have the same problem: playlists only partly syncing.
I checked the %appdata% ErrorLog.dat , and it had no entry that started with "Add playlist".

Some other things I found on the forum, but also didn't work:
-Switching around "\" and "/" in the device options path names.
-Exporting the playlists as ".m3u8" in stead of ".m3u" files (then all the playlists were completely empty).

Could it be something with an arbitrary file amount limit? All my playlists with 74 songs or less are syncing correctly, yet:
My 200 one is stuck at 131
My 305 one is stuck at 230
My 966 one is stuck at 263
Last Edit: January 07, 2025, 03:20:10 AM by basseken


basseken

  • Newbie
  • *
  • Posts: 4
I implemented the patch, this is what happened (all with relative paths, bc without it, nothing shows up besides sub-maps):

Syncing playlists as .m3u:
-Nothing shows up on phone's playlist player.
-Also no files when I check via PC.
-I can export the m3u files to desktop and then move them to phone, but, as always, I can only see the playlist content amount in file explorer, not in the playlist player (there it says it's an empty playlist).

As .m3u with sub-folders:
-Same as above, except the sub-folders show up with the right amount of songs, but no .m3u files.

As .PLA (I don't think I had this option before the patch?):
-The playlists show up, just like they originally did with the m3u sync: only the smaller playlists were complete, the rest is missing songs.
-The playlists are missing the exact same amounts of songs as before the last patch.

As .PLA with sub-folders:
-The playlists show up, the smaller ones the same as above, but the larger ones still have missing songs. I deleted everything, synced again and now they still have the same songs missing, but show every synced song twice, like the phone adds up the .PLA and .m3u or any combination with the sub-folders, yet still only so with the larger playlists, everything 74 songs and under -> still normal.
-Sub-folders have the right amount of songs if I check via PC.

.WPL:
-Doesn't show up, just like .m3u

I think I got it to work during one of the first tries when I used the .PLA container with sub-folders, but after I did other tests, I couldn't recreate it anymore...
And sub-folders wouldn't be a great solution since it nearly triples the memory size needed for the songs.
Last Edit: January 08, 2025, 12:45:25 AM by basseken

BoringName

  • Sr. Member
  • ****
  • Posts: 916
I implemented the patch, this is what happened (all with relative paths, bc without it, nothing shows up besides sub-maps):

I think your issue might be different to psychoadept as you are stating that songs are missing as well as playlists. Your issue could be due to the character length problem I previously posted about.

Instead of checking in VLC, check the actual folder on the device and see if the playlists copy over to the playlist folder you have set in device settings.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34976
I implemented the patch, this is what happened (all with relative paths, bc without it, nothing shows up besides sub-maps):

Syncing playlists as .m3u:
-Nothing shows up on phone's playlist player.
there was a mistake i made - try this one
https://getmusicbee.com/patches/MusicBee36_Patched.zip

ACardAttack

  • Jr. Member
  • **
  • Posts: 33
I implemented the patch, this is what happened (all with relative paths, bc without it, nothing shows up besides sub-maps):

Syncing playlists as .m3u:
-Nothing shows up on phone's playlist player.
there was a mistake i made - try this one
https://getmusicbee.com/patches/MusicBee36_Patched.zip

Fixed it for me!  Thank you for all your work


ACardAttack

  • Jr. Member
  • **
  • Posts: 33
I implemented the patch, this is what happened (all with relative paths, bc without it, nothing shows up besides sub-maps):

Syncing playlists as .m3u:
-Nothing shows up on phone's playlist player.
there was a mistake i made - try this one
https://getmusicbee.com/patches/MusicBee36_Patched.zip

Is this patch also in the most recent version?  I am getting the error again (it may have never fully went away).  Im getting about half my playlists. I may have thought it was fixed as I lucked out on first sync and it synced the main playlist I was looking for

It also removes some playlists if they dont  sync over.  According to musicbee everything syncs fine and is "completed"


I am currently on 3_6_9171, Galaxy S24 Ultra Android 15 (which is Samsung's beta at he moment)
Last Edit: February 09, 2025, 01:02:55 PM by ACardAttack

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10271
Is this patch also in the most recent version?
Yes, patches always brought forward to new(er) patches/releases.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

ACardAttack

  • Jr. Member
  • **
  • Posts: 33
Is this patch also in the most recent version?
Yes, patches always brought forward to new(er) patches/releases.

That is what I would assume, so about half my playlists are still not syncing over, at least on Android 15, my old phone with Android 10 is fine

TeutonJon78

  • Jr. Member
  • **
  • Posts: 92
I'm also running into this on two Samsung phones (S10e on Android 12 and S25+ on Android 15). Using two different computers.

The music all syncs correctly, but the playlists won't copy. On earlier versions I was getting the same behavior where it would randomly copy some playlists and not others. Playlists are a mix of .mbp and .xautopf, and they are being synced as .m3u8. Phones are connected via USB.

Using 3.6.9177 and 3.6.9178

From ErrorLog
 
Quote

2025-02-15 4:34:33 PM - Add playlist "D:\Music\MusicBee\Playlists\Devices\Phone\Meditation\name.xautopf" Stream does not support reading.
2025-02-15 4:34:33 PM - Stream does not support reading.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34976
Quote
2025-02-15 4:34:33 PM - Add playlist "D:\Music\MusicBee\Playlists\Devices\Phone\Meditation\name.xautopf" Stream does not support reading.
2025-02-15 4:34:33 PM - Stream does not support reading.
is should be working now
https://getmusicbee.com/patches/MusicBee36_Patched.zip