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

YuriShalk

  • Newbie
  • *
  • Posts: 7
  • Try this --> Jorge e Mateus - Seu Amor Me Tem
Hello. Thank you for the hard work. I’m facing the following issue:

Goal: Sync music ratings from PowerAmp to MusicBee
Problem: Even after setting the folders with the same name on both MusicBee and the phone, it still reports that it cannot find them and shows an error.
Version: MusicBee WifiSync - 2.8.0; MusicBee - 3.6.9156 P; Android - 14; Smartphone: S23 Ultra
Additional Question: If there are ratings from before using MusicBee WifiSync, won’t they be synced?
Log:
2025-04-17: ping: socket ok=/192.168.1.103
18:45:13: ping: hello=MusicBeeWifiSyncServer/1.0
18:45:13: ping: matched=/192.168.1.103,status=OK
18:45:17: startSync: preview=false,iteration=0
18:45:17: command: action=SYNC_START
18:45:17: tryStart: connecting /192.168.1.103
18:45:17: tryStart: connected
18:45:17: tryStart: hello=true,fromMB=false,custfiles=false,preview=false,dev=SM-S918B,1
18:45:17: storage: path=/storage/emulated/0,root=null
18:45:17: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=false
18:45:17: syncDevice: command=SendStats, length=9
18:45:18: syncDevice: command=ShowResults, length=11
18:45:18: syncDevice: command=GetFiles, length=8
18:45:18: getFiles: Get: Music/Avaliando/Avaliando_Celular/,url=/storage/emulated/0/Music/Avaliando/Avaliando_Celular/, inc=true
18:45:18: getFiles: selection: : date_modified > 0
18:45:18: getFiles: count=59461
18:45:18: syncDevice: command=GetFiles, length=8
18:45:18: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
18:45:18: getFiles: selection: : date_modified > 0
18:45:19: getFiles: count=59461
18:45:19: syncDevice: command=Exit, length=4
18:45:19: exitSync: fails=0
18:45:19: waitScanFiles: start
18:45:19: waitScanFiles: done
18:45:19: syncDevice: exit

Thanks in advance.

kimt1688

  • Jr. Member
  • **
  • Posts: 109
Hello. Thank you for the hard work. I’m facing the following issue:

Goal: Sync music ratings from PowerAmp to MusicBee
Problem: Even after setting the folders with the same name on both MusicBee and the phone, it still reports that it cannot find them and shows an error.
Version: MusicBee WifiSync - 2.8.0; MusicBee - 3.6.9156 P; Android - 14; Smartphone: S23 Ultra
Additional Question: If there are ratings from before using MusicBee WifiSync, won’t they be synced?

The conditions for performing a reverse sync of ratings from Poweramp are as follows
・The value has changed since the last sync
・The rating value is not 0
Therefore, not all rating values will be reflected.
Both conditions are designed to prevent discrepancies when ratings are manipulated in MusicBee.
It does not matter whether the settings were configured previously. The only factor is whether the value has changed since the last sync.

ACardAttack

  • Jr. Member
  • **
  • Posts: 33
The only thing that is deleted independently by the Wifi Sync App is the entire playlist.
Everything else is deleted according to the deletion instructions from MusicBee.
Does the same thing happen with wired sync?
Is this a problem specific to the Wifi Sync App?

So I do have it set to delete files not on sync list, I forgot to mention that, but I have not changed the sync list and when I do a wired sync it syncs perfectly fine, does not try and remove every track on my phone.  Just wifi for what ever reason thinks it needs to remove the files

ACardAttack

  • Jr. Member
  • **
  • Posts: 33
And now wifi sync is working again, I guess it just needed to do a wired sync to fix it?

ghostch4nt

  • Newbie
  • *
  • Posts: 1
Hello
On latest version, when I add a rating on a track on GoneMad, it is not detected as a change in MusicBee Wifi Sync so a synchronisation does not take place.

Is this because I need to buy GoneMad premium?

edit: stopped being lazy and searched. The answer is yes.  ::) Apologies to the developer for wasting your time if you read this.
Last Edit: April 23, 2025, 02:56:14 PM by ghostch4nt

jwparenteau

  • Newbie
  • *
  • Posts: 1
@kimt1688

Thank you for continuing development, and maintenance of this convenient tool. Will you consider adding skip count to the sync? Thank you again!

kimt1688

  • Jr. Member
  • **
  • Posts: 109
@kimt1688

Thank you for continuing development, and maintenance of this convenient tool. Will you consider adding skip count to the sync? Thank you again!

