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

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 30064
reverse sync matches files using the expected filename that a MusicBee library file would expect to sync to on the device based on the naming template used.
If a file was renamed directly on the device; or a change was made to the naming tags on the MusicBee library side and that change didnt get synched for some reason then there will be unmatched files residing on the device that cant be matched to the MusicBee library

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8661
Nothing should be changing on my device, MusicBee is the only program that changes those files. But digging deeper, I did find out that I had two extra profiles under "Devices", both with generic settings. I deleted those, hopefully that will help. (Not even sure how they were created in the first place!)
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest beta patch (3.3)
(Unzip and overwrite existing program files)

SkyZippr

  • Jr. Member
  • **
  • Posts: 69
I had to do a fresh install of Wifi app, and it fails to locate the server.
I installed the Wifi app, did a wired sync, disconnected the phone from PC, then ran the Wifi app. The error log goes:
Quote
2019-11-23: MHA-L29; 9; 1.1.2
11:56:31: locate: search=10.165.1.
11:56:31: locate: exclude=228
My phone's IP is 10.165.1.229 and my PC is currently 10.165.2.98. Both are on DHCP so may change periodically, which I'm unable to control.
Are there any workaround?

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 30064
Are there any workaround?
I dont have enough knowledge of socket handling in network environments to help so you are probably best using another app.

Any developer reading this and wants to help, I am very happy to make the plugin code available

SkyZippr

  • Jr. Member
  • **
  • Posts: 69
Steven, thank you for all the efforts. As a temporary solution, I'll probably wait a few days till both are on the same subnet.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 30064
I dont have enough knowledge of socket handling in network environments to help so you are probably best using another app.

Any developer reading this and wants to help, I am very happy to make the plugin code available
I have added the Android app code to github

https://github.com/mayallst/MusicBeeWifiSync

vpsaxman

  • Full Member
  • ***
  • Posts: 195
Nothing should be changing on my device, MusicBee is the only program that changes those files. But digging deeper, I did find out that I had two extra profiles under "Devices", both with generic settings. I deleted those, hopefully that will help. (Not even sure how they were created in the first place!)


reverse sync matches files using the expected filename that a MusicBee library file would expect to sync to on the device based on the naming template used.
If a file was renamed directly on the device; or a change was made to the naming tags on the MusicBee library side and that change didnt get synched for some reason then there will be unmatched files residing on the device that cant be matched to the MusicBee library

Just like psychoadept said, nothing should be changed on the device. And the mismatch issues happen right after I finish syncing so it's not related to a change in musicbee either. Could it be related to the "Scoped storage" feature of Android 10? Filename length maybe?

I tried a few sync options including "preserve folders and filenames", no conversion, no artwork or lyrics embedding, and all of these at the same time to no avail. It seems like not all files are mismatched but I can't decipher a pattern.

Also @psychoadept: I too had duplicate profiles in Edit -> Edit preferences -> Devices but unfortunately deleting them did not fix the issue.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 30064
could you both run this debug version and send me a zip of the error log file from musicbee itself after attempting a sync - it might be quite large

https://www.mediafire.com/file/v67ib99g10r4g27/MusicBeeDebugReverseSync.zip/file
unzip and replace musicbee.exe

Cameron

  • Newbie
  • *
  • Posts: 15
I am having an issue using wifi sync where new files are added without tags to my phone, but if I connect it via USB, remove the file and run the sync from my PC, the file transfers correctly, with tags. Is anyone else experiencing this issue?

Thanks

Cameron

vpsaxman

  • Full Member
  • ***
  • Posts: 195
could you both run this debug version and send me a zip of the error log file from musicbee itself after attempting a sync - it might be quite large

https://www.mediafire.com/file/v67ib99g10r4g27/MusicBeeDebugReverseSync.zip/file
unzip and replace musicbee.exe

Sent you a PM with the debug log. Sorry it took so long. Thanks!