Author Topic: Wifi android device synching  (Read 197682 times)

funcat

  • Newbie
  • *
  • Posts: 2
Hi all,
I am a long time user of MB (great job) and all kind of hack to sync my phones with it.
The latest wifi official sync app was working well, but as other, it does not handle correctly android 10 with sd card (and i guess that every one put pusic on sd card if they have so ...).
SD card permissions have changed for android 10, i guess that the app has to be updated/upgraded also.
Just my  two cents  :)
Have fun dear coder for your new life !

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32737
fix for Android 10 not working. Also for older android versions, this release should improve the success of the initial server connection when you click "Locate Server"

https://play.google.com/apps/internaltest/4700978781087552506

If you are not on the internal test track, you will need to send me your google play email so I can add you

kid

  • Newbie
  • *
  • Posts: 10
Just checking in to let everyone know that the new version solves the issues I was having.
Wifi syncing works perfectly on Android 10 using an external SD card for music storage.

Didn't have to reconfigure anything.

GMMP error still exists, but this is a GMMP issue, it also throws an error in the GMMP log about the unlocker.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32737
v2.0 now released to beta where anyone can try this - not sure how long it takes before its actually available so make sure you check the version number

https://play.google.com/apps/testing/com.getmusicbee.musicbeewifisync

frankz

  • Hero Member
  • *****
  • Posts: 3150
It didn't seem to have any effect on the final result of the sync, but the error log showed this after I ran it this morning:

Code
2020-03-03: SM-G973U;  10;  2.0.0
07:20:42: waitScan: java.lang.IllegalArgumentException: Invalid column count(*)
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Galaxy.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Galaxy.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Safe.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Safe.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/This Week.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/This Week.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/All.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/All.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Beatles.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Beatles.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Beatles + Paul.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Beatles + Paul.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Classical.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Classical.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Tops.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Tops.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Vinyl.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Vinyl.m3u8,path=/storage/4159-E797/Playlists/file=null

/storage/4159-E797/Playlists/ is the correct location for my playlists.
A smile is happiness you'll find right under your nose.

kid

  • Newbie
  • *
  • Posts: 10
It didn't seem to have any effect on the final result of the sync, but the error log showed this after I ran it this morning:

Code
2020-03-03: SM-G973U;  10;  2.0.0
07:20:42: waitScan: java.lang.IllegalArgumentException: Invalid column count(*)
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Galaxy.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Galaxy.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Safe.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Safe.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/This Week.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/This Week.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/All.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/All.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Beatles.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Beatles.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Beatles + Paul.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Beatles + Paul.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Classical.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Classical.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Tops.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Tops.m3u8,path=/storage/4159-E797/Playlists/file=null
07:20:43: scanPlaylists: java.lang.IllegalArgumentException: Requested path /storage/4159-E797/Playlists/Vinyl.m3u8 doesn't appear under [/storage/emulated/0, /data/sec]: playlist=/storage/4159-E797/Playlists/Vinyl.m3u8,path=/storage/4159-E797/Playlists/file=null

/storage/4159-E797/Playlists/ is the correct location for my playlists.


Had similar issues, cant remember the error log. Will try again this afternoon. It stopped throwing the errors after I changed the sync settings in MB to not sync playlist, and then back to syncing playlists.
Last Edit: March 03, 2020, 12:59:02 PM by kid

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32737
Yes i see the same. I have resolved the first and most important issue but the second, I wont be able to resolve where playlists are scanned and loaded into the android media database. For Android 10+ the playlist file scan/load is now skipped, and that means that players that depend on the media database for playlist storage will be affected but i think the major media players all use their own methods for storing playlists, so shouldn't be a problem for the majority of people.

The change is available now on the internal test channel
https://play.google.com/apps/internaltest/4700978781087552506

and has been uploaded for beta which i think takes some time to update
https://play.google.com/apps/testing/com.getmusicbee.musicbeewifisync
Last Edit: March 04, 2020, 08:22:04 AM by Steven

funcat

  • Newbie
  • *
  • Posts: 2
Hi all
Just an update i test the new version and all went fine for sync with android 10 and external sdcard.
Just now a bug with gmmp rating sync :  sendStats: Unable to retrieve stats for player: 1

I bought gmmp only for this feature it is sad =)
Any workarround or fix ?
Thx

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7600
Just now a bug with gmmp rating sync :  sendStats: Unable to retrieve stats for player: 1
Perhaps you should also check in with GMMP's forum to see if this is an error on the GMMP side. And to make sure it can read the ratings that MB sends over.
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

Babydoll32

  • Jr. Member
  • **
  • Posts: 122
Hi all
Just an update i test the new version and all went fine for sync with android 10 and external sdcard.
Just now a bug with gmmp rating sync :  sendStats: Unable to retrieve stats for player: 1

Have the same error on Huawei P30 with Android 10.
Can't sync with Gonemad 2.2.23. I can't do playlist sync also, only full sync. If I try it shows no playlists, only red server not running error, but full sync works.
With Poweramp it's fine. I've also the following issue. When I create an autoplaylist, limit tracks, random list, play or rate one of this songs in poweramp and sync back to musicbee, it shows that files not match. But files exist on Android and within Musicbee library.

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7600
Hi all
Just an update i test the new version and all went fine for sync with android 10 and external sdcard.
Just now a bug with gmmp rating sync :  sendStats: Unable to retrieve stats for player: 1

Have the same error on Huawei P30 with Android 10.Can't sync with Gonemad 2.2.23.

Perhaps you should also check in with GMMP's forum to see if this is an error on the GMMP side. And to make sure it can read the ratings that MB sends over.
Download the latest MusicBee v3.4 patch from here.
Download the latest MusicBee v3.5 beta patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
Check out the MusicBee Wiki.
How to post screenshots is here

Babydoll32

  • Jr. Member
  • **
  • Posts: 122
Perhaps you should also check in with GMMP's forum to see if this is an error on the GMMP side. And to make sure it can read the ratings that MB sends over.

I can sync to phone, when I choose Poweramp and when I scan with Gonemad, Gonemad reads ratings. But when I choose Gonemad for sync I get an error.

Anti

  • Member
  • Hero Member
  • *****
  • Posts: 948
Just a thank you. This is great.

Is the 'full sync' or 'playlist sync' setting supposed to be remembered, though? It defaults to full sync every time I open the app, even though I would never want to full sync (because my Musicbee library is way bigger than my SD Card, and it would take 12 hours to copy to the phone).

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32737
Is the 'full sync' or 'playlist sync' setting supposed to be remembered, though? It defaults to full sync every time I open the app, even though I would never want to full sync (because my Musicbee library is way bigger than my SD Card, and it would take 12 hours to copy to the phone).
yes thats the way its been implemented. An option for you might be to configure a full sync to specific playlists only - what goes in a full sync is configured in MusicBee

railfan-eric28

  • Jr. Member
  • **
  • Posts: 105
Once again today and a week or so ago I had to clear data.   Is there something that can be done so it doesn't have to be cleared so much?  I hate that it resets the settings.   Since i got my new (refurbished) desktop tower I have been having issues with the computer getting a new ip address and having multiple times to fix it in my firewall settings for my programs such as musicbee.   then that causes musicbee wifi app to act up and then I have to clear data.   I turned off the wifi to the desktop since i plugged it in wired to the router for faster speeds but does the app still work with a computer that is wired to the router?  Or do i need to keep the wifi on at the same time on the desktop?
I'm using a Galaxy S21, Galaxy 9+, Galaxy S7, a Galaxy Tab S 8.4, Poweramp, and Musicbee.