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

billouparis

  • Newbie
  • *
  • Posts: 8
Hi guyz,
Lazy to read 58 pages of forum right now :(
Does the latest sync tool version still keep re-copying over and over files that are already on the mobile?
Also MusicBee 3.4 is recognized as a virus by Microsoft virus detection tool :(
Thank you,
Bill

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10474
Lazy to read 58 pages of forum right now :(

A simple forum search for "virus" would get you a whole list of threads on false positive virus reports.

Regarding your sync question, that's not what's supposed to happen, no.
MusicBee Wiki
Use & improve MusicBee's documentation!

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

derTyp

  • Jr. Member
  • **
  • Posts: 71
Hi,

I tried to setup wifi sync today but I can't get it to work.
My guess is that it doesn't work because I have different IP ranges for wifi and cable, at least the app log shows its scanning only the wifi range.
Is there any way to manually input the IP of the PC running musicbee or change the range of IPs to scan? If not I think that would be a feature that might help some people with more complex network environments.


Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32440
I am not expert enough in networking to know how to deal with issues with wifi connectivity. If you can read java and have some knowledge of socket programming then i am happy to make proposed changes or could be done yourself
https://github.com/mayallst/MusicBeeWifiSync

highstrung

  • Newbie
  • *
  • Posts: 3
Is the github repo current?  I see references in the forum to a version 2.0.4 but the version in the repo is 2.0.0 (in app/buid.gradle).

derTyp

  • Jr. Member
  • **
  • Posts: 71
I am not expert enough in networking to know how to deal with issues with wifi connectivity. If you can read java and have some knowledge of socket programming then i am happy to make proposed changes or could be done yourself
https://github.com/mayallst/MusicBeeWifiSync

Thanks I will try to put something together and send a pull request.

Is the github repo current?  I see references in the forum to a version 2.0.4 but the version in the repo is 2.0.0 (in app/buid.gradle).

I have already done some changes so it would be nice if master would be the current version so I can rebase.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32440

Calabrel

  • Newbie
  • *
  • Posts: 2
Does this still work with the new version of gmmp (3.x).

I asked about syncing play counts and last played with last.fm, and he mentioned that MusicBee already did that and there was a sync with gmmp.  As I already use MusicBee on my desktop and gmmp on my phone, I hope this is still true.

https://gonemadmusicplayer.proboards.com/post/7284

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10474
It was working fine for me with the 3.0 beta. I'm having issues right now but it's because I switched computers, not because of GMMP (as far as I know).
MusicBee Wiki
Use & improve MusicBee's documentation!

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

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7277
Using GMMP 3.0.3 syncing works fine. I can't confirm playcount syncing as I don't care about them and therefore don't sync them.
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


Calabrel

  • Newbie
  • *
  • Posts: 2
It was working fine for me with the 3.0 beta. I'm having issues right now but it's because I switched computers, not because of GMMP (as far as I know).

Ah, that's good news.  I guess I just have to figure out where to get it and how to use it now.

SkyZippr

  • Jr. Member
  • **
  • Posts: 114
Reverse syncing of playcounts from GMMP doesn't work for me. It manages to trigger the generation of stats.xml, but then it throws me an 'unable to retrieve statistics' error. I suspect this to be an Android 10 issue, as mentioned a while back:
I'm not an android dev, but it appears that android 10 introduced new limitations that prevent one app from accessing another app's files, which is what the GoneMad reverse sync does. If that's the case, the requestLegacyExternalStorage  option would offer a short term workaround, but for android 11+ it would require GMMP to store the stats.xml in a different location.
I wonder if anybody managed to get it working on an Android 10 device?

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 32440

ucynml

  • Newbie
  • *
  • Posts: 11
I recently started using musicbee wifi sync. It does a great work for transferring songs from MB. But reverse syncing of playcounts and ratings doesn't seem to work. I've tried it on two devices, Android 8 and Android 10, so the problem isn't an OS-dependent issue. These are error logs. Any help appreciated.

Code
2021-03-14: SOV33;  8.0.0;  2.1
21:35:21: startSync: preview=true,iteration=0
21:35:21: command: action=SYNC_START
21:35:21: tryStart: connecting /192.168.0.7, attempt=0
21:35:21: tryStart: connected
21:35:21: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SOV33,2
21:35:21: storage: path=/storage/0123-4567,root=0123-4567:,uri=content://com.android.externalstorage.documents/tree/0123-4567%3A
21:35:21: syncDevice: root=/storage/0123-4567,ignoreErrors=false,playlists=false,ratings=true,playcount=false
21:35:21: syncDevice: command=SendStats
21:35:21: sendStats: Unable to retrieve stats for player: 1
21:35:21: syncDevice: command=GetFiles
21:35:21: getFiles: Get: Music/,url=/storage/0123-4567/Music/, inc=true
21:35:21: getFiles: count=542
21:35:21: syncDevice: command=GetFiles
21:35:21: getFiles: Get: Music/Podcasts/,url=/storage/0123-4567/Music/Podcasts/, inc=true
21:35:21: getFiles: count=0
21:35:21: syncDevice: command=ShowPreviewResults
21:35:21: syncDevice: exit

Code
2021-03-14: SOV43;  10;  2.0.0
23:15:27: startSync: preview=true,iteration=0
23:15:27: command: action=SYNC_START
23:15:27: tryStart: connecting /192.168.0.7, attempt=0
23:15:28: tryStart: connected
23:15:28: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SOV43,2
23:15:28: storage: path=/storage/6665-3663,root=6665-3663:,uri=content://com.android.externalstorage.documents/tree/6665-3663%3A
23:15:28: syncDevice: root=/storage/6665-3663,ignoreErrors=false,playlists=false,ratings=true,playcount=false
23:15:28: syncDevice: command=SendStats
23:15:38: sendStats: Unable to retrieve stats for player: 1
23:15:38: syncDevice: command=GetFiles
23:15:38: getFiles: Get: Music/,url=/storage/6665-3663/Music/, inc=true
23:15:38: getFiles: count=1817
23:15:38: syncDevice: command=GetFiles
23:15:38: getFiles: Get: Music/Podcasts/,url=/storage/6665-3663/Music/Podcasts/, inc=true
23:15:38: getFiles: count=0
23:15:38: syncDevice: command=ShowPreviewResults
23:15:38: syncDevice: exit



I have the unlocked version of GoneMad and stats.xml is generated(/storage/emulated/0/gmmp/stats.xml). I think musicbee wifi sync can't find it on certain devices. How about allowing users to specify a statistics file using the file picker?