Adding skip counting is not that difficult, but it is not easy because the protocol between MusicBee has changed.
Since the app was discontinued last year, it will probably be difficult to change the protocol.

kimt1688

  • Jr. Member
  • **
  • Posts: 109
Version 2.8.1 has been released as the official version.
This release includes fixes for abnormal behavior and display issues.
The issue where indicators such as the clock were not visible during execution has been fixed.
Additionally, the layout of the error screen shown in the image was incorrect and has been corrected.


Last Edit: April 30, 2025, 09:46:46 PM by kimt1688

futuresushi

  • Newbie
  • *
  • Posts: 1
Hello! First of all, big fan of your app, which I have on two devices and up until I tried to use it today I've had absolutely no issues due to the clear provided instructions.

I am not sure the cause of the issue, but for some reason despite being on the same Wifi (MusicBee is updated to 3.6, I'm on Windows 10 and Android 12) I am able to sync when wired but of course that doesn't have the back-sync for playcounts which is why I'm using the app) I have been unable to sync today. It's been a couple of weeks since I last did, so I worried that Android had messed with the permissions (I have since disabled the option that lets them do this). I tried re-installing the app, clearing app cache, clearing app storage, I've I tried multiple wired syncs, but currently I'm stuck on the screen where it says "you have to run a wired sync first". Running one doesn't change anything, locating server immediately says not found without it seeming like it's attempting a search at all.

Just curious what other troubleshooting you all may recommend here because I'm pretty stumped.

EDIT:
Forgot I could get stuff from my error log. Apologies as I'm typing it out manually:

00:12:53: locate: java.lang.NullPointerException
00:12:53: w2.E.C(Unknown Source:17)
00:12:53: H1.b.run(Unknown Source:258)
00:12:53: java.lang.Thread.run(Thread.java:1012)

It's just those four over and over

EDIT2: Seems to have resolved itself overnight. Lost the interim playcounts but it seems to register new ones just fine.
Last Edit: May 07, 2025, 08:14:53 PM by futuresushi

MinimusAmbus

  • Newbie
  • *
  • Posts: 2
It seems like I haven't been able to sync since the last update.
I'd really appreciate some help.

Code
2025-05-06: loadPlaylists: java.net.ConnectException: failed to connect to /192.168.0.21 (port 27304) from /192.168.0.28 (port 39692) after 10000000ms: isConnected failed: EHOSTUNREACH (No route to host)
21:09:47: libcore.io.IoBridge.isConnected(IoBridge.java:347)
21:09:47: libcore.io.IoBridge.connectErrno(IoBridge.java:237)
21:09:47: libcore.io.IoBridge.connect(IoBridge.java:179)
21:09:47: java.net.PlainSocketImpl.socketConnect(PlainSocketImpl.java:142)
21:09:47: java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:390)
21:09:47: java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:230)
21:09:47: java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:212)
21:09:47: java.net.SocksSocketImpl.connect(SocksSocketImpl.java:436)
21:09:47: java.net.Socket.connect(Socket.java:646)
21:09:47: w2.E.J(Unknown Source:28)
21:09:47: b2.r.run(Unknown Source:86)
21:09:47: java.lang.Thread.run(Thread.java:1012)

Thanks.
Last Edit: May 07, 2025, 10:24:44 AM by MinimusAmbus

kimt1688

  • Jr. Member
  • **
  • Posts: 109

I am not sure the cause of the issue, but for some reason despite being on the same Wifi (MusicBee is updated to 3.6, I'm on Windows 10 and Android 12) I am able to sync when wired but of course that doesn't have the back-sync for playcounts which is why I'm using the app) I have been unable to sync today. It's been a couple of weeks since I last did, so I worried that Android had messed with the permissions (I have since disabled the option that lets them do this). I tried re-installing the app, clearing app cache, clearing app storage, I've I tried multiple wired syncs, but currently I'm stuck on the screen where it says "you have to run a wired sync first". Running one doesn't change anything, locating server immediately says not found without it seeming like it's attempting a search at all.


Is the MusicBee version 3.6.9202 OK?
Did you download it from the website? From the store? Is it portable?
Is the app version 2.8.1?
Here, the results of debugging on Android 12 show that reverse sync of play counts worked successfully with both GoneMad and Poweramp, so I think it's an environmental issue.
Is the model name of your device( under Settings → About Phone (or Device)) listed in the MusicBee device list?
If it's not there, you still need to use wired sync.
If it is there, please check that the network connection is working properly, such as by checking the Windows Firewall.
Additionally, clearing the cache or storage is generally not necessary. Doing this alone can cause issues such as old data being retrieved during reverse sync.