getmusicbee.com

Support => Portable Devices => Topic started by: Steven on January 24, 2019, 07:39:23 PM

Title: Wifi android device synching
Post by: Steven on January 24, 2019, 07:39:23 PM
One-way Wifi sync is now available for Android 5+ devices

The app is available for beta testing at
https://play.google.com/apps/testing/com.getmusicbee.musicbeewifisync

You need MusicBee v3.3.7014+
https://getmusicbee.com/forum/index.php?topic=27074.msg155944#new

Instructions:
- In the MusicBee Device preferences panel, tick the "enable Wifi transfer with Android devices"
- make sure you allow MusicBee when windows firewall prompts
- on your Android device, run the Wifi sync app
- select whether you want to sync to your Internal memory or to an external SD Card (if available)
- then click "Locate Server"
- MusicBee must be running for this to work and windows firewall permission granted
- you only need to do this once
- only connections from your private network are supported
- the app error log can be viewed from the action bar/ Error Log menu item


---------------
I am doing some research into Wifi synching with android devices and also want to investigate the possibility of 2-way synching with some of the popular android players. Not promising anything but what I want to know is for the people interested in this, which android player do you use?
Title: Re: Wifi android device synching
Post by: Freddy Barker on January 24, 2019, 08:06:14 PM
I am doing some research into Wifi synching with android devices and also want to investigate the possibility of 2-way synching with some of the popular android players. Not promising anything but what I want to know is for the people interested in this, which android player do you use?

I've stuck with the Media Monkey Android player as it's always worked good for me.
Title: Re: Wifi android device synching
Post by: psychoadept on January 24, 2019, 08:16:25 PM
I think several of us use GMMP
Title: Re: Wifi android device synching
Post by: Steven on January 24, 2019, 08:28:51 PM
I think several of us use GMMP
Do you know if it provides a way for an external application to retrieve ratings/ playcounts/ tags?
I'll try contacting the dev on http://gonemadmusicplayer.proboards.com
Title: Re: Wifi android device synching
Post by: phred on January 24, 2019, 08:54:21 PM
I think several of us use GMMP
I'm one of those users.
Title: Re: Wifi android device synching
Post by: Freddy Barker on January 24, 2019, 09:56:49 PM
Seems I'm  stil a Beta tester for Rocket Player from JRT studios, who also have a WiFi sync with iTunes App.
The developer (in Texas) was always quick to fix any issues, is:-

Justin Tipton - [email protected]
https://play.google.com/store/apps/dev?id=8177774334723216869
Title: Re: Wifi android device synching
Post by: psychoadept on January 24, 2019, 10:17:57 PM
I think several of us use GMMP
Do you know if it provides a way for an external application to retrieve ratings/ playcounts/ tags?
I'll try contacting the dev on http://gonemadmusicplayer.proboards.com

I know it talks to Simple Last.fm Scrobbler and some other scrobbling apps. Beyond that, I'm not sure.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on January 25, 2019, 02:25:42 AM
I am doing some research into Wifi synching with android devices and also want to investigate the possibility of 2-way synching with some of the popular android players. Not promising anything but what I want to know is for the people interested in this, which android player do you use?


I would love wifi syncing.   I used iSyncr to sync wirelessly from itunes to my devices even while laying in bed in the other room.   But can't use it with musicbee.   I use Poweramp mostly but have Playerpro, Blackplayer, Jet Audio, and others that i have used or purchased before.   I also have Rocket Player but don't use it.   It will work with isyncr to sync ratings to and from itunes or something like that.   but poweramp doesn't use ratings from other players.   The dev only has the ratings for poweramp only.   I believe Player Pro and Jet Audio will let you select what ratings system you want to use such as isyncr.   maybe one of the devs would allow ratings from Musicbee if approached. 
Title: Re: Wifi android device synching
Post by: boroda on January 25, 2019, 07:07:45 AM
gmmp, jet audio.
Title: Re: Wifi android device synching
Post by: klint on January 25, 2019, 09:20:23 AM
I'm using Rocket Player Beta as well (and I'd ready to use their iSyncr apps if needed to sync over wifi).
And I agree that Justin Tipton is quite reactive.
Title: Re: Wifi android device synching
Post by: Steven on February 07, 2019, 07:23:49 PM
An update on this. I have implemented one way synch over Wifi now with a MusicBee synch app that runs on the android phone. It seems (at least for my Wifi setup) to be much faster than MTP transfer. Also it doesnt have the long stall that MTP does after deleting files.
Once I have tested this thoughly and am comfortable it is reliable then I will release it on the play store as I think just those improvements alone justify it (the release process is all new to me so it might take some time)

After that I will then look at implementing 2-way synch if i can get the co-operation of any of the mobile player developers
Title: Re: Wifi android device synching
Post by: phred on February 07, 2019, 07:50:55 PM
Great news, Steven. I look forward to trying out the WiFi Sync from MB to my two Android devices, both of which are running GMMP.
Title: Re: Wifi android device synching
Post by: psychoadept on February 08, 2019, 12:48:34 AM
SWEET, looking forward to this!
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 08, 2019, 02:20:40 AM
An update on this. I have implemented one way synch over Wifi now with a MusicBee synch app that runs on the android phone. It seems (at least for my Wifi setup) to be much faster than MTP transfer. Also it doesnt have the long stall that MTP does after deleting files.
Once I have tested this thoughly and am comfortable it is reliable then I will release it on the play store as I think just those improvements alone justify it (the release process is all new to me so it might take some time)

After that I will then look at implementing 2-way synch if i can get the co-operation of any of the mobile player developers


sweet that sounds awesome.   is that long stall after file deleting something to do with my galaxy tab s 8.4 losing the MicroSD card from the computer?  I can drag and drop files with windows explorer or let it just sit idle and it stays connected in windows but everytime I try to sync with musicbee the computer loses the connection to the SD card before sync is completed .  So i have to babysit the darn thing till it gets synced the rest of the way.   btw Musicbee isn't reading my devices after sync or  failed sync again.   I have to close it out and reconnect the device to get it to read into MB.  Unless you fixed it again in recent versions.   I hadn't updated it for a few weeks.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 08, 2019, 06:13:13 AM
An update on this. I have implemented one way synch over Wifi now with a MusicBee synch app that runs on the android phone. It seems (at least for my Wifi setup) to be much faster than MTP transfer. Also it doesnt have the long stall that MTP does after deleting files.
Once I have tested this thoughly and am comfortable it is reliable then I will release it on the play store as I think just those improvements alone justify it (the release process is all new to me so it might take some time)

After that I will then look at implementing 2-way synch if i can get the co-operation of any of the mobile player developers


This is really awesome! Thank you for implementing this. Please please, if you manage to get 2-way sync enabled, make it optional. I've had too many bad experiences with accidental deletion.
Title: Re: Wifi android device synching
Post by: frankz on February 08, 2019, 06:36:09 AM
Great news, Steven. I look forward to trying out the WiFi Sync from MB to my two Android devices, both of which are running GMMP.
I feel like I need to thank you for pointing me in the direction of GMMP.  I'm new to using my Android phone for music (my old car only had an iPod interface) and was kind of lost in the sea of players. They all had benefits and they all had drawbacks and I felt like I needed to settle for the "least bad" until I installed GMMP.  It ticks all of the boxes for me (Android Auto, Chromecast, ReplayGain, Responsive Support) and is easy to customize in a way that makes it just about perfect for me.  So, thank you.

 As far as Wifi Sync, I'm a wired type guy, but hearing it's faster has gotten me interested!
Title: Re: Wifi android device synching
Post by: phred on February 08, 2019, 01:01:31 PM
Great news, Steven. I look forward to trying out the WiFi Sync from MB to my two Android devices, both of which are running GMMP.
I feel like I need to thank you for pointing me in the direction of GMMP.  I'm new to using my Android phone for music (my old car only had an iPod interface) and was kind of lost in the sea of players. They all had benefits and they all had drawbacks and I felt like I needed to settle for the "least bad" until I installed GMMP.  It ticks all of the boxes for me (Android Auto, Chromecast, ReplayGain, Responsive Support) and is easy to customize in a way that makes it just about perfect for me.  So, thank you.
You're welcome, but if you want to trace it back, it was psychoadept who pointed me to it after being dissatisfied with whatever I was using before - PowerAMP. I will add that GMMP seems to have a more active development path than most (all?) of the others. Not to mention that Customer Support is really great. I got a new FiiO DAP that has it's own OS and music player, but it also has the ability to launch it with Android OS. Which allowed me to use GMMP on it. Since discovering that piece, I've never booted into the default OS.

Quote
As far as Wifi Sync, I'm a wired type guy, but hearing it's faster has gotten me interested!
I too, am quite content to plug in a USB cable and sync. And I don't feel that it's slow. But the ability to not be tethered while syncing is great.
Title: Re: Wifi android device synching
Post by: klint on February 08, 2019, 02:40:15 PM
Great news, thanks Steven!

By the way, when you mention 2 ways, do you mean playcounts/ratings/etc sync'ed back from the phone to MB? That would be awesome indeed, particularly for podcasts (once listened on the phone, can be removed from MB, manually from a smart playlist based on playcounts). I haven't tried GMMP, but I'm using Rocket Player for its excellent audiobook & podcasts support.

Cheers
Title: Re: Wifi android device synching
Post by: Babydoll32 on February 11, 2019, 06:28:03 PM
Hi, Steven.
Great news!!! GMMP and Rocket Player are good ones. My favourite is Rocket Player. Hope you're successful!
Title: Re: Wifi android device synching
Post by: Steven on February 13, 2019, 10:41:57 PM
Any keen testers?

An alpha version is available on:
https://play.google.com/apps/testing/com.getmusicbee.musicbeewifisync

You need to PM me your email address you use for google play store so I can add you to the tester list

You also need the latest v3.3 patch version
https://getmusicbee.com/patches/MusicBee33_Patched.zip

Its pretty straight forward
Run MB and enable Wifi Sync in the Device preferences

From your phone, run the Sync app. The first step is to let the sync app detect the MusicBee server. Hopefully that works easily and only needs to be done this once.
For older android versions (< Nougat) where you have an external sd card, you will also be required to select "Internal Storage" or "SD Card". For more recent Android versions, the sync app detects the storage from your device sync settings in MB.

After that just click "Sync Now" and thats it!

If you tick the "preview changes" checkbox you can see the changes that will happen and click "Proceed" for the copy/ deletes to be done.

I have set it so MB will only accept connections from your private network - you need to be connected to a Wifi hotspot thats common to your computer and phone.
Android versions older than Kit-kat are not supported
Title: Re: Wifi android device synching
Post by: phred on February 13, 2019, 11:18:17 PM
I'm certainly willing to give it a run around the block. PM sent with play store email address.

Title: Re: Wifi android device synching
Post by: Steven on February 14, 2019, 06:52:40 AM
i'll delay this to the weekend as i realise there are a couple more things i want to test
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 14, 2019, 09:35:58 AM
I'm certainly willing to give it a run around the block. PM sent with play store email address.

I'm in too - I have a spare Samsung J5 running Android 6.0.1 (Marshmallow) with 32Gb MicroSD.
Title: Re: Wifi android device synching
Post by: Steven on February 14, 2019, 10:15:49 PM
the people who PM'ed me have now been added as testers

join the testing program via:
https://play.google.com/apps/testing/com.getmusicbee.musicbeewifisync

and its installable from:
https://play.google.com/store/apps/details?id=com.getmusicbee.musicbeewifisync

I suggest you start with "preview changes" ticked so you can see what it would do
If you have trouble connecting, a log file is created (for now) in the Download folder as: MusicBeeWifiSyncErrorLog.txt
Title: Re: Wifi android device synching
Post by: klint on February 14, 2019, 10:55:02 PM
Hi Steven
The app cannot locate the server but the log file is empty. The Windows firewall seems to be ok ("private" is on and I'm on a private network). The wifi setting is checked app is MB. Is there anything else I should check?
Thanks
Title: Re: Wifi android device synching
Post by: zkhcohen on February 14, 2019, 11:01:16 PM
Apparently it doesn't match my previous configuration:

https://i.imgur.com/bZ30KBH.jpg



LOG:

Feb 14, 2019 2:51:29 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 10.3.15.
Feb 14, 2019 2:51:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 10.3.15.1
Feb 14, 2019 2:51:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 10.3.15.27
Feb 14, 2019 2:51:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 10.3.15.17
Feb 14, 2019 2:51:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 10.3.15.15
Feb 14, 2019 2:51:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 10.3.15.107
Feb 14, 2019 2:51:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 10.3.15.1
Feb 14, 2019 2:51:36 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /10.3.15.1 (port 27304) from /10.3.15.16 (port 32778) after 2500ms
Feb 14, 2019 2:51:36 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 10.3.15.27
Feb 14, 2019 2:51:36 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: MusicBeeWifiSyncServer/1.0
Feb 14, 2019 2:51:40 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: MB unable to match volume names (2)
Feb 14, 2019 2:51:40 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: Phone memory
Feb 14, 2019 2:51:40 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: SD card
Feb 14, 2019 2:52:00 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: MB unable to match volume names (2)
Feb 14, 2019 2:52:00 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: Phone memory
Feb 14, 2019 2:52:00 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: SD card
Feb 14, 2019 2:52:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: MB unable to match volume names (2)
Feb 14, 2019 2:52:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: Phone memory
Feb 14, 2019 2:52:34 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: SD card
Title: Re: Wifi android device synching
Post by: zkhcohen on February 14, 2019, 11:25:12 PM
Hi Steven
The app cannot locate the server but the log file is empty. The Windows firewall seems to be ok ("private" is on and I'm on a private network). The wifi setting is checked app is MB. Is there anything else I should check?
Thanks

Other firewalls on the network, potentially?

Use TCPView to see which port MusicBee is listening on.
Title: Re: Wifi android device synching
Post by: phred on February 14, 2019, 11:27:35 PM
I'm also getting the 'can't match the device to an existing configuration' error. I disabled my firewall with no change in behavior.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 15, 2019, 12:03:26 AM
the wifi app says "server not found.  Ensure Musicbee is running.... etc etc"   I opened and closed and reopened Musicbee but still no good.  I checked the setting under the device settings for WIFI on the program.
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on February 15, 2019, 01:41:55 AM
I think several of us use GMMP
Do you know if it provides a way for an external application to retrieve ratings/ playcounts/ tags?
I'll try contacting the dev on http://gonemadmusicplayer.proboards.com

I stumbled upon this thread today and didn't see that your question was answered, so I asked the dev on Discord and he said "Gmmp exports everything to file that can be imported and exported. He can hijack that. Syncing would be nice but i have wayyyyyy too much on my plate already
Its xml format i believe"

EDIT: He added "i mean he can email me [gonemadsoftware(at)gmail(dot)com] and i can help in the sense of give advice.. just not code anything. i do believe there are intents to trigger a backup and restore too.. i think"

I see that in the stable 2.x version of GoneMAD Music Player, you go to Settings > General > Backup > Backup Stats (play counts and ratings).

I currently use Syncthing to 2-way sync my Android music folder with my Windows music folder to work with MusicBee, and GoneMAD writes all standard tags directly to the file, so MusicBee picks up any metadata or ratings changes I make on my phone. Since play counts are handled by the individual databases of your apps, those obviously don't sync, however.

I hope this was helpful.
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 07:04:24 AM
Use TCPView to see which port MusicBee is listening on.
port is 27304
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 07:17:30 AM
Apparently it doesn't match my previous configuration:

https://i.imgur.com/bZ30KBH.jpg
check the error log on the musicbee side (help/ support/ view error log)


To the others, are you running MB with the "wifi synching" checkbox ticked in the MusicBee device preferences tab?
I would need to see the log on your phone and also the last entries in the musicbee error log
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 01:31:25 PM
Using 3.3.6982 I have "enable Wifi transfer with android phones" ticked. I have installed the Wifi sync app on my Samsung S8 running Android v8.0. Clicking "sync now" results in the "can't match device..." error. There is nothing in the MB error log. And I can't find the log on my phone as I'm not sure where it is located. If you could tell me the name of the log on the Android I could search for it.

On my FiiO X5, which is running Android 5.1 Lollipop (with no ability to update it) I can see the app in the play store, but when I try to install it, it's says "no eligible devices." I need to dig into this part a little more so for right now I'm only concerned with the Samsung not being able to connect. I'll update the X5 situation when I actually get the app installed.


Title: Re: Wifi android device synching
Post by: boroda on February 15, 2019, 01:55:19 PM
mb 3.3.6982, wi-fi sync enabled, one plus 2 (android 6.0). I get "server not found" error on my phone. no log on the phone, no related entries in the log on pc.
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 01:58:50 PM
Now that I've finally gotten the app installed on the X5, I selected 'removable SD card' and pressed 'locate server.' This results in 'Server not found. Ensure MB is running on your computer and dWindows firewall is not blocking MB.'

I have temporarily disabled all my security software and confirmed that MB is running and the box is ticked to enable wifi transfer.
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 02:01:20 PM
And I can't find the log on my phone as I'm not sure where it is located. If you could tell me the name of the log on the Android I could search for it.
in the Download folder as: MusicBeeWifiSyncErrorLog.txt
you need to access the file via the Android Files app
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 02:14:57 PM
This is from the Samsung running Android 8.0
Code
Feb 15, 2019 8:07:32 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: MB unable to match volume names (1)
Feb 15, 2019 8:07:32 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: Phone memory
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 15, 2019, 02:19:58 PM
[EDIT]

Galaxy A5 (SM-A500FU) and Galaxy J5 (SM-J500FN) - Android 6.0.1 (Marshmallow)

Device storage/Download/ MusicBeeWifiSyncErrorLog.txt.lck

Device storage/Download/ MusicBeeWifiSyncErrorLog.txt

Code
15 Feb 2019 13:19:00 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
Sn to /192.168.1.254 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
15 Feb 2019 13:19:00 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.71
15 Feb 2019 13:19:00 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.71 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
15 Feb 2019 13:19:00 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.67
15 Feb 2019 13:19:01 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.67 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 02:21:08 PM
This is from the Samsung running Android 8.0
Code
Feb 15, 2019 8:07:32 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: MB unable to match volume names (1)
Feb 15, 2019 8:07:32 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: Phone memory
can you PM me a link to your settings file (help/ support/ view settings)
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 02:30:26 PM
can you PM me a link to your settings file (help/ support/ view settings)
PM sent
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 02:34:36 PM
Here's the error log from the FiiO X5. It looks like it's trying to connect to every device on my network. And being refused by all of them. It should only be trying to connect to 192.168.1.101, which isn't showing in the error log. Note that the log seems to contain more than one attempt to connect.

Code
Feb 15, 2019 8:52:43 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 192.168.1.
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.1
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.2
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.10
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.11
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.103
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.202
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.201
Feb 15, 2019 8:52:46 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.115
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.1
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.1 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.2
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.2 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.10
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.10 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.11
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.11 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.103
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.103 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.202
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.202 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.201
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.201 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:53:16 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.115
Feb 15, 2019 8:53:17 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.115 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.1
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.1 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.2
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.2 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.10
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.10 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.11
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.11 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.103
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.103 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.202
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.202 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:19 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.201
Feb 15, 2019 8:55:20 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.201 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:55:20 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.115
Feb 15, 2019 8:55:21 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.115 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.1
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.1 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.2
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.2 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.10
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.10 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.11
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.11 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.103
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.103 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.202
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.202 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.201
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.201 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
Feb 15, 2019 8:56:09 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.115
Feb 15, 2019 8:56:11 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.115 (port 27304) after 2500ms
Title: Re: Wifi android device synching
Post by: klint on February 15, 2019, 05:24:09 PM
Hi Steven
The app cannot locate the server but the log file is empty. The Windows firewall seems to be ok ("private" is on and I'm on a private network). The wifi setting is checked app is MB. Is there anything else I should check?
Thanks

Other firewalls on the network, potentially?

Use TCPView to see which port MusicBee is listening on.


It's listening to port 27304.
But I just have scanned the ports of the PC from my phone and none is open. So, there must be another firewall. Too bad for me :) (I can't do a thing as it's my office laptop).
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 06:14:24 PM
can you PM me a link to your settings file (help/ support/ view settings)
PM sent
thanks. Can you confirm its the "SM-G950U\Phone" device?
If so, the path explains why its not working and i will need to make a change on the android side as something that is working for me doesnt appear to work for anyone else
Title: Re: Wifi android device synching
Post by: zkhcohen on February 15, 2019, 06:53:44 PM
Apparently it doesn't match my previous configuration:

https://i.imgur.com/bZ30KBH.jpg
check the error log on the musicbee side (help/ support/ view error log)


To the others, are you running MB with the "wifi synching" checkbox ticked in the MusicBee device preferences tab?
I would need to see the log on your phone and also the last entries in the musicbee error log



2/14/2019 2:51:35 PM - Unable to match: SM-G955U\Card\ to a volume: Phone memory; SD card;
2/14/2019 2:51:56 PM - Unable to match: SM-G955U\Card\ to a volume: Phone memory; SD card;
2/14/2019 2:52:29 PM - Unable to match: SM-G955U\Card\ to a volume: Phone memory; SD card;


This is the storage path I have configured for the Device Settings in MusicBee:

SM-G955U\Card\

Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 07:05:40 PM
thanks. Can you confirm its the "SM-G950U\Phone" device?
If so, the path explains why its not working and i will need to make a change on the android side as something that is working for me doesnt appear to work for anyone else
Yes, that's my Samsung S8.
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 07:47:24 PM
I have posted an updated Android version but i think it takes a few hours to roll out and not sure if you get notified when its ready.
It now prompts you to select the storage (Internal or SD Card) as the automatic matching to the musicbee sync settings storage selection is clearly not working for most devices.
I think thats most of the issues reported. I haven't looked yet as why in some cases no connection is made at all but will do so.
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 08:02:45 PM
I have posted an updated Android version but i think it takes a few hours to roll out and not sure if you get notified when its ready.
It now prompts you to select the storage (Internal or SD Card) as the automatic matching to the musicbee sync settings storage selection is clearly not working for most devices.
I think thats most of the issues reported. I haven't looked yet as why in some cases no connection is made at all but will do so.
Thanks. I'll check for the update in a couple of hours.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 15, 2019, 08:42:10 PM
I have posted an updated Android version but i think it takes a few hours to roll out and not sure if you get notified when its ready.
It now prompts you to select the storage (Internal or SD Card) as the automatic matching to the musicbee sync settings storage selection is clearly not working for most devices.
I think thats most of the issues reported. I haven't looked yet as why in some cases no connection is made at all but will do so.

Updated. Now it connects and very quickly determines what needs to be synced.

Here's the new issue:

Feb 15, 2019 12:39:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: /storage/0CB5-7600/Music/Balam Acab/Wander   Wonder/06 - Oh, Why.mp3.part (Permission denied)
Feb 15, 2019 12:40:13 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: Read timed out


Are these Android or Windows perms. which are being denied?
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 08:57:42 PM
Are these Android or Windows perms. which are being denied?
its the Android permissions and I expect its because your card is in read-only mode - the sync app currently doesnt check that status and display an error for that.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 15, 2019, 09:00:13 PM
Are these Android or Windows perms. which are being denied?
its the Android permissions and I expect its because your card is in read-only mode - the sync app currently doesnt check that status and display an error for that.


Is there any way to release the read-only mode? I can readily write to the card from the "Files" app on my phone, and regularly sync to MusicBee directly to the card over a cable connection.

Also, fully recognizing that this is in alpha, but what are the security implications of exposing the wifi-sync port on MusicBee? What web-server API is used? Future support for encryption or at least a sync-key so that users who have multiple MusicBee wifi-sync enabled sessions on the network won't get confused?

Edit: I'm also on a Samsung S8+ if it matters!
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 09:12:20 PM
Tested the new build on the Samsung S8 and it worked perfectly on one test. Will be testing more later today. I haven't tested the new build on the FiiO X5 at this point, but I don't think the 'connection refused' issued has been addressed yet.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 15, 2019, 09:15:32 PM
Tested the new build on the Samsung S8 and it worked perfectly on one test. Will be testing more later today. I haven't tested the new build on the FiiO X5 at this point, but I don't think the 'connection refused' issued has been addressed yet.

Was this to your SD card or the internal device storage?
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 09:16:38 PM
Hmmm ... it always wants to sync the (m3u) playlists even when there have been no changes. I synced and then immediately synced again and the preview shows the same playlists that were just synced.
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 09:18:03 PM
Tested the new build on the Samsung S8 and it worked perfectly on one test. Will be testing more later today. I haven't tested the new build on the FiiO X5 at this point, but I don't think the 'connection refused' issued has been addressed yet.

Was this to your SD card or the internal device storage?
To the internal storage. I don't run a SD card on the S8. I do on the FiiO X5, but haven't gotten to that yet to test the new build.
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 09:18:48 PM
Hmmm ... it always wants to sync the (m3u) playlists even when there have been no changes. I synced and then immediately synced again and the preview shows the same playlists that were just synced.
except for a brief period, its always been the case the playlists are always copied. I dont think i will change that
Title: Re: Wifi android device synching
Post by: zkhcohen on February 15, 2019, 09:21:10 PM
Tested the new build on the Samsung S8 and it worked perfectly on one test. Will be testing more later today. I haven't tested the new build on the FiiO X5 at this point, but I don't think the 'connection refused' issued has been addressed yet.

Was this to your SD card or the internal device storage?
To the internal storage. I don't run a SD card on the S8. I do on the FiiO X5, but haven't gotten to that yet to test the new build.

Cool. When I get a chance in the next hour or two I'll create a separate device profile for my internal storage and try syncing there.
Title: Re: Wifi android device synching
Post by: phred on February 15, 2019, 09:22:05 PM
Hmmm ... it always wants to sync the (m3u) playlists even when there have been no changes. I synced and then immediately synced again and the preview shows the same playlists that were just synced.
except for a brief period, its always been the case the playlists are always copied. I dont think i will change that
Okay, that makes sense. And yes, I do remember on a wired sync it does the same thing.

For the future: show the total number of tracks to be synced. I can't remember if MB does that on a wired sync, but on a desktop it's fairly easy to get a sense of how many tracks will be transferred. It's more difficult to sense on a small screen.
Title: Re: Wifi android device synching
Post by: Steven on February 15, 2019, 10:02:51 PM
Here's the new issue:

Feb 15, 2019 12:39:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: /storage/0CB5-7600/Music/Balam Acab/Wander   Wonder/06 - Oh, Why.mp3.part (Permission denied)
My external sd card works fine but after googling this issue, it appears the permissions denied can be an issue for some sd cards. There are a couple of suggested solutions so i will do that tomorrow but i wont be able to test it to confirm it works
Title: Re: Wifi android device synching
Post by: zkhcohen on February 15, 2019, 10:14:39 PM
Here's the new issue:

Feb 15, 2019 12:39:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: /storage/0CB5-7600/Music/Balam Acab/Wander   Wonder/06 - Oh, Why.mp3.part (Permission denied)
My external sd card works fine but after googling this issue, it appears the permissions denied can be an issue for some sd cards. There are a couple of suggested solutions so i will do that tomorrow but i wont be able to test it to confirm it works

Here's my model of SD card:

https://www.amazon.com/SanDisk-Extreme-microSDXC-UHS-I-Adapter/dp/B01HU3Q6S4

I'll test any changes you make!
Title: Re: Wifi android device synching
Post by: zkhcohen on February 15, 2019, 10:57:56 PM
With the new changes it doesn't seem to matter if I select SD Card or Internal Storage... it will try to sync either. At the moment, as you know, it only syncs to my Internal Storage properly. I'm guessing if I tried to run SD card sync after syncing some files to internal storage, it would be confused about what to sync.

I also experienced a weird timeout after switching sync locations twice:

Feb 15, 2019 2:50:43 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: Read timed out

Now the app is crashing as soon as I hit "sync" after opening it. I sent the crash reports -- not sure if you or Google Play devs see those.

Edit: Restarting my phone didn't fix it. Unchecking Preview Changes allowed me to click "Sync Now" once (and it appeared to start syncing to internal storage), but once I cancelled it, I can't restart it:

Feb 15, 2019 2:58:39 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: malformed input around byte 2
Feb 15, 2019 2:58:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: Read timed out

Edit 2: On the next restart, the sync options disappeared, but I was able to start the sync successfully. After stopping and restarting the sync, I experience the same issue - it times out. Preview Changes is a guaranteed app crash now. Something has permanently changed. I'll hold off on reinstalling the app in case you want me to export something for diagnostic purposes.

Edit 3: Another note - enabling Wifi Sync in MusicBee seems to require a restart of the app AND desktop program in order for the phone to detect it. This might be related to other people's issues. Disabling wifi sync causes MusicBee to immediately stop listening on port 27304. If this is by-design, there should probably be a prompt to tell you to restart after making this change.

Edit 4: Found errors in MusicBee Desktop logs. Sent via PM.
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 09:42:34 AM
Here's the new issue:

Feb 15, 2019 12:39:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: /storage/0CB5-7600/Music/Balam Acab/Wander   Wonder/06 - Oh, Why.mp3.part (Permission denied)
could you try with "preview changes" unticked
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 10:16:07 AM
Also everyone, could you update to the latest patch version as i see one bit of code where its still trying to access the device via MTP rather than Wifi and that can cause locking up

https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 11:57:54 AM
Also everyone, could you update to the latest patch version as i see one bit of code where its still trying to access the device via MTP rather than Wifi and that can cause locking up

https://getmusicbee.com/patches/MusicBee33_Patched.zip

REPORT

Checked all sync settings - worked fine with CABLE

Local Home Broadband
Media Centre laptop running Microsoft 10 Defender

Updated to latest patch
MB Portable v3.3.6986 - Error Log =

16/02/2019 10:34:51 - WPD:The library, drive, or media pool is empty. (Exception from HRESULT: 0x800710D2)

Galaxy J5 SM-J500FN  Android 6.0.1

Device storage/Download/ MusicBeeWifiSyncErrorLog.txt

Code
16 Feb 2019 11:47:35 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 192.168.1.
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.65
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.71
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.254
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.94
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.67
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.65
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.65 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfom
INFO: Ping: 192.168.1.71
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.71 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.254
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.254 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.94
16 Feb 2019 11:47:39 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.94 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)
16 Feb 2019 11:47:39 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.67
16 Feb 2019 11:47:39 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Ping: failed to connect to /192.168.1.67 (port 27304) after 2500ms: isConnected failed: ECONNREFUSED (Connection refused)

Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 01:43:14 PM
REPORT
as i mentioned yesterday, i haven't looked as yet into the connection refused issue. In the interim, make sure you have "wifi sync" ticked in the device preferences, MB is running and also that you have responded to the windows firewall prompt to allow MB access to your private network (or any other firewall software you might be using)
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 02:54:04 PM
as i mentioned yesterday, i haven't looked as yet into the connection refused issue. In the interim, make sure you have "wifi sync" ticked in the device preferences, MB is running and also that you have responded to the windows firewall prompt to allow MB access to your private network (or any other firewall software you might be using)

REPORT UPDATE FYI

Updated latest patch MB Portable v3.3.6986 = YES
Updated Sync App from Play Store? = YES
MusicBee running? = YES
Wifi sync ticked in device prefs? = YES

Not seen any "windows firewall prompts", however TWO instances of 'musicbee.exe' have been ALLOWED on Private AND Public networks.
No other AV or Malaware Bytes software installed..
Error log - similar to earlier report..

Hope this helps - Freddy
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 03:33:38 PM
REPORT UPDATE FYI
use this version:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

and after you attempt to sync from your phone, check the musicbee error log (help/ support/ view error log)
if you dont see any ip address (eg. 192.1.243.2) at the end of the log then something is blocking access to the musicbee server
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 03:57:19 PM
REPORT UPDATE FYI
use this version:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
I assume this patch isn't to address the 'connection refused' issue, correct?
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 04:07:37 PM
REPORT UPDATE FYI
use this version:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

and after you attempt to sync from your phone, check the musicbee error log (help/ support/ view error log)
if you dont see any ip address (eg. 192.1.243.2) at the end of the log then something is blocking access to the musicbee server

UPDATE
Nothing has changed after patch! Same Errors on Android and nothing new in the MB error log!
Maybe it's because I'm running 'Music Bee Remote', 'Unified Remote' and ' RemotePC (which I need) on the Media Server PC and there's a clash with Ports?
I'll do some differential diagnosis....
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 04:15:16 PM
I think it's just a Debug version...
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 04:27:02 PM
UPDATE
Nothing has changed after patch! Same Errors on Android and nothing new in the MB error log!
Maybe it's because I'm running 'Music Bee Remote', 'Unified Remote' and ' RemotePC (which I need) on the Media Server PC and there's a clash with Ports?
from the windows search bar, enter: cmd
then: ipconfig
the ip4v address value is your computer and should be one of the addresses MB is probing in the android log
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 05:35:41 PM
windows search bar, enter: cmd
then: ipconfig
the ip4v address value is your computer and should be one of the addresses MB is probing in the android log

I can confirm that the ip4v address is 192.168.1.73 and BOTH 'Music Bee Remote' using 192.168.1.73.3000 and 'Unified Remote'  is 192.168.1.73.9512

..and according to the Android Error, that did not include 192.168.1.73..
Code
16 Feb 2019 11:47:35 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 192.168.1.
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.65
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.71
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.254
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.94
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: 192.168.1.67
16 Feb 2019 11:47:38 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.65

Hope this helps!
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 05:50:59 PM
Hmmm ... Freddy Barker's error log exhibits the same issue I posted a few pages back (https://getmusicbee.com/forum/index.php?topic=27681.msg155225#msg155225) in that it's pinging every device on the network -except- the one it needs to reach.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 06:03:04 PM
Hmmm ... Freddy Barker's error log exhibits the same issue I posted a few pages back (https://getmusicbee.com/forum/index.php?topic=27681.msg155225#msg155225) in that it's pinging every device on the network -except- the one it needs to reach.

A logical observation @phred - however, if I close the two remote server programs running on the Win PC, and thus releasing the ip4v mentioned 192.168.1.73, and re-run the MB Wifi Sync App, then the error log is empty??
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 06:40:14 PM
What I find odd is that from my phone there's no issue with the WiFi sync. But from the DAP it's hitting all IPs in the network except the one it needs. And one of the other IPs does have two servers running on it with non-conflicting ports. But the PC that's not being seen by the sync app isn't running any server (other than MB.)
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 07:12:21 PM
I wish I could be of more help other than just Alpha testing. The last time I wrote any sort of computer code, was on a 48k Sinclair Spectrum circa 1980.
I can read and carry out simple instructions though -  ;D

The DAP runs Android too right?  - Freddy
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 07:15:39 PM
i have made an attempt to address the server not found issue. Send me the android log if it still doesnt work
The version is 0.1.3 and it will be an hour or two before its available on the store

Also a reminder to update to the latest v3.3 patch which also fixes some issues
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 07:26:37 PM
'@Steven
Any way to send the App file(s) APK? directly to testers in order to bypass the slightly annoying Google Play Store delay?
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 08:12:51 PM
'@Steven
Any way to send the App file(s) APK? directly to testers in order to bypass the slightly annoying Google Play Store delay?
sure - i have added yourself and phred to the internal test list which is supposed to take minutes to be available:
https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 08:22:13 PM
i have made an attempt to address the server not found issue. Send me the android log if it still doesnt work
Good news, bad news.
The good is that my X5 is now seeing and connecting to MB.
The bad is that it says 'no changes required' after doing 'preview changes' / 'sync now'
I know there are over one hundred tracks in MB's library that are not on the X5, so I will connect via USB and see how many tracks are waiting to be synced and see if I notice anything else that might be causing this.

sure - i have added yourself and phred to the internal test list which is supposed to take minutes to be available:
https://play.google.com/apps/internaltest/4700978781087552506
Thanks for this. I had already downloaded the new build. Actually, since I'm updating two devices, it's easier for me to use a web browser on my PC when I can download the app to both devices without having to swap out cards. (While the X5 has WiFi, I haven't, and probably won't) install an email client on it.
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 08:28:43 PM
There are four error log files on the X5, but three of the have zero bytes. The one with data:
Code
Feb 16, 2019 3:09:12 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 192.168.1., exclude=182
Feb 16, 2019 3:09:15 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: 192.168.1.101
Feb 16, 2019 3:09:15 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Ping: MusicBeeWifiSyncServer/1.0

MB wired to the X5 is showing 220gb to be copied to the device, along with a number of deletions. This large number doesn't surprise me as not only have I been adding new CDs to the library, I've been updating and changing tags, along with redoing the volume analysis.

So there's no reason I can see that would cause the WiFi sync to say there are no changes required.
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 08:32:29 PM
can you try again, and if it still says none, i guess i can release a debug version on the internal testing channel
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 08:33:57 PM
'@Steven
Any way to send the App file(s) APK? directly to testers in order to bypass the slightly annoying Google Play Store delay?
sure - i have added yourself and phred to the internal test list which is supposed to take minutes to be available:
https://play.google.com/apps/internaltest/4700978781087552506

Awesomeness, I joined "The internal test program", restarted the device, & was notified of an update - took 2 minutes!

Eureka!
Made some progress! Got past the original error, unfortunately encountered another problem:
 "ERROR MESSAGE - The storage is marked as read-only and cannot be synchronised"
Nothing in the Android error log this time..

Latest patch MB Portable v3.3.6986 - Error Log..

16/02/2019 20:23:18 - WifiSync: 192.168.1.88
16/02/2019 20:23:18 - WifiSync: 192.168.1.88
16/02/2019 20:23:25 - WifiSync: 192.168.1.88
16/02/2019 20:23:25 - SM-J500FN\Card\ not mounted: READONLY
16/02/2019 20:28:57 - WifiSync: 192.168.1.88
16/02/2019 20:28:57 - SM-J500FN\Card\ not mounted: READONLY
16/02/2019 20:29:42 - WifiSync: 192.168.1.88
16/02/2019 20:29:42 - SM-J500FN\Card\ not mounted: READONLY
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 08:38:15 PM
can you try again, and if it still says none, i guess i can release a debug version on the internal testing channel
Tried it four times, all with the same result: no changes required. Also four files in the error log all with zero bytes.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 08:42:49 PM
Additionally..

"ERROR MESSAGE - The storage is marked as read-only and cannot be synchronised"

Obviously(?) the SD Card is NOT read-only as the message indicates, as it was sync'd ok with 30 tracks a while ok but via cable - there ALWAYS seems to be some fiddling required with Apps writing to SD cards...

Freddy
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 08:44:40 PM
can you try again, and if it still says none, i guess i can release a debug version on the internal testing channel
Tried it four times, all with the same result: no changes required. Also four files in the error log all with zero bytes.
are there any errors in the MB error log?

also, run this patch version which will record the number of changes on the musicbee side in the error log
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 09:00:24 PM
are there any errors in the MB error log?
Nothing other than the IP. One for each time I've tried to sync.
2/16/2019 3:41:48 PM - WifiSync: 192.168.1.183
I don't know if it will make a difference, but I'm about to change the DHCP IP on the X5 to a static IP.

Plus about 45 entries like this:
2/16/2019 3:41:18 PM - Q:\Eric Clapton\I Still Do\Eric Clapton - 9 - I Dreamed I Saw St. Augustine.mp3:refresh:The parameter is incorrect. [Q:\Eric Clapton\I Still Do\]
All stating the parameter is incorrect. But I've seen this before and a) it doesn't affect playback, and b) I'm fairly certain it has nothing to do with the WiFi sync.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 09:03:46 PM
Just tried to sync, with "Preview changes" - this time I switched from "Removable SD Card" to "Internal Storage", all when as expected and the copying of tracks proceeding quicker than with cable!

Nice one @Steven & @Phred
Thanks for your patience and expertise, office closed now, until tomorrow  :D
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 09:04:54 PM
Additionally..

"ERROR MESSAGE - The storage is marked as read-only and cannot be synchronised"

Obviously(?) the SD Card is NOT read-only as the message indicates, as it was sync'd ok with 30 tracks a while ok but via cable - there ALWAYS seems to be some fiddling required with Apps writing to SD cards...
i have removed the read-only check on the internal testers channel but you might find it fails when writing new files
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 09:06:01 PM
@phred, did you see this?

also, run this patch version which will record the number of changes on the musicbee side in the error log
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 09:08:57 PM
@phred, did you see this?

also, run this patch version which will record the number of changes on the musicbee side in the error log
https://getmusicbee.com/patches/MusicBee33_Patched.zip

Do I grab this patch too??
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 09:12:19 PM
I don't know if it will make a difference, but I'm about to change the DHCP IP on the X5 to a static IP.
Changed the IP to static and there's no change in the result. Changed is confirmed by looking at the error log from MB.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 16, 2019, 09:21:56 PM
Just tried to sync, with "Preview changes" - this time I switched from "Removable SD Card" to "Internal Storage", all when as expected and the copying of tracks proceeding quicker than with cable!

Nice one @Steven & @Phred
Thanks for your patience and expertise, office closed now, until tomorrow  :D

Couldn't resist one last try syncing to SD card - failed the 'read-only' but this time was an Error log entry on the Android:

16 Feb 2019 21:15:03 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: Storage is marked as read-only: /storage/B2D4-1CF9
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 09:29:02 PM
@phred, did you see this?

also, run this patch version which will record the number of changes on the musicbee side in the error log
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Apparently I missed that patch.
Here's the latest error log:
2/16/2019 4:26:44 PM - WifiSync: 192.168.1.117
2/16/2019 4:26:47 PM - ShowPreviewResults=0

Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 09:30:30 PM
Couldn't resist one last try syncing to SD card - failed the 'read-only' but this time was an Error log entry on the Android:

16 Feb 2019 21:15:03 com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: Start: Storage is marked as read-only: /storage/B2D4-1CF9
you are not using the latest internal test version (0.1.4)
Title: Re: Wifi android device synching
Post by: Steven on February 16, 2019, 09:37:32 PM
Apparently I missed that patch.
Here's the latest error log:
2/16/2019 4:26:44 PM - WifiSync: 192.168.1.117
2/16/2019 4:26:47 PM - ShowPreviewResults=0
I still have your settings file - is the device one of these:
  <DeviceId>X5_SD1</DeviceId>
  <Name>X5_SD1</Name>
  <RootPath>V:\</RootPath>
  <DeviceType>3</DeviceType>

  <DeviceId>X5</DeviceId>
  <Name>X5</Name>
  <RootPath>T:\</RootPath>
  <DeviceType>3</DeviceType>


if yes, they are both configured as USB devices and thats probably why its not working
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 09:52:45 PM
I still have your settings file - is the device one of these:
  <DeviceId>X5_SD1</DeviceId>
  <Name>X5_SD1</Name>
  <RootPath>V:\</RootPath>
  <DeviceType>3</DeviceType>

  <DeviceId>X5</DeviceId>
  <Name>X5</Name>
  <RootPath>T:\</RootPath>
  <DeviceType>3</DeviceType>

if yes, they are both configured as USB devices and thats probably why its not working
Yes, they're both the FiiO X5. The first (X5_SD1, path V:) is the SD card that contains the music files and playlists. The other (X5, path T:) is the internal memory.

So how do I remove the USB configuration? I don't think deleting the device from the Devices tab will do it as a device needs to be connected in order to set it up the first time.

Hmmm ... in Device Preferences I see a new device 'Removable Disk'. If this is the X5, how would I point the WiFi to it?
Title: Re: Wifi android device synching
Post by: phred on February 16, 2019, 10:00:10 PM
STOP THE PRESSES!!

I just did a power-cycle on the X5 and told it to preview changes and it not only connected to SD_1, but it showed a lot of files to be synced. There are seemingly hundreds of files to sync (which would be correct) but I don't have the time right now to let it go. I will try it again in an hour or two and report back. But the bottom line right now is for you (Steven) to do nothing else. Don't create a debug version.
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 12:54:52 AM
Apparently I spoke too soon. (Don't you hate when that happens?)

The preview show a number of songs to be transferred to the X5 and I started the sync and walked away. When I came back a short while later, the sync had stopped with the error message "A non-recoverable error occurred during the synchronization process. Restart the app and try again." Which I did, but got the same error. Restarted the X5 and attempted again only to be told that it couldn't find the server. Closed and relaunched MB and started the sync and it started working. After about ten minutes I got the non-recoverable error again.

Here are the error logs starting with the most recent:

Code
Feb 16, 2019 7:45:14 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: Error reading file
Feb 16, 2019 7:45:15 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: bad byte at 1

Code
Feb 16, 2019 7:26:05 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: failed to connect to /192.168.1.101 (port 27304) after 2500ms
Feb 16, 2019 7:26:05 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 192.168.1., exclude=116
Feb 16, 2019 7:45:14 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: Error reading file
Feb 16, 2019 7:45:15 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: bad byte at 1

Code
Feb 16, 2019 7:25:57 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: failed to connect to /192.168.1.101 (port 27304) after 2500ms
Feb 16, 2019 7:25:57 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 192.168.1., exclude=116
Feb 16, 2019 7:26:05 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: failed to connect to /192.168.1.101 (port 27304) after 2500ms
Feb 16, 2019 7:26:05 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: FindCandidate: Probing 192.168.1., exclude=116
Feb 16, 2019 7:45:14 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: Error reading file
Feb 16, 2019 7:45:15 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: bad byte at 1

Does "bad byte at 1" indicate a corrupt mp3 file?
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 17, 2019, 03:32:50 AM
I still get server not found.   I tried making a new entry in my router firewall and use the port number someone said they used several pages back.   Not sure what I'm missing.   
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 03:47:40 AM
I still get server not found.   I tried making a new entry in my router firewall and use the port number someone said they used several pages back.   Not sure what I'm missing.
Make sure you're using the latest MB patch as Steven made a few changes. The link is in my sig or in Reply #118 in this thread. Also update the WiFi Sync app as (again) Steven has updated it. New version as of this writing is 0.1.4 although I don't see any version number on the Play store nor in the app. But update it.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 17, 2019, 03:50:26 AM
I still get server not found.   I tried making a new entry in my router firewall and use the port number someone said they used several pages back.   Not sure what I'm missing.
Make sure you're using the latest MB patch as Steven made a few changes. The link is in my sig or in Reply #118 in this thread. Also update the WiFi Sync app as (again) Steven has updated it. New version as of this writing is 0.1.4 although I don't see any version number on the Play store nor in the app. But update it.

I did use the newest patch before posting.   I don't know if i have the newest app update.   There's no settings or info within the app itself to see what version it is or what port number it uses.   I still can't get it to work after pausing my antivirus.   Musicbee is already allowed on the windows firewall list. 
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 09:20:43 AM
on your phone goto
Settings/ Apps and Notifications/ MusicBee Wifi Sync and scroll to the bottom which will show the version number
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 10:20:07 AM
on your phone goto
Settings/ Apps and Notifications/ MusicBee Wifi Sync and scroll to the bottom which will show the version number

Slightly different on my older Android devices.

Settings / Application Manager / Music Bee WiFi Sync /  App info

If possible and for clarity when running App, can the version number be shown on App screen?

(I don't have auto-updates turned on)
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 10:56:45 AM
Does "bad byte at 1" indicate a corrupt mp3 file?
could you run this debug version of MusicBee
https://www.mediafire.com/file/xs6pqgfp6mnmj2w/MusicBeeDebugSockets.zip/file

it will potentially write a lot of info to the error log, so i will need a zip of the entire file
i will probably also need to create an android debug version depending on the info
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 01:40:58 PM
REPORT 17 FEB
Updated latest patch MB Portable v3.3.6986
Updated Play Store Sync App to v0.1.4

WiFi sync to Internal Memory - PERFECT and fast.

WiFi sync to SD Card - Error Message:-

"A non-recoverable error occurred during the synchronization process.  Restart the app and try again"

Android Error log = 1 entry:
17 Feb 2019 13:23:19 com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: /storage/B2D4-1CF9/Music/The Beatles/Sgt. Pepper's Lonely Hearts Club Band/1-11 - Good Morning Good Morning.m4a.part: open failed: EACCES (Permission denied)

MB Error log - sending via PM ??
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 01:46:47 PM
could you run this debug version of MusicBee
https://www.mediafire.com/file/xs6pqgfp6mnmj2w/MusicBeeDebugSockets.zip/file

it will potentially write a lot of info to the error log, so i will need a zip of the entire file
i will probably also need to create an android debug version depending on the info
@Steven- first off, I apologize to you as upon further inspection, I was running 0.1.3 on both devices. I received no notification about 0.1.4 through the 'internal' list. However, I now have it on both and am getting ready to try again, and with the debug MB version installed. I should also note that from yesterday's MB log, I see the following entry:
Code
2/16/2019 7:45:22 PM - 10.0.14393.0 - 3.3.6986.37519 P - WifiSyncAbort: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.

About to sync the X5 and will report back.
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 01:57:25 PM
SEVERE: ReceiveFile: /storage/B2D4-1CF9/Music/The Beatles/Sgt. Pepper's Lonely Hearts Club Band/1-11 - Good Morning Good Morning.m4a.part: open failed: EACCES (Permission denied)
in the android Settings/ Apps & Notifications does MB Wifi Sync have Storage permissions enabled
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 02:23:48 PM
SEVERE: ReceiveFile: /storage/B2D4-1CF9/Music/The Beatles/Sgt. Pepper's Lonely Hearts Club Band/1-11 - Good Morning Good Morning.m4a.part: open failed: EACCES (Permission denied)
in the android Settings/ Apps & Notifications does MB Wifi Sync have Storage permissions enabled

In Applications Manager / Music Bee WiFi Sync / Permissions / Storage = YES
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 02:52:12 PM
Regarding the issues with permissions on external sd cards, i think i will need to use a different api for file handling so it will probably be a few days before progress is made on that front. I am a bit baffled why it all works fine for me on 2 different devices though - maybe something to do with developer access to the device.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 02:55:42 PM
Regarding the issues with permissions on external sd cards, i think i will need to use a different api for file handling so it will probably be a few days before progress is made on that front. I am a bit baffled why it all works fine for me on 2 different devices though - maybe something to do with developer access to the device.

You're so close - don't despair..
There is nearly always a bit of faff for any app regarding permissions, even when changing to a different MicroSD Card using the same app on the same phone AND using the same SD Card on another phone!
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 03:28:39 PM
does anyone have experience with other apps that write to shared folders (such as music or photos) on an external sd card?
I was wondering, do you actually need to select the sd card from this dialog?

https://i.stack.imgur.com/8zjcC.png
Title: Re: Wifi android device synching
Post by: frankz on February 17, 2019, 03:35:32 PM
Yes, I have been prompted to (even taken to) that screen to select the card on installing music apps (I just went through a bunch, so it's fresh in my mind). 
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 03:55:07 PM
SEVERE: ReceiveFile: /storage/B2D4-1CF9/Music/The Beatles/Sgt. Pepper's Lonely Hearts Club Band/1-11 - Good Morning Good Morning.m4a.part: open failed: EACCES (Permission denied)
in the android Settings/ Apps & Notifications does MB Wifi Sync have Storage permissions enabled

In Applications Manager / Music Bee WiFi Sync / Permissions / Storage = YES

Looking at an old Music App - the MicroSD Card has the same ID number "storage/B2D4-1CF9/Music" but it seems to be asking for access to Card AND Folders...
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 04:00:22 PM
does anyone have experience with other apps that write to shared folders (such as music or photos) on an external sd card?
I was wondering, do you actually need to select the sd card from this dialog?

https://i.stack.imgur.com/8zjcC.png


YES -  Always and it hardly ever seems to work first time !!
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 04:11:00 PM
A successful sync!! I don't really know how long it took as I had to leave for a while.

@Steven- I will PM a ZIP of MB's error log in a few minutes. The X5 error log is empty - zero bytes.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 04:17:00 PM
A successful sync!! I don't really know how long it took as I had to leave for a while.

@Steven- I will PM a ZIP of MB's error log in a few minutes. The X5 error log is empty - zero bytes.

Result!
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 04:30:03 PM
@Steven-

I have removed the debug version and repatched with 3.3.6986. I deleted one directory from the X5 and launched a sync, with previewed and synced the files in that 'missing' directory successfully.
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 04:33:31 PM
@Steven-

I have removed the debug version and repatched with 3.3.6986. I deleted one directory from the X5 and launched a sync, with previewed and synced the files in that 'missing' directory successfully.
so you are able to write to an external sd card without the permissions error. What android version is the X5 on?

Also there isnt anything in the log you sent that sheds any light on the bad byte error
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 04:57:06 PM
so you are able to write to an external sd card without the permissions error. What android version is the X5 on?

Also there isnt anything in the log you sent that sheds any light on the bad byte error
(I thought I answered this, but don't see the reply anywhere.)

Correct, I saw no sign of permissions error during the huge and successful sync. The X5 uses Android 5.1.1 and the sync wrote to an external SanDisk 400gb micro SD card. The device can take two external cards, but I only use one.

Yes, I looked through the MB log for the bad byte error and didn't see anything.

The only thing remaining for me, and off-topic, so when you have time, your suggestions/thoughts on the 'incorrect parameter' entries in the MB log and that I mentioned in the PM.

I've got a couple more CDs to RIP and add to the library today, and will follow that with more syncing. I'll report back if something isn't working, but right now things look great.

Thanks.
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 07:59:20 PM
Subsequent transfers via WiFi on both devices are working as expected.

One negative thing I noticed, and maybe this simply hasn't been implemented yet, tracks are not being deleted. I transferred a 27 track CD and all was well. I realized that two of those tracks didn't belong to that CD, so I deleted them from the ripped album in MB and then resynced. Both of the 'deleted' tracks are still present on the X5. MB's error log and WiFi app error log shows nothing to indicate and issue.
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 08:22:13 PM
Both of the 'deleted' tracks are still present on the X5. MB's error log and WiFi app error log shows nothing to indicate and issue.
it should be working. do you have "delete files" ticked in your sync settings for the X5 ?
Note also that MB is matching the sync settings against the device name, so will only find the device in MB named "X5"
Title: Re: Wifi android device synching
Post by: psychoadept on February 17, 2019, 08:56:13 PM
Yesterday I tried to set everything up, made sure I was on the current MB and all, but kept getting a message (on the phone) that it couldn't find the server. Had to leave before I could troubleshoot much.

Today, I tried it again and it connected. No idea what changed. I started a sync and could see the progress on both the phone and the computer. Then, not long into it, I got a message (again on the phone) that there was an "unrecoverable error". Since then, I just get the message again that it can't find the server.  I've tried updating MB again but that didn't help.

Phone error log here: https://drive.google.com/file/d/1XcFuidrpoOLOInt26xx0fclMfu04pUaN/view?usp=sharing

The MusicBee error log has a bunch of errors that seem to be related to deleting things. This is the last one (which is a little longer):

Code
2/17/2019 1:43:48 PM - 10.0.17763.0 - 3.3.6986.27856 - System.Exception: delete SM-G950U\Card\MusicBee\Music\B\Billy J Kramer & The Dakotas\1964 - Little Children\01 Little Children.MP3 ---> #=zMzJvP0fc8uTB5HA$B7onv6aXcmY_: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.IO.IOException: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
   at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)
   at System.IO.BufferedStream.Read(Byte[] array, Int32 offset, Int32 count)
   at #=z53KzvbSw7$Dh6kjjUwGjU7WJ1eTz.#=zxRyJyho=()
   --- End of inner exception stack trace ---
   at #=z53KzvbSw7$Dh6kjjUwGjU7WJ1eTz.#=zxRyJyho=()
   at #=z53KzvbSw7$Dh6kjjUwGjU7WJ1eTz.#=zV5qJFh0=(#=z1eOxCjD1iRUQqmZ2Hw== #=zzzPxjjQ=, Boolean #=zfuEfpdJI2zo1I9VkeQ==)
   at #=z53KzvbSw7$Dh6kjjUwGjU7WJ1eTz.#=zV5qJFh0=(#=zRI3R4rQXuPdOxopMoblAvA8= #=zfEkmJK4=, Boolean #=zfuEfpdJI2zo1I9VkeQ==, Boolean #=zf7zd9qCHZQPq)
   at #=z2j$HbXgKXKJK7IHIAPtp90k=.#=zQAifV1u$xxjZBAgaUi0LZzY0eO5n(#=zRI3R4rQXuPdOxopMoblAvA8= #=zeOK0pMk=, Object #=zc__S86IeT0ME)
   --- End of inner exception stack trace ---


Update: I dug around in our router settings and discovered that somehow my computer's MAC address was attached to a profile for an iPhone that belonged to somebody who stayed here briefly a year ago. *shrug* I reset the network map and so far it's staying connected this time. But I'm still getting the unrecoverable error message right after I start a sync. Now MusicBee has error messages like this:

Code
2/17/2019 3:26:05 PM - Copy C:\Users\scampbll\Music\Music\C\C2C\2012 - Tetra - 07 Happy.mp3 to SM-G950U\Card\MusicBee\Music\C\C2C\2012 - Tetra - 07 Happy.mp3
2/17/2019 3:26:05 PM - 10.0.17763.0 - 3.3.6987.19538 - WifiSyncAbort: Found invalid data while decoding.

2/17/2019 3:26:05 PM - Copy C:\Users\scampbll\Music\Music\G\Glen Campbell\1977 - Southern Nights - 01 Southern Nights.MP3 to SM-G950U\Card\MusicBee\Music\G\Glen Campbell\1977 - Southern Nights - 01 Southern Nights.MP3
2/17/2019 3:26:05 PM - 10.0.17763.0 - 3.3.6987.19538 - WifiSyncAbort: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine.

The phone error log says something about permission denied... I checked the app permissions and it has read/write access for the SD card.
Title: Re: Wifi android device synching
Post by: Steven on February 17, 2019, 09:51:47 PM
@psychoadept
Apart from phred and myself, i think most people are having permission issues on external sd cards. I will need to implement a different api and it will take some time as its quite difficult navigating around the mess that google has implemented for sd card handling
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 10:14:15 PM
it should be working. do you have "delete files" ticked in your sync settings for the X5 ?
Note also that MB is matching the sync settings against the device name, so will only find the device in MB named "X5"
To be honest, it's a little difficult to tell which profile is being used. I have "Removable Disk" which is new since I started testing WiFi and has the storage path set to U:\. I have "X5" which uses storage path T:\, and there is "X5_SD1" which is the label of the SD card and has a storage path of V:\. All three of them are set to delete files. T:\ and V:\ represent the internal and external (SD card) respectively when the X5 is connected via USB.

I'm going to delete "Removable Disk" and do some more testing. Overall I'm pretty happy with how this is working. I just hope the other users can get squared away soon.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 17, 2019, 10:19:54 PM
@psychoadept
Apart from phred and myself, i think most people are having permission issues on external sd cards. I will need to implement a different api and it will take some time as its quite difficult navigating around the mess that google has implemented for sd card handling

May it be worth contacting Justin at JRT Studios for a bit of insider info?

http://www.jrtstudio.com/contact-us
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 10:36:52 PM
Today, I tried it again and it connected. No idea what changed. I started a sync and could see the progress on both the phone and the computer. Then, not long into it, I got a message (again on the phone) that there was an "unrecoverable error". Since then, I just get the message again that it can't find the server.  I've tried updating MB again but that didn't help.
@psychoadept-
From the "SM-G950U\Card" in your error message, I assume you're using a Samsung Galaxy S8, correct?
- Double-check the version number of the app. It should be 0.1.4. Settings > Apps > MusicBee Wifi Sync >scroll to the very bottom.
- While there tap on 'Permissions' and make sure 'storage' is turned on. (I know you already checked, but humor me please.)
- Next time the sync fails, exit and restart MB.

I don't think that will get you going, but it's worth a shot. Those are the steps I took when troubleshooting the S8. Which has worked perfectly.
Title: Re: Wifi android device synching
Post by: phred on February 17, 2019, 10:59:29 PM
it should be working. do you have "delete files" ticked in your sync settings for the X5 ?
Note also that MB is matching the sync settings against the device name, so will only find the device in MB named "X5"
To be honest, it's a little difficult to tell which profile is being used. I have "Removable Disk" which is new since I started testing WiFi and has the storage path set to U:\. I have "X5" which uses storage path T:\, and there is "X5_SD1" which is the label of the SD card and has a storage path of V:\. All three of them are set to delete files. T:\ and V:\ represent the internal and external (SD card) respectively when the X5 is connected via USB.

I'm going to delete "Removable Disk" and do some more testing. Overall I'm pretty happy with how this is working. I just hope the other users can get squared away soon.
I deleted the "Removable Disk" profile and now the sync wants to delete all 27,000+ tracks from the X5 which I did not allow. I now know which profile belongs (belonged) to the X5 when using WiFi. I have rebooted the X5 and have restarted MB and I can't get the "Removable Disk" profile to be recreated. I tried reinstalling it (without uninstalling) and the Play Store tells me I have no eligible devices.

I took the APK from the S8 and installed it on the X5 and it still won't create a profile. I uninstalled if from the X5 and reinstalled it. Still no profile. I do not want to delete 27k+ files and have to (or not be able to) resync them.

Any suggestions?
Title: Re: Wifi android device synching
Post by: psychoadept on February 18, 2019, 01:56:55 AM
Today, I tried it again and it connected. No idea what changed. I started a sync and could see the progress on both the phone and the computer. Then, not long into it, I got a message (again on the phone) that there was an "unrecoverable error". Since then, I just get the message again that it can't find the server.  I've tried updating MB again but that didn't help.
@psychoadept-
From the "SM-G950U\Card" in your error message, I assume you're using a Samsung Galaxy S8, correct?
- Double-check the version number of the app. It should be 0.1.4. Settings > Apps > MusicBee Wifi Sync >scroll to the very bottom.
- While there tap on 'Permissions' and make sure 'storage' is turned on. (I know you already checked, but humor me please.)
- Next time the sync fails, exit and restart MB.

I don't think that will get you going, but it's worth a shot. Those are the steps I took when troubleshooting the S8. Which has worked perfectly.

None of that worked. :( I even tried uninstalling and reinstalling the app, but that has put me back at the "server not found" message.

Regarding the permissions, it looks like some recent Android update changed how write permissions vs read permissions are handled. It was deleting ok, but fails as soon as it tries to copy a file.

Meanwhile, trying to get it to just connect again...


Update: Regarding the connection problem, the error messages indicate that the app is trying to connect alternately to 192.168.1.132 (our wireless printer) and 192.168.1.124 (my roommate's phone). No wonder it doesn't find anything!
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 18, 2019, 03:34:08 AM
I was finally able to connect to server and sync but then later went to check on it and the sync failed, it said on the phone.

update just tried again and after about 10 seconds it gave the error again.   "a non-recoverable error occurred during the sync process, restart app and try again."  The program still shows synchronizing files 2% complete.

update:   It's trying to copy a music video as the first file but i can't find it in my playlists so I don't know if it's pulling it from the video folder on either the phone or the computer.
Title: Re: Wifi android device synching
Post by: Bee-liever on February 18, 2019, 04:37:08 AM
MB 3.3.6987.19538

Had to disable 3rd-Party firewall [Comodo] and then Windows firewall [automatically activated when Comodo disabled] to get sever connection.

Closest I've got is 92% complete.
Like railfan-eric28 and psychoadept, I keep getting the "unrecoverable error".

WifiSyncErrorLog:
Code
18/02/2019 2:50:21 pm com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: Error reading file
18/02/2019 3:13:40 pm com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: Error reading file

MBeeErrorLog:
Code
18/02/2019 2:56:55 PM - D:\Track01.cda:refresh:The device is not ready. [D:\]
18/02/2019 3:04:44 PM - D:\Track01.cda:refresh:The device is not ready. [D:\]
18/02/2019 3:14:26 PM - Copy S:\My Music\My Music Library\Popular\Standard Releases\L\Linda Ronstadt\198411-Lush Life\02 - Skylark.flac to 4024E\SD card\Music\Linda Ronstadt\Lush Life\1·02 - Skylark.mp3
18/02/2019 3:14:26 PM - Copy S:\My Music\My Music Library\Popular\Standard Releases\L\Linda Ronstadt\198411-Lush Life\03 - It Never Entered My Mind.flac to 4024E\SD card\Music\Linda Ronstadt\Lush Life\1·03 - It Never Entered My Mind.mp3
18/02/2019 3:14:26 PM - 10.0.17763.0 - 3.3.6987.19538 P - WifiSyncAbort: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

Off Topic (?)
The logged error
Code
13/02/2019 10:56:35 AM - D:\Track01.cda:refresh:The device is not ready. [D:\]
suddenly appeared on this date and now occurs every time I start MB.
Title: Re: Wifi android device synching
Post by: Steven on February 18, 2019, 06:58:17 AM
Code
13/02/2019 10:56:35 AM - D:\Track01.cda:refresh:The device is not ready. [D:\]
suddenly appeared on this date and now occurs every time I start MB.
does it go away on restart if "wifi sync" is unticked?
Title: Re: Wifi android device synching
Post by: Bee-liever on February 18, 2019, 07:43:21 AM
does it go away on restart if "wifi sync" is unticked?
No it doesn't, but I think it's a bit of a red herring.
Don't think it's a coincidence that it started 13/2 and ,checking Windows 10 update log, there was the 2019-02 cumulative Update and the 2019-02 .NET Update  installed on the same day.  :-X
Title: Re: Wifi android device synching
Post by: phred on February 18, 2019, 01:24:35 PM
I deleted the "Removable Disk" profile and now the sync wants to delete all 27,000+ tracks from the X5 which I did not allow. I now know which profile belongs (belonged) to the X5 when using WiFi. I have rebooted the X5 and have restarted MB and I can't get the "Removable Disk" profile to be recreated. I tried reinstalling it (without uninstalling) and the Play Store tells me I have no eligible devices.

I took the APK from the S8 and installed it on the X5 and it still won't create a profile. I uninstalled if from the X5 and reinstalled it. Still no profile. I do not want to delete 27k+ files and have to (or not be able to) resync them.

Any suggestions?
I resolved this by restoring MusicBee3Settings.ini from a backup copy made when 'removable disk' was present. All is well.
Title: Re: Wifi android device synching
Post by: psychoadept on February 18, 2019, 03:11:58 PM
I saw that the app had updated so just tried connecting again, and it sees MusicBee now. Still can't transfer anything.
Title: Re: Wifi android device synching
Post by: phred on February 18, 2019, 03:40:39 PM
I saw that the app had updated so just tried connecting again, and it sees MusicBee now. Still can't transfer anything.
What is the version number of this updated app? My Play Store tells me that "this app is compatible with all of your devices" yet when I try to (re)install it I'm told "No eligible devices for app install."
Title: Re: Wifi android device synching
Post by: psychoadept on February 18, 2019, 03:47:26 PM
What is the version number of this updated app? My Play Store tells me that "this app is compatible with all of your devices" yet when I try to (re)install it I'm told "No eligible devices for app install."

It still says 0.1.4 for me.
Title: Re: Wifi android device synching
Post by: phred on February 18, 2019, 04:05:01 PM
It still says 0.1.4 for me.
Thanks. So there's no update yet as 0.1.4 is from Saturday. I would think Steven would say so here when he's issued an update.
Title: Re: Wifi android device synching
Post by: phred on February 18, 2019, 05:41:34 PM
Using 0.1.4 and 3.3.6987 I'm finding files aren't being deleted from the device (X5) as expected. "Delete tracks that are not on the auto-sync list from the device" and "confirm deletion" are both ticked. Two examples...

1- I ripped one track from a CD and using WiFi Sync I transferred it to the X5. I then deleted the track using MB. I did another sync and it said "No changes required."

2- I created an album of three tracks and then synced them via WiFi. Worked as expected. I then changed the name of the album from within MB and synced again. I got a "successful sync" message. Looking at the Music directory on the X5 I see than -both- albums were present. The original album still existed along with the newly-named album.
Title: Re: Wifi android device synching
Post by: Steven on February 18, 2019, 06:38:04 PM
it would be best for me if everyone holds off testing and reporting issues while i research the android api's available for storage - its truely a mess and poorly documented by google!
Title: Re: Wifi android device synching
Post by: Steven on February 18, 2019, 07:49:09 PM
Could someone who has been having the permissions problem for files on external sd cards try this version (0.1.5)?
Unfortunately because i dont have the issue with my device, i cant confirm it myself.
You should see a new confirmation prompt to allow access to the sd card.
The release is only available on the internal testers channel. Also you will need Android 7+ for this test (Nougat +)

https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: zkhcohen on February 18, 2019, 08:11:51 PM
Could someone who has been having the permissions problem for files on external sd cards try this version (0.1.5)?
Unfortunately because i dont have the issue with my device, i cant confirm it myself.
You should see a new confirmation prompt to allow access to the sd card.
The release is only available on the internal testers channel. Also you will need Android 7+ for this test (Nougat +)

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

Unfortunately, I got the same result with 0.1.5. I did receive the new prompt and accepted it as well as the Android prompt.

The error logs are identical to before.

Edit: Internal Storage sync worked. After cancelling it, I'm unable to restart the sync. Additional "Read timed out." errors produced in Android log. MusicBee desktop log shows these errors:

2/18/2019 12:15:35 PM - 10.0.17763.0 - 3.3.6982.39833S - System.Exception: Add playlist C:\Users\Zachary\Music\MusicBee\Playlists\Playlists\Top.mbp ---> System.IO.IOException: Unable to write data to the transport connection: An established connection was aborted by the software in your host machine. ---> System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
   at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   --- End of inner exception stack trace ---
   at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at System.IO.BufferedStream.WriteByte(Byte value)
   at #=zW4KiHrUY06c4Z9xhGeY_P$_zxjMy.#=zGGQFrsM=(String #=zrfwo7ck=)
   at #=zW4KiHrUY06c4Z9xhGeY_P$_zxjMy.#=zS6WhbxFBUVHV(String #=zM4BYefM=, #=z4lU28AM9Bjn7cpz4Pg== #=zi2eqTQB71gB1, Stream #=z8OnlY8PeBhrM)
   at #=zW4KiHrUY06c4Z9xhGeY_P$_zxjMy.#=zLpyAlUg=(#=zSwv_lkxPjUWsxgxNFoAZAp0= #=z2MyTcIM=, IList`1 #=z9DAX4Ic=)
   at #=zjKVqecC435VWw45cvfBakrc=.#=zqYxaOmm7i6cJZcBgfzYlzdU=(#=zSwv_lkxPjUWsxgxNFoAZAp0= #=zNtbWL$zOmtM0, Dictionary`2 #=zFeSYsPleXjhU4eJRNikwETQ=, Object #=z1rNWyu$WUSxa)
   at #=zjKVqecC435VWw45cvfBakrc=.#=zHa4FwseR2hyMJ4a6Mg==(Boolean #=zVsUO3dRN2Uvi2QmhaA==, Boolean #=zO$Akw2AXnWOq, Dictionary`2 #=z_0SkIMkJz4G6, List`1 #=z3h_Xuk9cFZAuwQLflg==, Object #=z1rNWyu$WUSxa)
   --- End of inner exception stack trace ---

Edit 2: Aha! Figured it out. The "synchronizing files" message in the MusicBee desktop app didn't disappear after cancelling it from the Android side. Additionally, the port isn't released for several minutes or until you restart the desktop app. This prevents future syncs from running successfully.
Title: Re: Wifi android device synching
Post by: Steven on February 18, 2019, 08:19:48 PM
thanks for letting me know
You should update the MB patch version though - it wont help for this issue but fixes other issues
Title: Re: Wifi android device synching
Post by: zkhcohen on February 18, 2019, 08:23:24 PM
thanks for letting me know
You should update the MB patch version though - it wont help for this issue but fixes other issues

Will do. In case you didn't notice, I just ninja-edited (edit 2) my previous comment with the cause of the last issue.
Title: Re: Wifi android device synching
Post by: psychoadept on February 19, 2019, 03:53:15 AM

Unfortunately, I got the same result with 0.1.5. I did receive the new prompt and accepted it as well as the Android prompt.


Ditto, updated to 0.1.5 but same result.
Title: Re: Wifi android device synching
Post by: Bee-liever on February 19, 2019, 05:19:39 AM
it would be best for me if everyone holds off testing and reporting issues while i research the android api's available for storage - its truely a mess and poorly documented by google!

Just a little something to consider on this:
I originally used an MTP connection and profile when syncing.
During the wifi testing, I connected my phone as a USB device, thus creating device profiles for the phone and SD card drives.
Even after deleting these profiles, the wifi sync will no longer use MTP profile and keeps defaulting to internal storage regardless of the selection within the wifi app.
Title: Re: Wifi android device synching
Post by: Steven on February 19, 2019, 08:52:30 PM
I have made another test version available 0.1.6
https://play.google.com/apps/internaltest/4700978781087552506
As before, for this test you need Android 7+

I have created a small test within the app where the following files will be created on your sd card:
Music/000/001/002.txt
Music/000/001/003.txt
Music/000/001/003.txt is then deleted
so you should only see 1 file if you check in the Files app (navigate from the devices folder, not via the Music folder)

A snackbar message will display if it works or not. Let me know how it goes.
If it does work then it shouldnt be too hard to apply the change to the app
Title: Re: Wifi android device synching
Post by: zkhcohen on February 20, 2019, 12:09:36 AM
I have made another test version available 0.1.6
https://play.google.com/apps/internaltest/4700978781087552506
As before, for this test you need Android 7+

I have created a small test within the app where the following files will be created on your sd card:
Music/000/001/002.txt
Music/000/001/003.txt
Music/000/001/003.txt is then deleted
so you should only see 1 file if you check in the Files app (navigate from the devices folder, not via the Music folder)

A snackbar message will display if it works or not. Let me know how it goes.
If it does work then it shouldnt be too hard to apply the change to the app

Ready for a WTF moment? The test totally worked. The files were created on my SD Card (and 003 deleted)....

...but the sync still failed. Permission denied.

Edit: I misread your final line: "If it does work then it shouldnt be too hard to apply the change to the app"
Title: Re: Wifi android device synching
Post by: psychoadept on February 20, 2019, 08:12:42 AM
A snackbar message will display if it works or not. Let me know how it goes.
If it does work then it shouldnt be too hard to apply the change to the app

The first time I got an error. It seemed to be unhappy because there wasn't already a Music folder on my SD card (all my files are synced to a MusicBee subfolder). But once I created the Music folder and restarted the app, it worked. 002.txt is there.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 20, 2019, 10:17:09 AM
A snackbar message will display if it works or not. Let me know how it goes.
If it does work then it shouldnt be too hard to apply the change to the app

The first time I got an error. It seemed to be unhappy because there wasn't already a Music folder on my SD card (all my files are synced to a MusicBee subfolder). But once I created the Music folder and restarted the app, it worked. 002.txt is there.

Does this suggest that folder creation is the issue, rather than music files?? I noticed that it created a separate folder per artist on my internal storage.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 20, 2019, 12:46:41 PM
Does this suggest that folder creation is the issue, rather than music files?? I noticed that it created a separate folder per artist on my einternal storage.

Looking at an old Music App - the MicroSD Card has the same ID number "storage/B2D4-1CF9/Music" but it seems to be asking for access to Card AND Folders...l
Title: Re: Wifi android device synching
Post by: Steven on February 23, 2019, 04:36:40 PM
the permissions issue should be fixed now version: 0.1.7:
https://play.google.com/apps/internaltest/4700978781087552506

also update MusicBee as there was a bug with timestamps. Any files you previously synched with Wifi Sync will probably be re-synched again
https://getmusicbee.com/patches/MusicBee33_Patched.zip


@railfan-eric28 and bee-liever,
I havent done any changes specifically for the errors you have. If its still happening, let me know and i will look into it (but I am guessing it was permissions related).
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 05:04:44 PM
the permissions issue should be fixed now version: 0.1.7:
https://play.google.com/apps/internaltest/4700978781087552506
I have updated MB to 3.3.6993 and Wifi Sync to 0.1.7. Works fine on the Samsung S8 (internal storage) but not on the X5 (SD Card.)

Launching the sync app on the X5 I get a request to select the storage for your files. Two choices are shown: Internal Storage and Removable SD Card, which is selected by default. I tap 'grant access' and I see a 'file explorer' type screen showing all the directories on the SD Card (including the two I use for syncing: Playlists and Music.) At the bottom of the screen is "Select X5_SD1" which is correct, but when I tap it it goes back to the 'select the storage...' screen and the 'sync now' button is grayed out.

To refresh - I was having no permission problems on the X5 with 0.1.5. Now apparently, I am.

Suggestions?
Title: Re: Wifi android device synching
Post by: Steven on February 23, 2019, 05:34:41 PM
Launching the sync app on the X5 I get a request to select the storage for your files. Two choices are shown: Internal Storage and Removable SD Card, which is selected by default. I tap 'grant access' and I see a 'file explorer' type screen showing all the directories on the SD Card (including the two I use for syncing: Playlists and Music.) At the bottom of the screen is "Select X5_SD1" which is correct, but when I tap it it goes back to the 'select the storage...' screen and the 'sync now' button is grayed out.
unfortunately in order to make use of the new storage framework, for < Android 7, requires the user to manually select the card or a folder, and its really nonintuitive. You should tap the sd card (you should see folders such as Music) and then click the "select" button down the bottom. You didnt click the back button did you? If you are sure, could you post a screenshot of the android dialog that shows where you clicked "select"?
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 06:10:06 PM
unfortunately in order to make use of the new storage framework, for < Android 7, requires the user to manually select the card or a folder, and its really nonintuitive. You should tap the sd card (you should see folders such as Music) and then click the "select" button down the bottom. You didnt click the back button did you? If you are sure, could you post a screenshot of the android dialog that shows where you clicked "select"?
No, I did not click the back button. Sorry for the quality of the shots. I had to take pictures of the screen as it appears the X5 can't do screenshots. Or at least not in the way I'm accustomed to with other/later Android operation systems.

Screenshot one - upon launching the app:
http://i.imgur.com/QKGcPbLl.jpg

Screenshot two - after tapping 'grant access':
http://i.imgur.com/MIF7OfGl.jpg

Screenshot three - after tapping 'select 'x5_sd1':
http://i.imgur.com/bKMkMcil.jpg
Title: Re: Wifi android device synching
Post by: Steven on February 23, 2019, 06:17:19 PM
phred, i created a new android debug version. 0.1.7.1
it should show a popup window after you click Select
Can you let me know the values or post a screenshot of it
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 06:48:02 PM
phred, i created a new android debug version. 0.1.7.1
it should show a popup window after you click Select
Can you let me know the values or post a screenshot of it
Thanks Steven. Here's the image:
https://i.imgur.com/qZljNMX.jpg
Title: Re: Wifi android device synching
Post by: Steven on February 23, 2019, 07:06:16 PM
that looks ok. Could you run this android version 0.1.7.4
https://play.google.com/apps/internaltest/4700978781087552506

you wont see the new popup, instead it will write some info to the error log in the downloads folder
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 07:56:57 PM
that looks ok. Could you run this android version 0.1.7.4
Code
Feb 23, 2019 2:51:27 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: perm count=2
Feb 23, 2019 2:51:27 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: perm path=0E65-65B9:Music,root=0E65-65B9,perm r=true,w=true,index=2,sd card=/MNT/EXTERNAL_SD1
Feb 23, 2019 2:51:27 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: perm path=0E65-65B9:,root=0E65-65B9,perm r=true,w=true,index=2,sd card=/MNT/EXTERNAL_SD1
Feb 23, 2019 2:51:27 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: access=false
Feb 23, 2019 2:51:32 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: perm count=2
Feb 23, 2019 2:51:32 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: perm path=0E65-65B9:Music,root=0E65-65B9,perm r=true,w=true,index=2,sd card=/MNT/EXTERNAL_SD1
Feb 23, 2019 2:51:32 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: perm path=0E65-65B9:,root=0E65-65B9,perm r=true,w=true,index=2,sd card=/MNT/EXTERNAL_SD1
Feb 23, 2019 2:51:32 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogInfo
INFO: grant: access=false
Title: Re: Wifi android device synching
Post by: Steven on February 23, 2019, 08:04:57 PM
thanks. I can see why its not working and will need to think of a solution
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 08:28:03 PM
thanks. I can see why its not working and will need to think of a solution
Good luck. For both of us.

Is there anyway to get my hands on 0.1.5 as an APK, so I can continue using the sync while you work on a fix?
Title: Re: Wifi android device synching
Post by: Steven on February 23, 2019, 09:55:54 PM
Try again now with v0.1.8
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 10:19:37 PM
Try again now with v0.1.8
Connected, permission granted, and syncing as expected.

Thanks!
Title: Re: Wifi android device synching
Post by: Steven on February 23, 2019, 10:23:55 PM
Yes it will work in your case but there was still a bug.
I have updated to v0.1.9
https://play.google.com/apps/internaltest/4700978781087552506

for others, also update MusicBee as there was a bug with timestamps. Any files you previously synched with Wifi Sync will probably be re-synched again
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 10:35:20 PM
Connected, permission granted, and syncing as expected.
Except it didn't finish the sync. It threw "A non-recoverable error occurred during the synchonization process. Restart the app and try again." I did and it didn't.
Here's the X5 log:
Code
Feb 23, 2019 5:22:06 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveLoop: java.net.SocketTimeoutException
Feb 23, 2019 5:22:06 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: ReceiveFile: Error reading file
Feb 23, 2019 5:22:26 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: java.net.SocketTimeoutException
Feb 23, 2019 5:27:08 PM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: java.net.SocketTimeoutException

But I see 0.1.9 is available so I'll try that and report back.
Title: Re: Wifi android device synching
Post by: phred on February 23, 2019, 11:28:35 PM
But I see 0.1.9 is available so I'll try that and report back.
I'm happy to report all is well.
Title: Re: Wifi android device synching
Post by: psychoadept on February 24, 2019, 06:43:56 AM
I just updated to latest MB and wifi app 0.1.9. Everything went smooth at first, except at the end it complained about not being able to find a playlist. So I tried running it again, and then it told me there were several files that still needed to be synced (for some reason mostly Enya, and a few others). When I tried to sync again, I got this error log: https://drive.google.com/open?id=1402_9SuXDT2xgGfeJwQFzUc2J8V9TRqy

I went and verified that the files weren't there, and indeed couldn't find them. I've tried restarting my phone and various other things, but no luck. I get this same result every time.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 24, 2019, 09:15:42 AM
But I see 0.1.9 is available so I'll try that and report back.
I'm happy to report all is well.


I had no request to test but I just tried out of curiosity!
Music files and playlist sync went perfectly to SD card..
Latest android App used, no errors in log.
Same version of MB as last Sunday..

UPDATE

I was using 0.1.8 from last night, and all OK - but then tried 0.1.9 which failed all the file DELETE actions..
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 11:17:15 AM
@psychoadept and all,
i can see why it would only work on the first run and that should be fixed now v0.2:
https://play.google.com/apps/internaltest/4700978781087552506

I have also temporarily bumped up the error logging to assist with any future issues

also for those that missed the message, update MusicBee as there was a bug with timestamps. Any files you previously synched with Wifi Sync will probably be re-synched again
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: phred on February 24, 2019, 01:34:54 PM
With 3.3.6993 and 0.2 the Samsung S8 is throwing the 'non-recoverable error during sync' error. The FiiO X5 is currently syncing, but since it's syncing a lot of the tracks I synced yesterday (I understand the reason for this) it may take a while before I can try a second sync.

Error log from the S8:
Code
Feb 24, 2019 8:31:43 AM com.getmusicbee.musicbeewifisync.ErrorHandler LogError
SEVERE: Looper: Attempt to invoke virtual method 'java.lang.String android.net.Uri.toString()' on a null object reference

Error log from MB:
Code
2/24/2019 8:29:44 AM - SM-G950U\Phone\ not mounted: 
2/24/2019 8:29:54 AM - SM-G950U\Phone\ not mounted:
2/24/2019 8:30:13 AM - SM-G950U\Phone\ not mounted:
2/24/2019 8:31:43 AM - SM-G950U\Phone\ not mounted:
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 24, 2019, 01:48:45 PM
@psychoadept and all,
i can see why it would only work on the first run and that should be fixed now v0.2:
https://play.google.com/apps/internaltest/4700978781087552506

I have also temporarily bumped up the error logging to assist with any future issues

also for those that missed the message, update MusicBee as there was a bug with timestamps. Any files you previously synched with Wifi Sync will probably be re-synched again
https://getmusicbee.com/patches/MusicBee33_Patched.zip

Working all good for me on Android 6.0.1
MB sync App 0.2
MB 3.3.6993
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 01:49:24 PM
With 3.3.6993 and 0.2 the Samsung S8 is throwing the 'non-recoverable error during sync' error.
that was some debugging code. Its should work now with 0.2.1
Title: Re: Wifi android device synching
Post by: phred on February 24, 2019, 02:28:13 PM
that was some debugging code. Its should work now with 0.2.1
Connections are being made from both devices to MB, but I added one song to a playlist that the S8 syncs with and deleted an album that the X5 syncs. Both devices connect and instantly stated that 'MusicBee synchronization successfully completed.' The added track is not on the S8 and the deleted album is still on the X5.

From MB:
Code
2/24/2019 9:15:39 AM - Sync Preview failed: Found invalid data while decoding.

From the S8:
Code
Feb 24, 2019 9:15:32 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/storage/emulated/0, root id=null, perm uri=null

From the X5:
Code
Feb 24, 2019 9:15:37 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3AMusic,mapped path=null,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 9:15:37 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 9:15:37 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 24, 2019 9:15:38 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3AMusic,mapped path=null,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 9:15:38 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 9:15:38 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 24, 2019 9:15:38 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/mnt/external_sd1, root id=0E65-65B9:, perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 02:33:25 PM
try with v0.2.2.
in this case only, also restart MB
Title: Re: Wifi android device synching
Post by: phred on February 24, 2019, 04:10:31 PM
try with v0.2.2.
in this case only, also restart MB
It's been a couple of hours and there's no new update available. 0.2.1 is still on both devices.
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 04:17:57 PM
it should be there now or in a few minutes
Title: Re: Wifi android device synching
Post by: phred on February 24, 2019, 04:22:01 PM
it should be there now or in a few minutes
Installing now on both devices. Will be testing shortly. Thanks.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 24, 2019, 05:37:29 PM
it should be there now or in a few minutes

This version is working great! Looks like you fixed both of my issues: permissions and cancelling syncs.

I had one error which was resolved by re-running the sync immediately afterwards. I have no idea why it tried to connect to "10.3.15.27". For reference, this error occurred after cancelling and immediately restarting the same sync. Also note that the preview page did not re-appear when I did that, it simply resumed where it left off:

Feb 24, 2019 9:31:47 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper: failed to connect to /10.3.15.27 (port 27304) from /192.168.0.15 (port 60124) after 2500ms
Feb 24, 2019 9:31:47 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: findCandidate: Probing 192.168.0., exclude=14
Feb 24, 2019 9:31:47 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: Ping: MusicBeeWifiSyncServer/1.0
Feb 24, 2019 9:31:47 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/storage/0CB5-7600, root id=0CB5-7600:, perm uri=content://com.android.externalstorage.documents/tree/0CB5-7600%3A
Feb 24, 2019 9:31:49 AM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/storage/0CB5-7600, root id=0CB5-7600:, perm uri=content://com.android.externalstorage.documents/tree/0CB5-7600%3A
Feb 24, 2019 9:32:04 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile: java.lang.InterruptedException
Feb 24, 2019 9:32:04 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveLoop: java.lang.InterruptedException
Feb 24, 2019 9:32:07 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: deleteFiles: Music/James Blake/Assume Form/08 - Where’s the Catch .mp3: Failed to determine if 0CB5-7600:Music/James Blake/Assume Form/08 - Where’s the Catch .mp3 is child of 0CB5-7600:: java.io.FileNotFoundException: Missing file for 0CB5-7600:Music/James Blake/Assume Form/08 - Where’s the Catch .mp3 at /storage/0CB5-7600/Music/James Blake/Assume Form/08 - Where’s the Catch .mp3
Feb 24, 2019 9:32:25 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper: Read timed out
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 06:16:35 PM
Thanks thats good to know.
There is an issue with m4a files, which are incorrectly being named as .mp3 and hence causing re-syncing. This will only be an issue on external sd cards.
This might be a show-stopper as it appears m4a files are incorrectly mapped by google to audio/mpeg which is actually for mp3 files. Its very frustrating how bad google's implementation for the storage access is.

edit:
nevermind - i figured out a suitable workaround and will post an updated version later after some more testing
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 07:22:35 PM
v0.2.3
https://play.google.com/apps/internaltest/4700978781087552506

.m4a files (and some others) should now correctly sync with the correct file extension

SEVERE: deleteFiles: Music/James Blake/Assume Form/08 - Where’s the Catch .mp3: Failed to determine if 0CB5-7600:Music/James Blake/Assume Form/08 - Where’s the Catch .mp3 is child of 0CB5-7600:: java.io.FileNotFoundException: Missing file for 0CB5-7600:Music/James Blake/Assume Form/08 - Where’s the Catch .mp3 at /storage/0CB5-7600/Music/James Blake/Assume Form/08 - Where’s the Catch .mp3
I have put in handling for this

also for those that missed the message, update MusicBee as there was a bug with timestamps. Any files you previously synched with Wifi Sync will probably be re-synched again
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: phred on February 24, 2019, 07:47:52 PM
With 0.2.2 the Samsung S8 worked perfectly. And it appears that the X5 is working too, but due to the fact that it's resyncing everything (24k+ tracks) it's slow going. I had to disable the idle timeout along with the display timeout, and connect to a power supply. From the progress scrollbar, it looks like less than 25% has completed and it's been going for about three hours.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 24, 2019, 08:16:22 PM
With 0.2.2 the Samsung S8 worked perfectly. And it appears that the X5 is working too, but due to the fact that it's resyncing everything (24k+ tracks) it's slow going. I had to disable the idle timeout along with the display timeout, and connect to a power supply. From the progress scrollbar, it looks like less than 25% has completed and it's been going for about three hours.

Steven - Is there a benchmark for the speed of this transfer protocol? It seemed to go extremely fast for me, but I only synced about 100 songs. It would be nice to have some idea of whether our transfer speeds are expected-behavior, or limited by our network environment in some way.
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 08:17:22 PM
With 0.2.2 the Samsung S8 worked perfectly. And it appears that the X5 is working too, but due to the fact that it's resyncing everything (24k+ tracks) it's slow going. I had to disable the idle timeout along with the display timeout, and connect to a power supply. From the progress scrollbar, it looks like less than 25% has completed and it's been going for about three hours.
if you have a lot of .m4a files, you probably want to use v0.2.3 as they will be synched with the wrong filename in earlier versions
Title: Re: Wifi android device synching
Post by: Steven on February 24, 2019, 08:19:43 PM
Steven - Is there a benchmark for the speed of this transfer protocol? It seemed to go extremely fast for me, but I only synced about 100 songs. It would be nice to have some idea of whether our transfer speeds are expected-behavior, or limited by our network environment in some way.
for me, its many times faster than MTP but I didnt want to publicise that too much as it of course depends on the wifi router you are using/ how conjested with other traffic etc
Title: Re: Wifi android device synching
Post by: phred on February 24, 2019, 09:12:42 PM
f you have a lot of .m4a files, you probably want to use v0.2.3 as they will be synched with the wrong filename in earlier versions
I have all mp3s, so that part of 0.2.3 doesn't concern me. And the sync is still going.

Despite what zkhcohen states, this is just about the slowest sync I've done. But then again, I've only had to sync the entire library when I first got the X5 and then again when I swapped out the 256gb card for a 400gb. Once this sync is done it will only be deletes, updates, and much smaller copies.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 24, 2019, 09:17:09 PM
f you have a lot of .m4a files, you probably want to use v0.2.3 as they will be synched with the wrong filename in earlier versions
I have all mp3s, so that part of 0.2.3 doesn't concern me. And the sync is still going.

Despite what zkhcohen states, this is just about the slowest sync I've done. But then again, I've only had to sync the entire library when I first got the X5 and then again when I swapped out the 256gb card for a 400gb. Once this sync is done it will only be deletes, updates, and much smaller copies.


You could try using Wireshark to see if there's a bottleneck of some sort:

http://blog.davidvassallo.me/2010/03/22/measuring-bandwidth-using-wireshark/


Title: Re: Wifi android device synching
Post by: phred on February 25, 2019, 12:42:37 AM
After seven hours of syncing with 0.2.2, I took a look at the X5 and it was displaying the now-dreaded "non recoverable" error. Using a file manager I see that nothing in the music folder has today's date. I also don't see tracks added to MB since the last sync. The plan now is to wipe the card and do a full, wired sync via MB directly. And then add some albums and resync again with 0.2.3.

Error Log from MB:
Code
2/24/2019 6:04:14 PM - Copy Z:\God Made Me Funky\God Made Me Funky\7 - God Made Me Funky.mp3 to T:\Music\God Made Me Funky\God Made Me Funky\7 - God Made Me Funky.mp3
2/24/2019 6:04:14 PM - 10.0.14393.0 - 3.3.6993.27676 P - WifiSyncAbort: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

2/24/2019 6:04:14 PM - Copy Z:\God Made Me Funky\God Made Me Funky\6 - Ur Own Way.mp3 to T:\Music\God Made Me Funky\God Made Me Funky\6 - Ur Own Way.mp3
2/24/2019 6:04:14 PM - 10.0.14393.0 - 3.3.6993.27676 P - WifiSyncAbort: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

2/24/2019 6:04:14 PM - Copy Z:\God Made Me Funky\God Made Me Funky\5 - Basslude.mp3 to T:\Music\God Made Me Funky\God Made Me Funky\5 - Basslude.mp3
2/24/2019 6:04:14 PM - 10.0.14393.0 - 3.3.6993.27676 P - WifiSyncAbort: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

2/24/2019 6:04:14 PM - Copy Z:\God Made Me Funky\God Made Me Funky\4 - Majikarpet.mp3 to T:\Music\God Made Me Funky\God Made Me Funky\4 - Majikarpet.mp3
2/24/2019 6:04:14 PM - 10.0.14393.0 - 3.3.6993.27676 P - WifiSyncAbort: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

2/24/2019 6:04:14 PM - Copy Z:\God Made Me Funky\God Made Me Funky\3 - Bartenda.mp3 to T:\Music\God Made Me Funky\God Made Me Funky\3 - Bartenda.mp3
2/24/2019 6:04:14 PM - 10.0.14393.0 - 3.3.6993.27676 P - WifiSyncAbort: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

2/24/2019 6:04:14 PM - Copy Z:\God Made Me Funky\God Made Me Funky\2 - Intro.mp3 to T:\Music\God Made Me Funky\God Made Me Funky\2 - Intro.mp3
2/24/2019 6:04:14 PM - 10.0.14393.0 - 3.3.6993.27676 P - WifiSyncAbort: Unable to write data to the transport connection: An existing connection was forcibly closed by the remote host.

Error Log from X5:
Code
INFO: findCandidate: Probing 192.168.1., exclude=116
Feb 24, 2019 12:04:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3AMusic,mapped path=null,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 12:04:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 12:04:52 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 24, 2019 12:04:53 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3AMusic,mapped path=null,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 12:04:53 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 24, 2019 12:04:53 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 24, 2019 12:04:53 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/mnt/external_sd1, root id=0E65-65B9:, perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 24, 2019 12:05:01 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/mnt/external_sd1, root id=0E65-65B9:, perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 24, 2019 5:54:02 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveLoop: java.net.SocketTimeoutException
Feb 24, 2019 5:54:03 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile: Error reading file
Feb 24, 2019 5:54:03 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper: bad second or third byte at 2
Title: Re: Wifi android device synching
Post by: psychoadept on February 25, 2019, 02:50:20 AM
Yes, 0.2.2 appears to be a winner!

MusicBee wasn't quite keeping up with the process; it's stopping at 90% right now (just syncing the playlists).
Title: Re: Wifi android device synching
Post by: Steven on February 25, 2019, 06:48:34 AM
MusicBee wasn't quite keeping up with the process; it's stopping at 90% right now (just syncing the playlists).
I am not sure i understand. Are you referring to the taskbar progress in windows not ending at 100% ?
Title: Re: Wifi android device synching
Post by: phred on February 25, 2019, 04:18:15 PM
I connected the X5 to MB via USB cable, disabled WiFi transfer in Devices Preferences and synced 27k tracks. All went well until it got to the playlists. None of which copied. Error is "2/25/2019 8:41:02 AM - Add playlist "G:\MusicBee\phred\Playlists\R & R HoF Inductees.xautopf" Operation is not valid due to the current state of the object." A 'preview' shows that 79 playlists need to be synced. If I delete a playlist via MB and resync, a file with the playlist name is created, but is empty.

I have removed the card from the X5 and put it in the card reader on my PC, I get the same behavior.

With the card back in the X5 and with WiFi syncing enabled (0.2.3) the preview shows many, many, many files need to be synced. Not just the playlists. These are tracks that were copied to the card via USB last night. I have confirmed the files are there with a file manager.

I really don't want to sync 27k+ files again just to see if the playlists will copy.

Suggestions?
Title: Re: Wifi android device synching
Post by: Steven on February 25, 2019, 06:08:09 PM
I connected the X5 to MB via USB cable, disabled WiFi transfer in Devices Preferences and synced 27k tracks. All went well until it got to the playlists. None of which copied. Error is "2/25/2019 8:41:02 AM - Add playlist "G:\MusicBee\phred\Playlists\R & R HoF Inductees.xautopf" Operation is not valid due to the current state of the object.
Is there a stack trace in the error log? - please send it to me if there is

As to the wifi sync showing 27,000 tracks - do you have delete enabled in the sync prefs and if so did the preview show a set of deletes as well?
I believe your device is old enough to allow USB sync (as opposed to using the MTP protocol which is mandatory for later android versions). I suspect the issue relates to the android database not being updated when you use that method. MB is using the android database as the source for file info. In short I think you best not use wifi sync on that device unless you use MTP for wired sync as well.

PS. you dont have to disable wifi-sync. It has no bearing on sync's initiated from MusicBee.
Title: Re: Wifi android device synching
Post by: psychoadept on February 25, 2019, 06:30:19 PM
MusicBee wasn't quite keeping up with the process; it's stopping at 90% right now (just syncing the playlists).
I am not sure i understand. Are you referring to the taskbar progress in windows not ending at 100% ?

Yeah, that's what I mean. After the phone is done syncing, I look at MusicBee and it still says 90%.
Title: Re: Wifi android device synching
Post by: Steven on February 25, 2019, 07:05:07 PM
the USB device playlist save is fixed now:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: phred on February 25, 2019, 07:19:08 PM
the USB device playlist save is fixed now:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Great. I was only about 200 tracks into a USB sync so I canceled it, added the patch, and restarted.

Do you think I try another WiFi sync once the USB sync has completed? Or should abandon hope for the X5 and WiFi?
Title: Re: Wifi android device synching
Post by: Steven on February 25, 2019, 07:27:04 PM
Do you think I try another WiFi sync once the USB sync has completed? Or should abandon hope for the X5 and WiFi?
I think so but I cant say with certaintly. There might be a way to force the android device to scan all the files onto the device into the database used for the MTP protocol. If you are googling for info, the database is called MediaStore.
If you do manage that, then incremental wifi syncs should be fine.

edit:
rebooting the device might help
and this topic might help:
http://www.jrtstudio.com/iSyncr/Tutorials/How-To-Refresh-Android-Media-Cache


also this on
https://android.stackexchange.com/questions/46315/not-all-files-are-visible-over-mtp

    Disconnect the USB cable from phone.
    Click 'Clear data' on the Media Storage application.
    Then 'Force stop'.
    Reconnect the USB cable to phone.
    The Media Storage application is restarted and rebuilds the media list.
    Missing files are now available.
    This avoids rebooting, which was important for me.
Title: Re: Wifi android device synching
Post by: phred on February 25, 2019, 07:33:53 PM
There might be a way to force the android device to scan all the files onto the device into the database used for the MTP protocol. If you are googling for info, the database is called MediaStore.
If you do manage that, then incremental wifi syncs should be fine.

edit:
rebooting the device might help
and this topic might help:
http://www.jrtstudio.com/iSyncr/Tutorials/How-To-Refresh-Android-Media-Cache
Thanks. Once the USB sync completes I'll try the suggestion in the link. And then start googling.
Title: Re: Wifi android device synching
Post by: Steven on February 25, 2019, 09:21:42 PM
If any of the others who joined the testing list have any comments on the latest version, it would be appreciated - the app should be fully functional now.

The latest play store version is 0.2.4
https://play.google.com/apps/internaltest/4700978781087552506

for those who missed the message a few days ago, also update MusicBee as there was a bug with timestamps. Any files you previously synched with Wifi Sync will probably be re-synched again
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: phred on February 26, 2019, 02:20:38 AM
https://android.stackexchange.com/questions/46315/not-all-files-are-visible-over-mtp
    Disconnect the USB cable from phone.
    Click 'Clear data' on the Media Storage application.
    Then 'Force stop'.
    Reconnect the USB cable to phone.
    The Media Storage application is restarted and rebuilds the media list.
    Missing files are now available.
    This avoids rebooting, which was important for me.
Steven- thanks for this link and procedure. The link pretty much said the same thing, but also made reference to an app called SD Scanner, which scans the card for changes and then syncs the changes to Media Storage. The link given for SD Scanner is dead on Google Play, but I found an APK, installed it and it seemed to help. I also found an option in GoneMad Music Player to not only scan the specified folders but to sync with the Android Media Library upon each start of the music service.

After using SD Scanner and GMMP scanner, I'm happy to report that the playlists on the X5 are showing and sync without error via USB. When I tried WiFi it still shows me that all tracks are going to be synced. So based on Steven's advice, the X5 will be a USB sync only - probably due to its non-upgradable v5.1.1 OS. (Although I will test it every now and then.) As far as the Samsung S8, WiFi sync is working perfectly.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 26, 2019, 10:18:02 AM
TEST RESULTS:
MusicBee Wifi Sync Android App v 0.2.4
Device Android v 6.0.1
MB v 3.3.6993
Music files types predominantly m4a + few mp3.
All expected copy and delete operations sucessful for both Internal memory and MicroSD card for music files.
No Error log entries for MB on PC
MusicBeeWifiSyncErrorLog.txt.2 and Log.txt.2.lck empty.

PROBLEM
OLDIES.M3U Playlist NOT copied (using relative paths).
OLDIES.M3U Playlist IS copied but shows EMPTY. (NOT using relative paths).

Regards: Freddy
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 26, 2019, 01:36:36 PM
TEST RESULTS:
MusicBee Wifi Sync Android App v 0.2.4
Device Android v 6.0.1
MB v 3.3.6993
Music files types predominantly m4a + few mp3.
All expected copy and delete operations sucessful for both Internal memory and MicroSD card for music files.
No Error log entries for MB on PC
MusicBeeWifiSyncErrorLog.txt.2 and Log.txt.2.lck empty.

PROBLEM
OLDIES.M3U Playlist NOT copied (using relative paths).
OLDIES.M3U Playlist IS copied but shows EMPTY. (NOT using relative paths).

IMPORTANT UPDATE

Exactly the same results as above with cable connection!
(This has always functioned OK in the past), the only thing I could find that was different was OLDIES.PLA in the Playlist folder in internal memory. Checked that nothing was at that locaation before testing.
Hope this helps.
Title: Re: Wifi android device synching
Post by: Steven on February 26, 2019, 01:46:17 PM
You are not using the latest MB version, so please update it and try again.
I cant believe ticking the relative paths option would make any difference as to whether the playlist was copied or not, and if it didnt copy then there should be an entry in the Android error log. If the playlist is still empty after using the latest version, on what basis are you saying the playlist was empty?
It is possible that if you are using the wired MTP connection and configured .PLA as the format, then when using wireless i am not sure what MB would do, so I will check that out. Try changing the format to .M3U
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 26, 2019, 03:03:20 PM
You are not using the latest MB version, so please update it and try again.
I cant believe ticking the relative paths option would make any difference as to whether the playlist was copied or not, and if it didnt copy then there should be an entry in the Android error log. If the playlist is still empty after using the latest version, on what basis are you saying the playlist was empty?
It is possible that if you are using the wired MTP connection and configured .PLA as the format, then when using wireless i am not sure what MB would do, so I will check that out. Try changing the format to .M3U

TEST BY REQUST No.2
(Previously - Tried changing 'relative paths' option to see if it made any difference).
Device settings never changed from Playlist = M3U
Apologies, missed the latest patch.

MusicBee Wifi Sync Android App v 0.2.4
Device Android v 6.0.1
MB v 3.3.6996
Music files types predominantly m4a + few mp3.
All expected copy and delete operations successful for MicroSD card for music files.
No Error log entries for MB on PC.

DIFFERENT PROBLEM
Playlist OLDIES.M3U WAS NOT copied to MicroSD\ Playlists\OLDIES.M3U

MusicBeeWifiSyncErrorLog.txt

26 Feb 2019 14:36:13 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A,mapped path=/storage/B2D4-1CF9,write=true,sd card=/storage/B2D4-1CF9
26 Feb 2019 14:36:13 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A
26 Feb 2019 14:36:15 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A,mapped path=/storage/B2D4-1CF9,write=true,sd card=/storage/B2D4-1CF9
26 Feb 2019 14:36:15 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A
26 Feb 2019 14:36:15 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/storage/B2D4-1CF9, root id=B2D4-1CF9:, perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A
26 Feb 2019 14:36:17 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/storage/B2D4-1CF9, root id=B2D4-1CF9:, perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A



TEST BY REQUST No.3

Same results as above except:
Playlist OLDIES.M3U WAS copied to MicroSD\Playlists\OLDIES.M3U
No additional entry to MusicBeeWifiSyncErrorLog.txt

On the Android device OLDIES.M3U playlist appears empty, if I double-click, nothing happens.

Freddy
Title: Re: Wifi android device synching
Post by: phred on February 26, 2019, 05:13:50 PM
On the Android device OLDIES.M3U playlist appears empty, if I double-click, nothing happens.
Is the .m3u file truly empty? Look at it with a text editor. And is it showing zero bytes as a file size.

I was experiencing something like this yesterday where the -music player- was not showing the playlists. But they were there and contained data. If the playlist file actually contains data and your music player doesn't see them, perhaps you need to find the 'rescan' option in the player. Or sync the Android Media Storage with the newly synced files.

This might help a little: https://getmusicbee.com/forum/index.php?topic=27681.msg155676#msg155676
Title: Re: Wifi android device synching
Post by: Steven on February 26, 2019, 05:56:30 PM
@freddy, yes i can see there is a bug with MTP wired sync for playlists. This should fix that:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

I am afraid i have no idea why your wireless playlist sync doesnt happen without an error being logged.
How do you determine the playlist is not there?

Title: Re: Wifi android device synching
Post by: Freddy Barker on February 26, 2019, 07:55:05 PM
@freddy, I am afraid i have no idea why your wireless playlist sync doesnt happen without an error being logged.
How do you determine the playlist is not there?

Referring to my second test - TEST BY REQUST No.3 post:-
https://getmusicbee.com/forum/index.php?topic=27681.msg155688#msg155688

Same results as above except:
Playlist OLDIES.M3U WAS copied to MicroSD\Playlist\OLDIES.M3U
but in the previous TEST No.2
Playlist OLDIES.M3U WAS NOT copied to MicroSD\Playlist\OLDIES.M3U
(I deleted all MicroSD\Playlists and MicroSD\Music contents between tests..

No additional entry to MusicBeeWifiSyncErrorLog.txt

On the Android device OLDIES.M3U playlist appears empty, if I double-click, nothing happens.

Hope that's a bit clearer!!
Title: Re: Wifi android device synching
Post by: Steven on February 26, 2019, 08:05:31 PM
Hope that's a bit clearer!!
In honesty not really - i am finding your reports very hard to follow and make sense of.
You need to view the contents of the playlist files to determine if they are empty eg. using windows explorer copy the file to your computer drive and then edit the file using a text editor.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 26, 2019, 08:06:13 PM
On the Android device OLDIES.M3U playlist appears empty, if I double-click, nothing happens.
Is the .m3u file truly empty? Look at it with a text editor. And is it showing zero bytes as a file size.

I was experiencing something like this yesterday where the -music player- was not showing the playlists. But they were there and contained data. If the playlist file actually contains data and your music player doesn't see them, perhaps you need to find the 'rescan' option in the player. Or sync the Android Media Storage with the newly synced files.

This might help a little: https://getmusicbee.com/forum/index.php?topic=27681.msg155676#msg155676

As far as I can see - in the FIRST test run (after clearing out all of the SD card files and just leaving the MUSIC and PLAYLISTS folders), there defo is no playlist to see, and on a subsequent test, it is there to see, but is zero bytes, it says EMPTY when looking at it using an Android music player, if I double-click on it, nothing happens.
It's all worked just fine in the past - using the cable!!
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 26, 2019, 08:12:09 PM
Hope that's a bit clearer!!
In honesty not really - i am finding your reports very hard to follow and make sense of.
You need to view the contents of the playlist files to determine if they are empty eg. using windows explorer copy the file to your computer drive and then edit the file using a text editor.

Sorry about that!
I'll clear everything off of the Android device , update to the latest MB patch and start again, and will try to make any test results clearer.
Freddy
Title: Re: Wifi android device synching
Post by: Steven on February 26, 2019, 08:32:34 PM
I'll clear everything off of the Android device , update to the latest MB patch and start again, and will try to make any test results clearer.
were you using the latest patch that i linked to a couple of hours ago ?
@freddy, yes i can see there is a bug with MTP wired sync for playlists. This should fix that:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Assuming yes, can you replace musicbee.exe with this one:
https://www.mediafire.com/file/5kcpk4izbkj6hd0/MusicBeeDebugMtp.zip/file
which will log what is being done for wired MTP sync in the error log
Title: Re: Wifi android device synching
Post by: phred on February 26, 2019, 08:48:10 PM
Using 3.3.6996 and 0.2.4 and changing nothing else from yesterday, WiFi sync is mostly working again on the X5. I added an album to MB's library and one other track to a playlist. WiFi preview shows only the album to be synced and doesn't display any playlists. I went ahead anyway and the album transferred but the track for the playlist did not. There were 89 tracks in the playlist before the sync and there still are.

For reference, when WiFi syncing to the Samsung S8 I see the playlists both in preview and when actually syncing. Whether or not there are changes. Steven- you said this is normal. But on the X5 I have -never- seen the playlists. When I did a sync last night via USB cable, the playlists showed in preview and in the actual sync. And they are unchanged in today's WiFi sync. Here's the X5 error log:
Code
Feb 26, 2019 3:37:49 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3AMusic,mapped path=null,write=true,sd card=/mnt/external_sd1
Feb 26, 2019 3:37:49 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 26, 2019 3:37:49 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 26, 2019 3:37:50 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3AMusic,mapped path=null,write=true,sd card=/mnt/external_sd1
Feb 26, 2019 3:37:50 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 26, 2019 3:37:50 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 26, 2019 3:37:50 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/mnt/external_sd1, root id=0E65-65B9:, perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 26, 2019 3:37:59 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/mnt/external_sd1, root id=0E65-65B9:, perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A

I'm not looking for a miracle, Steven. I had resigned myself to syncing the X5 via USB, but tried WiFi today just on a whim. If you can't do anything about this, I understand. At least I'm getting the tracks copied over and that's much better than yesterday's attempt and the preview showing that all 27k+ tracks would be synced.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 26, 2019, 09:02:06 PM
were you using the latest patch that i linked to a couple of hours ago ?

Yes and whatever you have done - everything is now working perfectly!!

TESTING LATEST
MusicBee Wifi Sync Android App v 0.2.4
Device Android v 6.0.1
MB v3.3.6996.32080

All expected COPY and DELETE operations successful on MicroSD card for music files to MicroSD\Music\mytracks.m4a

The Playlist OLDIES.M3U was copied successfully to MicroSD\Playlists\OLDIES.M3U (1.25 KB)
EXAMPLE = (/Music/Maria Muldaur/Hear of Mine/1-01 - Midnight At The Oasis.m4a)
plus the whole list etc.


NO Error log entries for MB on PC.

Phone/Download/MusicBeeWifiSyncErrorLog.txt

26 Feb 2019 20:40:28 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A,mapped path=/storage/B2D4-1CF9,write=true,sd card=/storage/B2D4-1CF9
26 Feb 2019 20:40:28 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A
26 Feb 2019 20:40:29 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A,mapped path=/storage/B2D4-1CF9,write=true,sd card=/storage/B2D4-1CF9
26 Feb 2019 20:40:29 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A
26 Feb 2019 20:40:29 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/storage/B2D4-1CF9, root id=B2D4-1CF9:, perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A
26 Feb 2019 20:40:33 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/storage/B2D4-1CF9, root id=B2D4-1CF9:, perm uri=content://com.android.externalstorage.documents/tree/B2D4-1CF9%3A
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 27, 2019, 05:39:09 AM
I just tried to sync with my Galaxy S7 but it wants to delete all the songs on the phone it looks like.  I don't want to delete 20GB of songs and resync them all at the same time.   Is there a fix?
Title: Re: Wifi android device synching
Post by: Steven on February 27, 2019, 07:15:19 AM
are you using the latest MB patch version 3.3.6996 and android app 0.2.4?
files are prompted for deletion for any songs that dont match the generated filename based on the sync settings using all the source files
eg. has the file path or naming template been changed in any way in the sync settings
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 27, 2019, 10:21:56 AM
TEST RESULTS

MY CURRENT SETTINGS
Preferences / devices / SM-J500FN / configure / settings /

MEDIA STORAGE
STORAGE PATH:  [SM-J500FN\Card]

PLAYLIST PATH: [SM-J500FN\Card\Playlists\]

I just added a few  more Playlists, one at a time, to the sync settings, and you'll be be relieved / please to know all went OK!

QUESTION @STEVEN
What is the normal / correct / required configuration for Playlist path?
Is it generated by MB or by browsing and selecting by the user?

My reason for asking, is that I'm sure it recently changed from (3) to (1), and I didn't change it, so maybe that's why the Playlists are in the correct location and work Ok and previously, did not always??

(1) - SM-J500FN\Card\Playlists\
(2) - Card\Playlists\
(3) - Playlists\
(4) - Other

Best regards; Freddy
Title: Re: Wifi android device synching
Post by: phred on February 27, 2019, 12:06:48 PM
What is the normal / correct / required configuration for Playlist path?
Is it generated by MB or by browsing and selecting by the user?
You have to determine what/where your player requires as regards to location of the playlist files and the music files.
You have to set that up in MB. And once set, it should remain persistent as long as you don't change it on the player.
MB can't determine where to put the files unless you configure it.
Title: Re: Wifi android device synching
Post by: Freddy Barker on February 27, 2019, 02:33:11 PM
You have to determine what/where your player requires as regards to location of the playlist files and the music files.
You have to set that up in MB. And once set, it should remain persistent as long as you don't change it on the player.
MB can't determine where to put the files unless you configure it.

Hi and thanks,
My Android player(s) have always been [Card\Music\] and [Card\Playlists\]
So either option here will do the job?

(1) - SM-J500FN\Card\Playlists\
(2) - Card\Playlists\
(3) - Playlists\
Title: Re: Wifi android device synching
Post by: Steven on February 27, 2019, 07:04:29 PM
Using 3.3.6996 and 0.2.4 and changing nothing else from yesterday, WiFi sync is mostly working again on the X5. I added an album to MB's library and one other track to a playlist. WiFi preview shows only the album to be synced and doesn't display any playlists. I went ahead anyway and the album transferred but the track for the playlist did not. There were 89 tracks in the playlist before the sync and there still are.
irrespective of which android version and which storage card you use, MB will always sync a playlist if (a) its included in the MB device sync settings and (b) you dont have the format set to "Do not save" ie. you have the format set to M3U.
If those conditions are met, the preview should always show the playlist. As to the actual sync, its theoretically possible it doesnt sync due to a bug
Title: Re: Wifi android device synching
Post by: phred on February 27, 2019, 09:27:12 PM
irrespective of which android version and which storage card you use, MB will always sync a playlist if (a) its included in the MB device sync settings and (b) you dont have the format set to "Do not save" ie. you have the format set to M3U.
If those conditions are met, the preview should always show the playlist. As to the actual sync, its theoretically possible it doesnt sync due to a bug
The playlists are definitely included in the sync settings for the X5 and the format is set to M3U. But the playlists are not visible in the preview, nor do they transfer.

BUT(!) please don't put any time into this on my behalf. When I fired up the X5 this afternoon to see what the preview showed as needed to sync, it showed all 27k+ tracks again. I will continue to use WiFi on the S8, but unless there's some major breakthrough, I won't even check any more with the X5. I understand it may be entirely due to Android 5.1.1 and there's nothing I can, nor FiiO will, do about that.

Although I see that FiiO just release a firmware update for the X5. There's no mention of an Android OS update, but I'll update the firmware and try another WiFi sync.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 27, 2019, 11:38:20 PM
are you using the latest MB patch version 3.3.6996 and android app 0.2.4?
files are prompted for deletion for any songs that dont match the generated filename based on the sync settings using all the source files
eg. has the file path or naming template been changed in any way in the sync settings
I am using 6996 and 0.1.4 according to the app info. .  I checked for updates yesterday before trying it and posting about it.  It doesn't not show up under the beta apps in the play store app.

also as I posted in a different thread I moved my music to a new computer and figured out how to reconnect my library and file path so I wouldn't be starting from scratch.    Bringing me to another question.   How do I tell the app which computer I'm trying to connect too?  The old one is till online.
Title: Re: Wifi android device synching
Post by: phred on February 28, 2019, 02:05:58 AM
Although I see that FiiO just release a firmware update for the X5. There's no mention of an Android OS update, but I'll update the firmware and try another WiFi sync.
Sadly no change.
Title: Re: Wifi android device synching
Post by: phred on February 28, 2019, 02:09:09 AM
I am using 6996 and 0.1.4 according to the app info. .  I checked for updates yesterday before trying it and posting about it.  It doesn't not show up under the beta apps in the play store app.
Current version of the wifi app is 0.2.4. Open up the Play Store app from within your device and check for updates.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 28, 2019, 04:54:13 AM
I am using 6996 and 0.1.4 according to the app info. .  I checked for updates yesterday before trying it and posting about it.  It doesn't not show up under the beta apps in the play store app.
Current version of the wifi app is 0.2.4. Open up the Play Store app from within your device and check for updates.

Isn't that what I just said I did?  I did it twice.   Before trying to sync and again before posting to the forum.
Title: Re: Wifi android device synching
Post by: Steven on February 28, 2019, 07:33:34 AM
If any of the others who joined the testing list have any comments on the latest version, it would be appreciated - the app should be fully functional now.

The latest play store version is 0.2.4
https://play.google.com/apps/internaltest/4700978781087552506

for those who missed the message a few days ago, also update MusicBee as there was a bug with timestamps. Any files you previously synched with Wifi Sync will probably be re-synched again
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: railfan-eric28 on February 28, 2019, 08:05:50 AM
I still am not getting any updates on the MB Wifi App.   What do I need to do?  It was last updated on Feb 16th.
Title: Re: Wifi android device synching
Post by: zkhcohen on February 28, 2019, 08:20:04 AM
Still working great for me. Currently transferring at 85-115 Mbps.
Title: Re: Wifi android device synching
Post by: Steven on February 28, 2019, 08:43:08 AM
What do I need to do?
use the link provided in the message?
Title: Re: Wifi android device synching
Post by: zkhcohen on February 28, 2019, 08:48:32 AM
Finished the sync.All songs were transferred. None of my .m3u playlists were transferred, even after retrying.This wasn't an issue on earlier builds.


MusicBee Desktop logs show many of these:


2/28/2019 12:44:58 AM - Add playlist "C:\Users\Zachary\Music\MusicBee\Playlists\Playlists\Transcendent Chill.mbp" I/O error occurred.


Phone logs show:

Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile: SM-G955U
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: createFolder: SM-G955U: Invalid url
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile: SM-G955U
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: createFolder: SM-G955U: Invalid url
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile: SM-G955U
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: createFolder: SM-G955U: Invalid url
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile: SM-G955U
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: createFolder: SM-G955U: Invalid url
Feb 28, 2019 12:44:58 AM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile: SM-G955U



....etc., etc.
Title: Re: Wifi android device synching
Post by: Steven on February 28, 2019, 09:07:06 AM
is "C:\Users\Zachary\Music\MusicBee\Playlists\Playlists\..." the correct source playlist location?
what is the storage path in the musicbee device sync settings?
and what is the Playlist storage path configured in the musicbee device sync settings?

it might be useful to send me a link to your settings file, indicating which device you are using if there are multiple
Title: Re: Wifi android device synching
Post by: zkhcohen on February 28, 2019, 10:09:02 AM
is "C:\Users\Zachary\Music\MusicBee\Playlists\Playlists\..." the correct source playlist location?
what is the storage path in the musicbee device sync settings?
and what is the Playlist storage path configured in the musicbee device sync settings?

it might be useful to send me a link to your settings file, indicating which device you are using if there are multiple

That path does contain the playlists, but not the .m3u ones. I have no idea why it's trying to sync the .mbp one as indicated by the error message I sent. The folder does contain .mbp playlists.

I'll pm you my settings file. There's only one device.
Title: Re: Wifi android device synching
Post by: Bee-liever on February 28, 2019, 10:41:57 AM
I still am not getting any updates on the MB Wifi App.   What do I need to do?  It was last updated on Feb 16th.
I would hazard a guess that you are using an android 4.4 (KitKat) device.
All the updates after 1.4 only work on android 5.0 and above.
Title: Re: Wifi android device synching
Post by: phred on February 28, 2019, 12:06:26 PM
What do I need to do?
use the link provided in the message?
https://play.google.com/apps/internaltest/4700978781087552506

Unless Bee-liever is correct.
Title: Re: Wifi android device synching
Post by: phred on February 28, 2019, 12:27:40 PM
None of my .m3u playlists were transferred
My MB error log shows one set of these for each of my 79 playlists. And yes, the path is correct.
Code
2/27/2019 4:56:20 PM - Operation is not valid due to the current state of the object.
2/27/2019 4:56:20 PM - Add playlist "G:\MusicBee\phred\Playlists\George Harrison.mbp" Operation is not valid due to the current state of the object.

X5 error log
Code
Feb 27, 2019 4:56:17 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 27, 2019 4:56:18 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 27, 2019 4:56:20 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A,mapped path=/mnt/external_sd1,write=true,sd card=/mnt/external_sd1
Feb 27, 2019 4:56:20 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant: selected permission=content://com.android.externalstorage.documents/tree/0E65-65B9%3A
Feb 27, 2019 4:56:20 PM com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: storage: root path=/mnt/external_sd1, root id=0E65-65B9:, perm uri=content://com.android.externalstorage.documents/tree/0E65-65B9%3A

And I'm not sure if this has anything to do with the problem, but I've got about 3000 entries like this in the MB error log. I've mentioned this before, but there's been no comment. The drive letters referenced, Q: and R:, are optical drives. I see no reason why MB should be calling that when syncing. And at the time of these entries, I wasn't using, nor was there a disk in the opticals.
Code
2/27/2019 9:20:51 PM - Q:\Track03.cda:refresh:The parameter is incorrect. [Q:\]
2/27/2019 9:20:51 PM - R:\Track10.cda:refresh:The parameter is incorrect. [R:\]
2/27/2019 9:20:52 PM - Q:\Willie Dixon\The Quiet Night\9 - I Think I Got the Bl.mp3:refresh:The parameter is incorrect. [Q:\Willie Dixon\The Quiet Night\]
2/27/2019 9:20:55 PM - R:\Grateful Dead\Boston Music Hall\1-9 - Tennessee Jed.mp3:refresh:The parameter is incorrect. [R:\Grateful Dead\Boston Music Hall\]
Title: Re: Wifi android device synching
Post by: Steven on February 28, 2019, 05:59:37 PM
@zkhcohen, your device is named "SAMSUNG-SM-G955U" but your playlist root path is configured as "SM-G955U\Card\Playlists\"
I am guessing the name of your device has recently been changed.
So MB is trying to save the playlists to:
SAMSUNG-SM-G955U\Card\SM-G955U\Card\Playlists\

You should set the correct playlist root path - easier if you just make it a relative path like the other folders.

Having said all this, there is a bug as it failed to create folder "SM-G955U". I can see why that happened and will fix that

@phred, i have sent you a PM re: the refresh entries in the error log
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 01, 2019, 02:42:23 AM
@zkhcohen, your device is named "SAMSUNG-SM-G955U" but your playlist root path is configured as "SM-G955U\Card\Playlists\"
I am guessing the name of your device has recently been changed.
So MB is trying to save the playlists to:
SAMSUNG-SM-G955U\Card\SM-G955U\Card\Playlists\

You should set the correct playlist root path - easier if you just make it a relative path like the other folders.

Having said all this, there is a bug as it failed to create folder "SM-G955U". I can see why that happened and will fix that

@phred, i have sent you a PM re: the refresh entries in the error log

Are you saying that if we rename our device or switch cards to a new one the playlists won't work or have to be recreated?
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 01, 2019, 02:45:22 AM
I still am not getting any updates on the MB Wifi App.   What do I need to do?  It was last updated on Feb 16th.
I would hazard a guess that you are using an android 4.4 (KitKat) device.
All the updates after 1.4 only work on android 5.0 and above.
In my earlier post I said i am using a GS7.   I'm on nougat.   
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 01, 2019, 02:47:24 AM
What do I need to do?
use the link provided in the message?
https://play.google.com/apps/internaltest/4700978781087552506

Unless Bee-liever is correct.

Thanks.   I am confused as I joined a test version when it first came out and had to send a PM to Steven to get approved.   
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 01, 2019, 03:15:51 AM
So I finally got the Wifi App updated but it still wants to delete a list too long to get to the bottom off my SD Card.   Is it necessary to delete everything and sync it all again?  That would take 8 hrs or more.   I have at least 20GB's or more on my card.   
Title: Re: Wifi android device synching
Post by: Steven on March 01, 2019, 07:12:36 AM
Is it necessary to delete everything and sync it all again?
no.
can you send me a link to your settings file (help/ support/ view settings)
and also let me know the folder path the music files reside on your device
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 01, 2019, 03:36:43 PM
TESTING - 01 MAR 2019
MusicBee Wifi Sync Android App 0.2.5
Device SM-J500FN Android 6.0.1
MB 3.3.6996.32080

MEDIA STORAGE
Storage path: [SM-J500FN\Card\]
Playlist path:  [SM-J500FN\Card\Playlists\]

ACTIONS
Added more playlists.
Removed some tracks from previously added playlists.
Added new tracks to an existing playlist.

RESULTS
All expected COPY and DELETE operations successful on [\Card\Music\] *.m4a
All 5 Playlists copied successfully to [\Card\Playlists\] *.m3u
  
Freddy
Title: Re: Wifi android device synching
Post by: TeutonJon78 on March 01, 2019, 06:35:25 PM
App 0.2.5
Musicbee 6996

A sync to the microSD card on an i777 running CM13 worked wonderfully (43 GB). I'll be trying it on my Axon 7 microsd card next with full library sync (117 GB).

Soooooo much better than MTP syncing, especially for not getting hung up on playlist syncing for 30 minutes.

Edit: Ok, so I've been getting a few failures on the bigger transfer. from the MB error log:

2019-03-01 6:44:56 PM - 10.0.17763.0 - 3.3.6996.38313 - WifiSyncAbort: Cannot write to a BufferedStream while the read buffer is not empty if the underlying stream is not seekable. Ensure that the stream underlying this BufferedStream can seek or avoid interleaving read and write operations on this BufferedStream.

My guess is the overzealous power manager on my Axon 7 is killing the app somehow. It restarts fine, but the preview still says it needs to sync files it already syncs. When it starts copying files, it starts about where it ended up.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 02, 2019, 03:26:11 AM
Is it necessary to delete everything and sync it all again?
no.
can you send me a link to your settings file (help/ support/ view settings)
and also let me know the folder path the music files reside on your device


The folder path on the phone is /storage/9C33-6BBD/Music for the music and /Playlists for the playlists.   
And here for the settings file:

https://drive.google.com/open?id=1DB_iJM5_WcKHd_VNZzRFuixTrSuIJkNa

Title: Re: Wifi android device synching
Post by: TeutonJon78 on March 02, 2019, 08:10:50 AM
So I finished syncing my large collection. It failed several times, mostly for the unknown reason I posted before. Once because my computer went to sleep.

Performing the sync several times seems to have gotten it to work correctly. The only error is one song that keeps trying to copy everytime but won't for some reason. The log shows it copying, but it never makes it to the sdcard and both say the sync was complete.

Copying it over manually and then resyncing it again matched the expected results.
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2019, 09:13:42 AM
The folder path on the phone is /storage/9C33-6BBD/Music for the music and /Playlists for the playlists.  
that doesnt match to your settings file which has:
SM-G930V\Card\
however i am not sure that is actually the problem

how did you get the files onto the sd card - using musicbee, and using wired MTP sync? and did you sync to that phone with the card inserted?
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2019, 09:22:05 AM
Edit: Ok, so I've been getting a few failures on the bigger transfer. from the MB error log:
do you have the log from the android device in the Downloads folder?

I am going to look at the retry handling and having the actual android errors will help
Title: Re: Wifi android device synching
Post by: TeutonJon78 on March 02, 2019, 09:28:37 AM
Yeah, I have the file. It's about a 1 MB. I've been testing the sync and getting a LOT of weird failures/recopys. I'll post it to my google drive and PM you the link.
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2019, 10:54:03 AM
Yeah, I have the file. It's about a 1 MB. I've been testing the sync and getting a LOT of weird failures/recopys. I'll post it to my google drive and PM you the link.
looking at the error log, i dont think i can do anything about the issue you were having. It looks to me like something on the android device went unstable and didnt recover
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 02, 2019, 12:14:22 PM
@steven

I was gonna do some testing today with the "enable 2 way synchronisation" option checked, but is 'greyed out'..

Is that correct for Wifi sync only??

Freddy
Title: Re: Wifi android device synching
Post by: klint on March 02, 2019, 03:10:56 PM
Hi Steven
My PC has a firewall that I can't tweak (an office PC), so I'm not able to test the sync over wifi and  I'm still "stuck" with the sync over MTP. :(

And I have a question there: could there be a side effect on the MTP sync from the latest changes you did on the device syncing ? I'm asking because with the latest build I installed yesterday, MB sync simulation is now showing ALL files to be resent to the phone, and also is not showing some deletions that should be done. I haven't applied the sync yet for the latter reason, but I fear that I will have to erase all files manually before the sync rewrites all files.

Thanks
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2019, 03:35:04 PM
could there be a side effect on the MTP sync from the latest changes you did on the device syncing ?
only if you succeeded with the Wifi Sync on an some of the earlier MB builds due to a bug with setting the file modification time, and every file was synched.
I suggest you try with the MB version from the first forum topic. If it still happens, check the modification date/time of some of the files. Also check the MB sync settings has the correct music folder path and correct storage path
Let me know how that goes.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 02, 2019, 03:59:00 PM
The folder path on the phone is /storage/9C33-6BBD/Music for the music and /Playlists for the playlists.   
that doesnt match to your settings file which has:
SM-G930V\Card\
however i am not sure that is actually the problem

how did you get the files onto the sd card - using musicbee, and using wired MTP sync? and did you sync to that phone with the card inserted?

I synced it with MB with the phone plugged into the computer.   So I think that is MTP sync.  I think the setting is "File Transfer".
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2019, 05:26:55 PM
I synced it with MB with the phone plugged into the computer.   So I think that is MTP sync.  I think the setting is "File Transfer".
I take that to mean the card in question was inserted in the phone when you synched it with MB using a wired connection.
In that case, can you navigate to one of the music files that resides on the phone using Windows Explorer and confirm the file modification date looks similar to the file modification date of the equivalent source file in your musicbee library (it wont be an exact match but there should be no more than a minute or two difference)
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2019, 05:48:46 PM
I was gonna do some testing today with the "enable 2 way synchronisation" option checked, but is 'greyed out'..

Is that correct for Wifi sync only??
yes thats right for now
Title: Re: Wifi android device synching
Post by: phred on March 02, 2019, 09:58:24 PM
Using 3.3.6998 and 0.2.5.
After stating a few days ago that I will reluctantly refrain from using WiFi sync on my FiiO X5 due to its 5.1.1 Android OS, I decided to give it another try today. Last time it took almost twelve hours. Today it took three. And it appears to have copied everything that it was supposed to except playlists. I believe I saw one or two other users state that playlists weren't being copied. I watched the syncing tracks very carefully at it approached 99% and did not see a single playlist appear. There is nothing in either error log. Perhaps all my playlists are up to date? Steven said at one point that even if that were the case, they should be seen on the sync list.

I'm going to create a new playlist and sync again to see if it gets picked up. I shall report back.
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2019, 10:20:08 PM
re: the playlists, there is a bug in the Android media scanner where it doesnt add playlists files to the mediastore database.
I added some handling to work around that, although i dont recall if it was included in 0.2.5
The file should be physically present on the card but not show in windows explorer or anywhere that depends on the mediastore database.
If you browse using the Files app via the SD Card storage you should see the file.
If you are still convinced it wasnt even copied at all then i will give you a debug version.
Title: Re: Wifi android device synching
Post by: phred on March 03, 2019, 02:10:33 AM
The file should be physically present on the card but not show in windows explorer or anywhere that depends on the mediastore database.
If you browse using the Files app via the SD Card storage you should see the file.
If you are still convinced it wasnt even copied at all then i will give you a debug version.
I added a new playlist to the sync parameters and set the sync to -only- sync playlists. Nothing new was added to the X5. I checked with an Android file manager and the new playlist file does not exist on the card. I also connected the X5 via USB to MB and examined the playlists folder. The new playlist isn't there.
Title: Re: Wifi android device synching
Post by: Steven on March 03, 2019, 10:51:59 AM
@phred, can you run this debug version and let me know the info at the end of the error log after doing a wifi sync (preview only is ok)

https://www.mediafire.com/file/gymyuftgsiyi04s/MusicBeeDebugPlaylists.zip/file

Title: Re: Wifi android device synching
Post by: Freddy Barker on March 03, 2019, 12:37:22 PM
TEST - [03 MAR 2019]
Device SM-J500FN Android 6.0.1
MB 3.3.6996.32080

DEVICE SETTING
Storage path = [SM-J500FN\Card\]

TEST ACTIONS
1 - Amend device setting to: Playlist path = [Playlists\].
2 - Remove tracks, add tracks and add playlist to sync settings.
3 - Restart MB.
4 - DELETE all current playlists on Card.
5 - Launch MusicBee Wifi Sync App 0.2.5.

RESULTS
All expected COPY (35) and DELETE (126) operations successful on [\Card\Music\] *.m4a
All Playlists copied successfully to [\Card\Playlists\] *.m3u

ONLY ONE ERROR (The only entry in the error log for months!)
Slightly odd as the track "01 Theme From Shaft.m4a" was not in any of the Playlists in the device sync settings, and so was not transferred to device.

MB Error Log:
02/03/2019 11:15:09 - Copy D:\MusicBee\Library\Music\Isaac Hayes\Shaft\01 Theme From Shaft.m4a to SM-J500FN\Card\Music\Isaac Hayes\Shaft\1-01 - Theme From Shaft.m4a
  
Regards: Freddy
Title: Re: Wifi android device synching
Post by: phred on March 03, 2019, 12:54:34 PM
@phred, can you run this debug version and let me know the info at the end of the error log after doing a wifi sync (preview only is ok)
I added one playlist to the list of already enabled playlists and then attempted a WiFi sync. Sync app stated "No changes required."
Debug error log:
Code
3/3/2019 7:36:39 AM - device name=X5,storage=T:\,playlists path=Playlists\,est=True
3/3/2019 7:36:39 AM - playlist all=False,count=0,create folders=False
3/3/2019 7:36:44 AM - playlists=False,format=M3u,partial=False
3/3/2019 7:36:44 AM - sync playlists=False,est=True
After seeing that the log shows "storage=T:\" I looked at the 'removable device' settings in MB and it's pointing to U:\ as the root of the storage path. There's a drop down in that field, but all that shows is U:\ and I can't manually change it to T:\. I recall at one point during WiFi testing the X5 was syncing to U:\. Looking at the other configurations under devices, X5 (the internal card that I don't use for music) is showing at T:\ and X5_SD1 is showing as V:\. T:\ and V:\ are used when I'm syncing via USB.
Title: Re: Wifi android device synching
Post by: Steven on March 03, 2019, 01:34:48 PM
Its nothing to do with what storage path you have set. MB is matching on the device name, so the configuration you need to edit is called "X5" - you can find and edit it in Preferences/ Devices.
As it stands you have no playlists selected in "X5"
Title: Re: Wifi android device synching
Post by: phred on March 03, 2019, 02:16:06 PM
Its nothing to do with what storage path you have set. MB is matching on the device name, so the configuration you need to edit is called "X5" - you can find and edit it in Preferences/ Devices.
As it stands you have no playlists selected in "X5"
YES! Playlists are now showing up on the preview and they are syncing. Added one playlist and it copied. Deleted a playlist and it was removed. Added a track to a playlist and it copied. Thanks very much Steven.
Title: Re: Wifi android device synching
Post by: zkhcohen on March 03, 2019, 05:14:20 PM
@zkhcohen, your device is named "SAMSUNG-SM-G955U" but your playlist root path is configured as "SM-G955U\Card\Playlists\"
I am guessing the name of your device has recently been changed.
So MB is trying to save the playlists to:
SAMSUNG-SM-G955U\Card\SM-G955U\Card\Playlists\

You should set the correct playlist root path - easier if you just make it a relative path like the other folders.

Having said all this, there is a bug as it failed to create folder "SM-G955U". I can see why that happened and will fix that

@phred, i have sent you a PM re: the refresh entries in the error log


Super weird. I didn't intentionally change the phone name.

Modifying the playlist path worked perfectly! Thanks.
Title: Re: Wifi android device synching
Post by: psychoadept on March 03, 2019, 08:34:24 PM
I'm having a problem with inconsistency of file paths between wired and wireless syncing. What I WANT is to sync everything to a folder on my SD card called MusicBee, with subfolders for Music, Audiobooks, etc. With wired sync this works with the following settings (it looks wrong because the Music path doesn't show the music subfolder, but it actually does create a MusicBee\Music folder where it puts all the tracks).

(https://i.imgur.com/q74TkwV.png?1)


However, when I unplug the phone and open the device from Devices, this i what I get:

(https://i.imgur.com/YS4GkD2.png?1)

I've tried editing and saving it, but it won't change. And it seems to be trying to delete/recopy tracks based on these settings when I use the wireless sync.
Title: Re: Wifi android device synching
Post by: Steven on March 03, 2019, 08:45:16 PM
Putting aside the wired vs. wireless sync for a moment, if you still have the phone connected to the computer and dont use wireless sync in a musicbee session, does the values for audiobooks and podcasts show incorrectly both when opened from the Preferences/ Devices/ Configure panel vs. opening from the main panel? ie. is it simply a display bug in the Preferences/ Devices/ Configure panel irrespective of whether wired sync is active

I didnt actually test the preserve folders and filenames setting, so i will do so as it sounds like there is an issue with relative paths

edit:
nevermind about the test with Configure panel as i get the same behaviour
Title: Re: Wifi android device synching
Post by: psychoadept on March 03, 2019, 09:08:37 PM
Ok, thanks. I *think* it's actually syncing correctly.
Title: Re: Wifi android device synching
Post by: Steven on March 03, 2019, 09:34:54 PM
Ok, thanks. I *think* it's actually syncing correctly.
I think its just a display bug when accessed via the Preferences/ Devices tab, and should have sync'ed correctly assuming you saved with the correct path.
Its fixed now:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: klint on March 03, 2019, 10:11:22 PM
)
could there be a side effect on the MTP sync from the latest changes you did on the device syncing ?
only if you succeeded with the Wifi Sync on an some of the earlier MB builds due to a bug with setting the file modification time, and every file was synched.
I suggest you try with the MB version from the first forum topic. If it still happens, check the modification date/time of some of the files. Also check the MB sync settings has the correct music folder path and correct storage path
Let me know how that goes.


The issue comes from the fact that the Storage folder of my phone is always reset to "internal memory" even if I set it back to "external SD card" (after what the sync over MTP behaves quite correctly).

I have tried to modify another parameter in the device settings, like "delete unmatched target files" together with the Root path (set back to "SD CARD"), yet in MusicBee3Settings.ini, only on the <DeleteUnmatchedTargetFiles> param is updated, but not the <RootPath> one, when exiting MB.
Title: Re: Wifi android device synching
Post by: psychoadept on March 03, 2019, 10:35:17 PM
Ok, thanks. I *think* it's actually syncing correctly.
I think its just a display bug when accessed via the Preferences/ Devices tab, and should have sync'ed correctly assuming you saved with the correct path.
Its fixed now:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

That fixed it, thanks!
Title: Re: Wifi android device synching
Post by: Steven on March 04, 2019, 06:47:45 AM
The issue comes from the fact that the Storage folder of my phone is always reset to "internal memory" even if I set it back to "external SD card" (after what the sync over MTP behaves quite correctly).

I have tried to modify another parameter in the device settings, like "delete unmatched target files" together with the Root path (set back to "SD CARD"), yet in MusicBee3Settings.ini, only on the <DeleteUnmatchedTargetFiles> param is updated, but not the <RootPath> one, when exiting MB.
wifi sync doesnt update the MB device sync settings. With wired sync, when you change the storage root path, there is a behaviour where its not saved unless you do a preview or sync. I will address that at some point
Title: Re: Wifi android device synching
Post by: klint on March 04, 2019, 09:31:16 AM
The issue comes from the fact that the Storage folder of my phone is always reset to "internal memory" even if I set it back to "external SD card" (after what the sync over MTP behaves quite correctly).

I have tried to modify another parameter in the device settings, like "delete unmatched target files" together with the Root path (set back to "SD CARD"), yet in MusicBee3Settings.ini, only on the <DeleteUnmatchedTargetFiles> param is updated, but not the <RootPath> one, when exiting MB.
wifi sync doesnt update the MB device sync settings. With wired sync, when you change the storage root path, there is a behaviour where its not saved unless you do a preview or sync. I will address that at some point

Hi Steven
I have done some further testing, and the RootPath setting does not get updated even after a sequence of preview/sync: it is set to "Internal memory" while I explicitely set it to "SD Card" (still, the device summary in the sync panel always shows the SD Card size, not the internal memory one).
Thanks
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 04, 2019, 05:32:13 PM
Music Bee Wifi Sync App 0.2.6 TEST - 04 March 2019

(MB 3.3.7001.38776), RESULTS - All Good!
  
Regards: Freddy
Title: Re: Wifi android device synching
Post by: Steven on March 04, 2019, 06:36:45 PM
I have done some further testing, and the RootPath setting does not get updated even after a sequence of preview/sync: it is set to "Internal memory" while I explicitely set it to "SD Card" (still, the device summary in the sync panel always shows the SD Card size, not the internal memory one).
yes i agree - it looks like a change i made causes it not to be updated. I will fix that for the next 3.3 update

edit:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 05, 2019, 03:32:40 AM
Is it necessary to delete everything and sync it all again?
no.
can you send me a link to your settings file (help/ support/ view settings)
and also let me know the folder path the music files reside on your device


Come to find out I hadn't yet synced from this new computer and it was importing old outdated playlists and the new ones was in mbp and the links was broken.   So after lots of 
 fooling around, as i couldn't get any help on my other thread, I finely figured out how to manually export each playlist from the old computer and read them into the new computer in working order. and then finally it synced it only deleted some files and then synced the rest.   So far so good. 


Title: Re: Wifi android device synching
Post by: klint on March 05, 2019, 09:47:34 AM
I have done some further testing, and the RootPath setting does not get updated even after a sequence of preview/sync: it is set to "Internal memory" while I explicitely set it to "SD Card" (still, the device summary in the sync panel always shows the SD Card size, not the internal memory one).
yes i agree - it looks like a change i made causes it not to be updated. I will fix that for the next 3.3 update

edit:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

Hi Steven
Thanks, but now I'm stuck in another issue: the folder paths for music/podcast/... on the device now mention explicitely Internal Storage while the RootPath is SD Card. I have tried to remove the Internal device from those pathes but they are back.


(https://i.imgur.com/ZMmX2DT.png)

Of course, the sync preview tells me to resync everything ;)

Thanks
Title: Re: Wifi android device synching
Post by: Steven on March 05, 2019, 10:32:52 AM
that should have been fixed this morning so please re-download
Title: Re: Wifi android device synching
Post by: klint on March 05, 2019, 02:56:09 PM
that should have been fixed this morning so please re-download


Happy to report that it works fine now. Thanks Steven :)
Title: Re: Wifi android device synching
Post by: Steven on March 06, 2019, 07:18:05 PM
Will it be possible only with 2 way Wifi Sync?
Thats right. After I feel comfortable one-way wifi sync is stable i will approach the developers of some of the players to see if there is a way to sync ratings and play-counts back to musicbee. Specifically on the point of deleting songs on the phone and playlists, i could probably do that without any co-operation of the other players but i havent investigated yet.

Also there should be an option to include folders manually in the preferences like if i want to just sync only two albums then why do i need to sync whole music? And there should be an easy way to do it like you should be able to just right-click on any album in MusicBee and click Sync and boom it goes to the phone.
you can do that with wired sync, using right click/ Send To/ Device
Title: Re: Wifi android device synching
Post by: OhJeffrey on March 06, 2019, 10:24:36 PM
Hey Steven,
you are incredible. Wow, I'm stunned by your work!
MusicBee is by far the most advanced MusicPlayer I know. Way better, faster and smoother than others.
While using MB for all my partys and playlist management I still have to use MediaMonkey for the AndroidSync. If you would be able to get the 2-way-sync to work... oh boy ... that would be the next big thing! :-*
Title: MB Wifi Sync Playlist Issue
Post by: KangNi on March 06, 2019, 11:30:55 PM
Hi,

I've just tried MB Wifi Sync and experienced an issue with changing the playlist format.

I started syncing with M3U files and it worked fine.
Later I switched to PLA and it worked fine.
After I switched back to M3U, the android APP corretly shows M3U files in the sync preview, but when I proceed it still stores PLA files!  :o

I've already tried restart MB and the APP.
There seems to be no way to set it back to sync M3U files again  :-\

Any ideas here?

MB 3.3.7003
MB Sync 0.2.6

Greetings
Title: Re: Wifi android device synching
Post by: KangNi on March 07, 2019, 12:24:28 AM
Quote
If you find they're truly not being copied over try manually deleting the pla files on the device and then resyncing.

I've did deleted the PLA files and Yes, they are synced in the right folder.
But the App still writes PLA files but shows M3U in the sync preview.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 07, 2019, 02:33:58 AM
Is there going to be a way to select which playlists or whatever to sync via WIFI from the android app?  So I can lay in bed or whatever and change it without going to the computer and doing it on the software?  That's how iSyncr works.  Except it was slow as hell to try to browse artists, albums, or songs or anything other then playlists. 
Title: Re: Wifi android device synching
Post by: phred on March 07, 2019, 02:48:03 AM
Quote
If you find they're truly not being copied over try manually deleting the pla files on the device and then resyncing.

I've did deleted the PLA files and Yes, they are synced in the right folder.
But the App still writes PLA files but shows M3U in the sync preview.

You say you're seeing m3u in the preview, so make sure they're not going to a different folder rather than the one expected.
Title: Re: Wifi android device synching
Post by: Steven on March 07, 2019, 08:55:56 AM
PLA formatted playlists is not supported (and wont be) by WifiSync and switches to M3U
Title: Re: Wifi android device synching
Post by: chrisdivine on March 08, 2019, 09:08:08 AM
Hi Steven!

I LOVE MB! Really and the WiFI Sync option is a killer feature! Thanks 4 your work. You are doing a great job!

I am using 3.3.7003 and syncronication is a little bit buggy at the moment. Sometimes it works, sometimes not.
Actually it stops with the android message: A non-recoverable error occured during the synchronization process.... and the log files say (german phone!):
"März 08, 2019 9:48:15 VORM. com.getmusicbee.musicbeewifisync.ErrorHandler logError
SCHWERWIEGEND: looper [CLT-L29, 9, 0.2.6] command=ReceiveFile: java.io.UTFDataFormatException: malformed input around byte 114"
"März 08, 2019 9:52:25 VORM. com.getmusicbee.musicbeewifisync.ErrorHandler logError
SCHWERWIEGEND: looper [CLT-L29, 9, 0.2.6] command=ShowPreviewResults: java.io.UTFDataFormatException: malformed input around byte 108"
CLT-L29 is the name on my phone (Android 9) using only the internal device.
Maybe this info can help you with the development.

Once again: THANK YOU!
chris


Title: Re: Wifi android device synching
Post by: KangNi on March 09, 2019, 07:37:51 PM
Hi there,

due to I still experiencing sync issues with playlists, but also found some obvious reasons for that, I've startet a new general thread about Android and playlists:

https://getmusicbee.com/forum/index.php?topic=28124.msg156052#msg156052 (https://getmusicbee.com/forum/index.php?topic=28124.msg156052#msg156052)

Please have look.

Greetings
Title: Re: Wifi android device synching
Post by: Steven on March 10, 2019, 09:44:26 PM
I am using 3.3.7003 and syncronication is a little bit buggy at the moment. Sometimes it works, sometimes not.
Actually it stops with the android message: A non-recoverable error occured during the synchronization process.... and the log files say (german phone!):
"März 08, 2019 9:48:15 VORM. com.getmusicbee.musicbeewifisync.ErrorHandler logError
SCHWERWIEGEND: looper [CLT-L29, 9, 0.2.6] command=ReceiveFile: java.io.UTFDataFormatException: malformed input around byte 114"
How solid is your Wifi connection?
I do have some retry code when a socket read or write fails but i see one place i missed, so have fixed that for the next android app update - it might be a few days though
Title: Re: Wifi android device synching
Post by: Steven on March 10, 2019, 10:31:30 PM
Is there going to be a way to select which playlists or whatever to sync via WIFI from the android app?
I have implemented the ability to select specific playlists for sync from the android device (not artists or albums, just playlists)
I will probably make it available in a few days time
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 11, 2019, 08:31:23 AM
Is there going to be a way to select which playlists or whatever to sync via WIFI from the android app?
I have implemented the ability to select specific playlists for sync from the android device (not artists or albums, just playlists)
I will probably make it available in a few days time
Oh thank you!!!  I can't wait to try it.  Keep up the good work!!!  I wish you can sync ratings with poweramp but maxmp doesn't want to sync with anything because he said it's not reliable to sync ratings with other players outside of Poweramps closed in rating system.   pity so I don't know if you will have any luck inquiring Max about it.   But I do know I've used a few players that will let you select what rating system you want to use.   I think PlayerPro and Jet Audio was two of them.   They had iSyncr on there, android, and a few others.   
Title: Re: Wifi android device synching
Post by: zkhcohen on March 14, 2019, 10:30:36 AM
Works on the Samsung S10 without any issues.

Glad to see that the new version hasn't affected anything.
Title: Re: Wifi android device synching
Post by: Steven on March 14, 2019, 07:41:56 PM
Updated alpha version 0.3:
https://play.google.com/apps/internaltest/4700978781087552506

It needs the latest patched MusicBee v3.3
https://getmusicbee.com/patches/MusicBee33_Patched.zip

- changed and enhanced UI
- error log is now viewable from the action bar (also the error log is now written to the private musicbee data folder)
- ability to select adhoc playlists for sync
- now writes playlists and contents to the mediastore database (needed for some players)
- enhanced retry functionality for socket connection failures
Title: Re: Wifi android device synching
Post by: phred on March 14, 2019, 08:06:24 PM
Updated alpha version 0.3:
https://play.google.com/apps/internaltest/4700978781087552506
It's starting to mature nicely. Some nice additions to this version. I like the settings option and to ability to see the error log from within the app. And it's working well on the Samsung S8. Didn't do a sync with the X5, but launched and the playlist option appears, so I assume a sync will work well here also.

Nice work.

Thanks.
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 15, 2019, 01:41:25 PM
Updated alpha version 0.3:
https://play.google.com/apps/internaltest/4700978781087552506

It needs the latest patched MusicBee v3.3
https://getmusicbee.com/patches/MusicBee33_Patched.zip

TESTING - [15 MAR 2019]
Device SM-A500FU Android v6.0.1
MB v3.3.7011.33478
MB vSync 0.3

ACTIONS
Added new Playlist.
All previously synced Auto-playlist have updated with several changes.

RESULTS
MusicBee Wifi Sync 0.3
ON SCREEN MESSAGE = MusiBee synchonization completed with errors.
132 files not copied, 78 files not deleted.
No Download\error log.
No new Playlist copied.

MB ERROR LOG
15/03/2019 12:25:13 - Delete "SM-J500FN\Card\Music\Kiki Dee\Amoureuse\1-21 - Amoureuse.m4a" I/O error occurred.
Plus 77 similar, 1 for each track.

15/03/2019 12:25:59 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\RATED.xautopf" I/O error occurred.
Plus 131 similar, 1 for each track.
 
Regards: Freddy
Title: Re: Wifi android device synching
Post by: Steven on March 15, 2019, 04:03:18 PM
you need to view the error log in the app itself - click on the menu in the action bar
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 15, 2019, 05:17:07 PM
you need to view the error log in the app itself - click on the menu in the action bar

Yes! the three-dots-menu Error log - empty. (just a pop-up "COPY TO CLIPBOARD")
Scanned device - nothing since 15/02/2019 @ 10:45 from search=musicbee

However!
Rebooted the PC and restarted the device - all syncing worked 100%
Nice work!
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 15, 2019, 05:31:08 PM
you need to view the error log in the app itself - click on the menu in the action bar


Just tried to sync on a second device = no playlists were updated or new one copied

MB ERROR LOG
Code
15/03/2019 16:24:32 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\WHISSEY.xautopf" I/O error occurred.
15/03/2019 16:24:32 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\RATED.xautopf" I/O error occurred.
15/03/2019 16:24:33 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\RANDOM.xautopf" I/O error occurred.
15/03/2019 16:24:33 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\ONLY ME.xautopf" I/O error occurred.
15/03/2019 16:24:33 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\OLDIES.xautopf" I/O error occurred.
15/03/2019 16:24:33 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\CLASSICS.xautopf" I/O error occurred.
15/03/2019 16:24:33 - Add playlist "D:\MusicBee\Library\Playlists\GROUPS\RECENTS.xautopf" I/O error occurred.

MB WIFI SYNC LOG
Code
15 Mar 2019 16:24:29 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3] file=Playlists/WHISSEY.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/WHISSEY.m3u: open failed: EACCES (Permission denied)
15 Mar 2019 16:24:32 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3] file=Playlists/RATED.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/RATED.m3u: open failed: EACCES (Permission denied)
15 Mar 2019 16:24:32 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3] file=Playlists/RANDOM.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/RANDOM.m3u: open failed: EACCES (Permission denied)
15 Mar 2019 16:24:32 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3] file=Playlists/ONLY ME.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/ONLY ME.m3u: open failed: EACCES (Permission denied)
15 Mar 2019 16:24:32 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3] file=Playlists/OLDIES.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/OLDIES.m3u: open failed: EACCES (Permission denied)
15 Mar 2019 16:24:32 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3] file=Playlists/CLASSICS.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/CLASSICS.m3u: open failed: EACCES (Permission denied)
15 Mar 2019 16:24:32 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3] file=Playlists/RECENTS.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/RECENTS.m3u: open failed: EACCES (Permission denied)
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 15, 2019, 05:42:48 PM
Same as....
Rebooted the PC and restarted the second device - all syncing worked 100%
Strange huh?
Title: Re: Wifi android device synching
Post by: Steven on March 15, 2019, 07:12:42 PM
i expect when you granted permissions on the android 6.0 device, you granted access to the Music folder and didnt grant access for the sd card itself ie. the Playlists folder is not permissioned.
If you open the Settings panel from the action bar, I think you can re-grant the permission. If not, i will make the enhancement so you can
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 15, 2019, 09:57:04 PM
i expect when you granted permissions on the android 6.0 device, you granted access to the Music folder and didnt grant access for the sd card itself ie. the Playlists folder is not permissioned.
If you open the Settings panel from the action bar, I think you can re-grant the permission. If not, i will make the enhancement so you can

Not sure... permission was granted and all worked ok with the previous version of MB sync.
I made no changes to the device settings on MB, other than adding 1 more playlist to the sync.
I tried it a couple more times this evening, and it's a bit hit and miss whether it works or not.
Freddy
Title: Re: Wifi android device synching
Post by: christmw2503 on March 16, 2019, 10:17:34 AM
Wow! Just found out that wifi sync works even without internet. Just created hotspot from my phone (after turning off internet) and connected my laptop to that hotspot and sync still works.
Title: Re: Wifi android device synching
Post by: Steven on March 16, 2019, 11:05:18 AM
@freddy, can you download the latest app alpha 0.3.1
https://play.google.com/apps/internaltest/4700978781087552506

and then click the settings button and redo the grant access. It now forces you to select the sd card itself so we can eliminate that as a potential reason for the issues
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 11:47:54 AM
@freddy, can you download the latest app alpha 0.3.1
https://play.google.com/apps/internaltest/4700978781087552506

and then click the settings button and redo the grant access. It now forces you to select the sd card itself so we can eliminate that as a potential reason for the issues

TEST REPORT (1) [Saturday 16 MAR 2019 @ 10:55]

NOTES
All previously synced auto-playlist have been updated with several changes.

ACTIONS
On Device SM-A500FU Android v6.0.1
Update to MusicBee Wifi Sync 0.3.1
Launch App
Click settings (Spanner icon) grant access to MicroSD Card.
Select
Back Arrow
PREVIEW
SYNC NOW
Sync Status: = MusiBee synchonization successfully completed.

Repeat on Device SM-J500FN Android v6.0.1
*** ALL GOOD ***

ERROR LOGS
MB v3.3.7011.33478 = NONE
MusicBee Wifi Sync 0.3.1 = NONE

Regards: Freddy
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 12:22:44 PM
@freddy, can you download the latest app alpha 0.3.1
https://play.google.com/apps/internaltest/4700978781087552506

and then click the settings button and redo the grant access. It now forces you to select the sd card itself so we can eliminate that as a potential reason for the issues

Additional Information
For any subsequent sync operations, then theses actions need to be performed again...

Click settings (Spanner icon) grant access to MicroSD Card.
Select
Back Arrow

This is correct during testing phase??

Title: Re: Wifi android device synching
Post by: Steven on March 16, 2019, 12:23:55 PM
you only need to do it once
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 12:56:07 PM
you only need to do it once

TEST REPORT (2) - [Saturday 16 MAR 2019 @ 11:42]

I just tried another new sync, which failed COPY and DELETE for tracks and playlists operations..

ONLY when I perform these operations again...

Click settings (Spanner icon) grant access to MicroSD Card.
Select
Back Arrow


...does the sync perform 100% (and nothing new in error log).


(Part Of) Sync App Error Log

Code
16 Mar 2019 11:17:26 com.getmusicbee.musicbeewifisync.ErrorHandler logError
 SEVERE: receiveFile [SM-J500FN, 6.0.1, 0.3.1] file=Playlists/WHISSEY.m3u: java.io.FileNotFoundException: /storage/B2D4-1CF9/Playlists/WHISSEY.m3u: open failed: EACCES (Permission denied)
 16 Mar 2019 11:17:26 com.getmusicbee.musicbeewifisync.ErrorHandler logError
 SEVERE: receiveFile [SM-J500FN, 6.0.1, 0.3.1] file=Playlists/RATED.m3u: java.io.FileNotFoundException: /storage/B2D4-1CF9/Playlists/RATED.m3u: open failed: EACCES (Permission denied)
 16 Mar 2019 11:17:26 com.getmusicbee.musicbeewifisync.ErrorHandler logError
 SEVERE: receiveFile [SM-J500FN, 6.0.1, 0.3.1] file=Playlists/RANDOM.m3u: java.io.FileNotFoundException: /storage/B2D4-1CF9/Playlists/RANDOM.m3u: open failed: EACCES (Permission denied)


(Part of) MB Error log

Code
16/03/2019 11:17:25 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\ONLY ME.xautopf" I/O error occurred.
16/03/2019 11:17:25 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\OLDIES.xautopf" I/O error occurred.
16/03/2019 11:17:25 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\CLASSICS.xautopf" I/O error occurred.
16/03/2019 11:17:25 - Add playlist "D:\MusicBee\Library\Playlists\GROUPS\RECENTS.xautopf" I/O error occurred.
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 01:40:40 PM
@freddy, can you download the latest app alpha 0.3.1
https://play.google.com/apps/internaltest/4700978781087552506

and then click the settings button and redo the grant access. It now forces you to select the sd card itself so we can eliminate that as a potential reason for the issues

TEST REPORT (3) - [Saturday 16 MAR 2019 @ 12:16]

ACTIONS
On Device SM-A500FU Android v6.0.1
DELETE All contents of MUSIC and PLAYLISTS folders
Launch App
Grant access to MicroSD Card.
Sync Now
Sync Status: = MusiBee synchronization successfully completed.

RESULTS
All 172 test tracks copied to Music Folder
NONE of the 7 Playlists were copied to Playlists Folder

ERROR LOGS
MusicBee Wifi Sync 0.3.1 = NONE

MB v3.3.7011.33478

Code
16/03/2019 12:02:50 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\WHISSEY.xautopf" I/O error occurred.
16/03/2019 12:02:50 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\RATED.xautopf" I/O error occurred.
16/03/2019 12:02:50 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\RANDOM.xautopf" I/O error occurred.
16/03/2019 12:02:51 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\ONLY ME.xautopf" I/O error occurred.
16/03/2019 12:02:51 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\OLDIES.xautopf" I/O error occurred.
16/03/2019 12:02:51 - Add playlist "D:\MusicBee\Library\Playlists\SAMSUNG\CLASSICS.xautopf" I/O error occurred.
16/03/2019 12:02:51 - Add playlist "D:\MusicBee\Library\Playlists\GROUPS\RECENTS.xautopf" I/O error occurred.
Regards: Freddy
Title: Re: Wifi android device synching
Post by: phred on March 16, 2019, 02:46:54 PM
Using 3.3.7011 and 0.3 I ran a sync that included (as a test) deleting one playlist and adding about 50 new tracks from a few albums. Sync went as expected, but it seemed to hang when it came to deleting the playlist. The mbp is about 6kb and contained a list of 93 tracks. Since I sync -all- my tracks, the deletion should have been of the playlist file itself with the tracks being left as is. After about 15 minutes of the X5 showing that it was still deleting the playlist I tapped 'stop.' The status bar on MB had long ago showed 100% and 'synchronisation successfully completed.' There are no entries in either error log. Using a file manager on the X5 I see that the playlist file is indeed gone. So it seems everything worked, but it never showed as completed on the device and it continually said it was deleting the playlist.

Then, using MB I added the playlist back in and went to sync on the X5. I asked for a preview and the 'gathering of info' spinning wheel was taking quite a long time. After twenty minutes I interrupted the scan by restarting the device. Did a preview and then a sync. Looking at the tracks previewed it appears that the tracks of the playlist were actually deleted and are now being put back. Perhaps that's expected - delete a playlist and delete the songs. If so, I'd like to see and option (a la MB) to simply delete the list, or to also delete the tracks on the list.
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 02:49:19 PM
@freddy, can you download the latest app alpha 0.3.1
https://play.google.com/apps/internaltest/4700978781087552506

and then click the settings button and redo the grant access. It now forces you to select the sd card itself so we can eliminate that as a potential reason for the issues

TEST REPORT (4) [Saturday 16 MAR 2019 @ 13:41]

Note:
I doubt any of this is of much help at this stage, but thought I give a it a go and a fresh start on new device - I'll wait for further instructions from you @steven

ACTIONS
Add new device SM-T713 running Android 7.0 (Nougat)
MicroSD Card formatted, added 'Music' and 'Playlists' folders on 'Card'
Configue MB v3.3.7011.33478 to sync 1 Playlist containing 28 tracks.
Launch MusicBee Wifi Sync 0.3.1
Click settings (Spanner icon) grant access to Removable MicroSD Card.
NO OPTION TO SELECT
PREVIEW
SYNC NOW
Sync Status: MusiBee synchronization completed with errors, 29 files not copied.

ERROR LOGS
MB v3.3.7011.33478
28 like this..
16/03/2019 13:33:21 - Copy D:\MusicBee\Library\Music\Dr. Feelgood\Down by the Jetty\04 Roxette.mp3 to SM-T713\Card\Music\Dr. Feelgood\Down by the Jetty\1-04 - Roxette.mp3
1 of these..
16/03/2019 13:33:21 - Add playlist "D:\MusicBee\Library\Playlists\GROUPS\RECENTS.xautopf" I/O error occurred.

MusicBee Wifi Sync 0.3.1
28 like this..
Mar 16, 2019 1:33:22 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-T713, 7.0, 0.3.1] file=Music/Dr. Feelgood/Down by the Jetty/1-04 - Roxette.mp3: java.io.FileNotFoundException
1 of these..
Mar 16, 2019 1:33:22 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-T713, 7.0, 0.3.1] file=Playlists/RECENTS.m3u: java.io.FileNotFoundException: /storage/2504-19E0/Playlists/RECENTS.m3u (Permission denied)

Regards: Freddy
Title: Re: Wifi android device synching
Post by: Steven on March 16, 2019, 03:06:07 PM
I have added some debug code to 0.3.3
can you run the sync without granting permission and capture the log
and then run again and grant permission and capture the log again
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 04:20:27 PM
I have added some debug code to 0.3.3
can you run the sync without granting permission and capture the log
and then run again and grant permission and capture the log again

As requested with MB Wi-Fi sync v0.3.3

LOG WITHOUT PERMISSIONS

16 Mar 2019 15:11:18 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3.3] file=Playlists/WHISSEY.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/WHISSEY.m3u: open failed: EACCES (Permission denied)
16 Mar 2019 15:11:18 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3.3] file=Playlists/RATED.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/RATED.m3u: open failed: EACCES (Permission denied)
16 Mar 2019 15:11:18 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3.3] file=Playlists/RANDOM.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/RANDOM.m3u: open failed: EACCES (Permission denied)
16 Mar 2019 15:11:19 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3.3] file=Playlists/ONLY ME.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/ONLY ME.m3u: open failed: EACCES (Permission denied)
16 Mar 2019 15:11:19 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3.3] file=Playlists/OLDIES.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/OLDIES.m3u: open failed: EACCES (Permission denied)
16 Mar 2019 15:11:19 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3.3] file=Playlists/CLASSICS.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/CLASSICS.m3u: open failed: EACCES (Permission denied)
16 Mar 2019 15:11:19 com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: receiveFile [SM-A500FU, 6.0.1, 0.3.3] file=Playlists/RECENTS.m3u: java.io.FileNotFoundException: /storage/6264-3230/Playlists/RECENTS.m3u: open failed: EACCES (Permission denied)


LOG WITH PERMISSIONS

16 Mar 2019 15:13:08 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] saved permissions:
16 Mar 2019 15:13:08 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] 6264-3230:: /storage/6264-3230
16 Mar 2019 15:13:08 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] perm uri=content://com.android.externalstorage.documents/tree/6264-3230%3A,mapped path=/storage/6264-3230,write=true,sd card=/storage/6264-3230
16 Mar 2019 15:13:08 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] selected permission=content://com.android.externalstorage.documents/tree/6264-3230%3A
16 Mar 2019 15:13:11 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] saved permissions:
16 Mar 2019 15:13:11 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] 6264-3230:: /storage/6264-3230
16 Mar 2019 15:13:11 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] perm uri=content://com.android.externalstorage.documents/tree/6264-3230%3A,mapped path=/storage/6264-3230,write=true,sd card=/storage/6264-3230
16 Mar 2019 15:13:11 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] selected permission=content://com.android.externalstorage.documents/tree/6264-3230%3A
16 Mar 2019 15:13:19 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] saved permissions:
16 Mar 2019 15:13:19 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] 6264-3230:: /storage/6264-3230
16 Mar 2019 15:13:19 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] perm uri=content://com.android.externalstorage.documents/tree/6264-3230%3A,mapped path=/storage/6264-3230,write=true,sd card=/storage/6264-3230
16 Mar 2019 15:13:19 com.getmusicbee.musicbeewifisync.ErrorHandler logInfo
INFO: grant [SM-A500FU, 6.0.1, 0.3.3] selected permission=content://com.android.externalstorage.documents/tree/6264-3230%3A


Regards: Freddy
Title: Re: Wifi android device synching
Post by: Steven on March 16, 2019, 04:31:48 PM
I think i know whats going on. Does it work if you just click "SYNC NOW" (without resetting the storage grant and without doing the preview) ?
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 04:46:15 PM
I think i know whats going on. Does it work if you just click "SYNC NOW" (without resetting the storage grant and without doing the preview) ?

It did copy some music tracks ok but none of the playlists.

Are you able to clear the error log on each launch of the App please?

[EDIT]

I just launched Wi-Fi sync again, using 'Preview' and 'Sync Now' but not granting permissions, and the playlist were copied to the correct folder ok!
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 05:48:34 PM
I think i know whats going on. Does it work if you just click "SYNC NOW" (without resetting the storage grant and without doing the preview) ?

Works ok on device SM-T713 running Android 7.0 (Nougat), without the grant access menu option even  showing up, just Preview and Sync Now, and all good!
Freddy
Title: Re: Wifi android device synching
Post by: Steven on March 16, 2019, 05:48:51 PM
v0.3.4 is available now which should fix the issue.
The errorlog is reset on the next restart and only after the first error has occurred
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 16, 2019, 06:23:10 PM
v0.3.4 is available now which should fix the issue.
The errorlog is reset on the next restart and only after the first error has occurred

All 3 Android devices updated and synced 100% correct, and no fiddling with permissions required!!

Awesome work, and maybe an MB music player for Android next on the agenda??  :-*
Title: Re: Wifi android device synching
Post by: Freddy Barker on March 17, 2019, 12:49:05 PM
v0.3.4 is available now which should fix the issue.
The errorlog is reset on the next restart and only after the first error has occurred

@Steven..

Got notification for MusicBee Wifi Sync v0.4 - shall I go ahead and test or wait for instructions?
Office open even on Sunday!
Title: Re: Wifi android device synching
Post by: Steven on March 17, 2019, 01:13:58 PM
Its really just the version you were using so I suggest you update so you have the latest but no need to specially test it.
Title: Re: Wifi android device synching
Post by: Steven on March 18, 2019, 09:40:59 PM
I approached the GoneMad developer about access to ratings/ playcounts and playlists back to MusicBee ie. 2-way sync. Based on his feedback, it looks like there is a way for all three so i will look at implementing that.
However, for the ratings and playcounts, the mechanism is to trigger the backup functionality which generates an xml file dump of the library (I assume like the MB iTunes xml export function). I am not familiar with gonemad but so does having the backup function automatically invoked cause any concerns - does the backup function do more than just dump an xml file of the library?
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on March 19, 2019, 04:10:35 AM
I approached the GoneMad developer about access to ratings/ playcounts and playlists back to MusicBee ie. 2-way sync. Based on his feedback, it looks like there is a way for all three so i will look at implementing that.
However, for the ratings and playcounts, the mechanism is to trigger the backup functionality which generates an xml file dump of the library (I assume like the MB iTunes xml export function). I am not familiar with gonemad but so does having the backup function automatically invoked cause any concerns - does the backup function do more than just dump an xml file of the library?


Nope, no concerns at all. All the "Backup Stats" option does is drop a stats.xml file in the "gmmp" folder. It works the exact same way as your iTunes XML backup.

This is very exciting that you're looking into this!
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 19, 2019, 04:35:45 AM
I have a question.   If I sync with both the cord and wifi sync does it copy the music separately so I would have to choose one or the other?  Or can I do both and keep the music synced together and delete files that aren't in the playlists anymore?
Title: Re: Wifi android device synching
Post by: Doc Bean on March 20, 2019, 12:29:17 PM
Instructions:
- In the MusicBee Device preferences panel, tick the "enable Wifi transfer with Android devices"
- make sure you allow MusicBee when windows firewall prompts
- on your Android device, run the Wifi sync app
- select whether you want to sync to your Internal memory or to an external SD Card (if available)
- then click "Locate Server"
- MusicBee must be running for this to work and windows firewall permission granted
- you only need to do this once
- only connections from your private network are supported
- the app error log can be viewed from the action bar/ Error Log menu item

I'm running Win 10 with Norton Security installed, which disabled the Windows Firewall. When I tick the "enable Wifi transfer with Android devices", there is no firewall prompt. I've configured the Norton Firewall to allow MB.

When I click Locate Server, I get Server not found. MB is running. My computer is connected to the router via an Ethernet cable, and my Galaxy S10+ (Android Pie) is connected via Wi-Fi.
Title: Re: Wifi android device synching
Post by: Steven on March 20, 2019, 07:09:28 PM
please take this up on a Norton forum re: enabling applications through their firewall
Title: Re: Wifi android device synching
Post by: Doc Bean on March 20, 2019, 07:12:04 PM
Ok, I'm not sure what I did but it finds the server. However, the following appears:

The MusicBee server was located but no existing device configuration exists in MusicBee.

Run a wired sync from MusicBee first and then try Wifi Sync again
.
Title: Re: Wifi android device synching
Post by: Steven on March 20, 2019, 07:36:33 PM
did you follow those instructions? and what was the result?
Title: Re: Wifi android device synching
Post by: Doc Bean on March 20, 2019, 07:51:19 PM
I didn't realize that one had to do that, so yes, it seems to be working now that I have done that. Thanks.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 21, 2019, 06:20:55 AM
I have a question.   If I sync with both the cord and wifi sync does it copy the music separately so I would have to choose one or the other?  Or can I do both and keep the music synced together and delete files that aren't in the playlists anymore?
anyone?
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on March 21, 2019, 02:26:48 PM
I have a question.   If I sync with both the cord and wifi sync does it copy the music separately so I would have to choose one or the other?  Or can I do both and keep the music synced together and delete files that aren't in the playlists anymore?
anyone?

Based on my experience, as long as you use the "as configured in MusicBee" setting in the WiFi app, it doesn't matter how you choose to sync because everything will be synced together.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 21, 2019, 09:06:47 PM
I have a question.   If I sync with both the cord and wifi sync does it copy the music separately so I would have to choose one or the other?  Or can I do both and keep the music synced together and delete files that aren't in the playlists anymore?
anyone?

Based on my experience, as long as you use the "as configured in MusicBee" setting in the WiFi app, it doesn't matter how you choose to sync because everything will be synced together.

So if i want to add more playlists using the app with will sync stuff double rather then using the same music that's already on there?
Title: Re: Wifi android device synching
Post by: Steven on March 21, 2019, 09:38:24 PM
So if i want to add more playlists using the app with will sync stuff double rather then using the same music that's already on there?
I have no idea what you are asking. What dont you try it and see
Title: Re: Wifi android device synching
Post by: railfan-eric28 on March 22, 2019, 07:26:41 AM
So if i want to add more playlists using the app with will sync stuff double rather then using the same music that's already on there?
I have no idea what you are asking. What dont you try it and see

If i add more playlists with the wifi will it add it and other songs that are already on my phone twice?  And if i use the delete function will it delete all the playlists that aren't selected through the app?  I'm also trying to figure out why I have duplicate playlists in poweramp and on my phone.  I have playlists in the Music Folder and Playlists in the Playlist folder.   I just want to make sure whatever I sync over the WIFI isn't duplicating what I already have via the wired sync.
Title: Re: Wifi android device synching
Post by: frankz on March 22, 2019, 12:21:03 PM
So if i want to add more playlists using the app with will sync stuff double rather then using the same music that's already on there?
If i add more playlists with the wifi will it add it and other songs that are already on my phone twice?  And if i use the delete function will it delete all the playlists that aren't selected through the app?  I'm also trying to figure out why I have duplicate playlists in poweramp and on my phone.  I have playlists in the Music Folder and Playlists in the Playlist folder.   I just want to make sure whatever I sync over the WIFI isn't duplicating what I already have via the wired sync.
I have no idea what you are asking. What dont you try it and see
Like he said, try it and see if it duplicates or not.  You can always go in the file manager and delete anything or everything, or hook up to a computer and do the same in file explorer, if it doesn't work out the way you want.

There's a certain amount of taking the initiative to undergo trial and error involved when you agree to beta test things.
Title: Re: Wifi android device synching
Post by: Coonce on March 23, 2019, 04:50:41 PM
Hi all,

I've been testing out the wi-fi sync on my LG V20 (running android 8 ), but I'm getting stuck at the app not thinking a wired sync hasn't been run at all.

Running musicbee 3.3.7016 and wi-fi sync app version 0.4.3

I have enable wifi transfer and allowed it in my firewall, and my V20 is listed under preferences -> devices. I am syncing to the SD card on my phone, rather than the internal storage.

I was looking for "MusicBeeWifiSyncErrorLog.txt" on my phone, but I'm not seeing it anywhere, tried using both the built in "file manager" app (which isn't great) and google's file explorer app.

Is it possible it's just not writing any file when doing a wired sync? Are there any other logs I can check to help troubleshoot?
Title: Re: Wifi android device synching
Post by: phred on March 23, 2019, 05:05:14 PM
I'm pretty sure no error log is written to the device when performing a wired sync. Try looking in MB's error log: Help > Support > View Error Log.

As for the error log when doing a WiFi sync, tap the three dots in the upper right corner > error log. No error log is created unless there are errors. The file would be saved in the Download directory on the device.
Title: Re: Wifi android device synching
Post by: Steven on April 11, 2019, 06:42:38 PM
I have the reverse sync from GoneMad player done and will make it available after some more testing.
This is to note how the reverse sync works while its fresh in my head

- new playlists added to gmmp will reverse synced back to musicbee
- updated playlists only if the file modification date/time is more recent (+90 mins buffer to reduce potential issues due to daylight saving or other clock differences). The playlist name must uniquely match a single musicbee playlist name
- files within a playlist must match an equivalent file already in your musicbee library. The matching is done by comparing the device filename to the expected filename that musicbee would sync to based on the device sync naming template used. If there are one or more files that cant be matched, you are given the choice to still sync a partially complete playlist ie. the unmatched files are excluded from the playlist
- ratings set in gmmp can be synched back to MusicBee. Only tracks that have been rated in gmmp since the last reverse sync are sent - so that means that on the first reverse sync, no ratings will be sent back to MB even if you have at some point in the past changed the rating only on the device
- playcounts from gmmp can be incrementally added back to musicbee. On the first reverse sync, a the full playcount will be sync'ed back. And then after that only the change in playcount will be sent.
Title: Re: Wifi android device synching
Post by: frankz on April 11, 2019, 07:05:44 PM
This is exciting.

Two questions:
1. Is last played date sent with the play count, or is it just the counts?
2. It it possible to pick and choose what to sync?  In other words, just ratings, just playlists, some combination of these, or is it an all or nothing thing?

What I would love to do would be to get out of using last.fm sync and just directly communicate between GMMP and MB, but I use last played and ratings heavily.  If last played isn't sync'd, I'd still want the ratings and use last.fm for the play data.  That's why I ask.

I guess I have one more question on the last point you highlighted.  My GMMP play count is already in MB from last.fm.  Am I right that doing this reverse sync would double those?  If so, I'll just delete my GMMP database before doing my first sync, which is easy enough, I just want to check that it's necessary to avoid double counts.

Title: Re: Wifi android device synching
Post by: Steven on April 11, 2019, 07:46:13 PM
1. Is last played date sent with the play count, or is it just the counts?
2. It it possible to pick and choose what to sync?  In other words, just ratings, just playlists, some combination of these, or is it an all or nothing thing?
I overlooked 1. but will include that
and for 2., you can choose playlists; ratings; and playcounts separately eg. you could just sync only playlists

I guess I have one more question on the last point you highlighted.  My GMMP play count is already in MB from last.fm.  Am I right that doing this reverse sync would double those?  If so, I'll just delete my GMMP database before doing my first sync, which is easy enough, I just want to check that it's necessary to avoid double counts.
yes reverse sync would effectively double the playcount from gmmp if you already use last.fm
Title: Re: Wifi android device synching
Post by: frankz on April 11, 2019, 07:52:57 PM
That sounds perfect.  I'm looking to get away from the last.fm sync, so having GMMP and MB work together directly will be fantastic. 
Title: Re: Wifi android device synching
Post by: psychoadept on April 11, 2019, 10:07:38 PM
This sounds so awesome! I still have trouble with my phone being able to find MusicBee on the network. Do you have any ideas on troubleshooting?
Title: Re: Wifi android device synching
Post by: Steven on April 12, 2019, 06:59:07 AM
This sounds so awesome! I still have trouble with my phone being able to find MusicBee on the network. Do you have any ideas on troubleshooting?
Check the musicbee error log. Otherwise i am not expert enough on network connectivity to be able to help
Title: Re: Wifi android device synching
Post by: psychoadept on April 12, 2019, 08:58:37 AM
Hah, me neither. But here's the error that shows up:

...

Update: naturally, once I posted this it started working. Except now when I start the sync I get a "synchronization cancelled" message. But no new errors.

Further update: I think something had gone haywire with my Windows firewall. I made sure my network was listed as private, and reset the firewall settings, and it seems to be happy now. I also had two configurations for my device, so I deleted both and made a new one, for good measure. Completed a full sync overnight. Hooray!
Title: Re: Wifi android device synching
Post by: redwing on April 13, 2019, 03:18:53 AM
How's the reverse sync work? Does it require wifi sync app too?

This sounds a perfect candidate for premium feature, meaning not everybody needs it but the development and maintenance require lots of efforts.

I'd suggest you bundle the two features into a single android app and sell it. That will help you compensate the MB server cost.
Title: Re: Wifi android device synching
Post by: Steven on April 13, 2019, 06:47:15 PM
How's the reverse sync work? Does it require wifi sync app too?

This sounds a perfect candidate for premium feature, meaning not everybody needs it but the development and maintenance require lots of efforts.

I'd suggest you bundle the two features into a single android app and sell it. That will help you compensate the MB server cost.
Yes both sync modes require an app running on the device.
I think what i will do is attempt to add PowerAmp player (not promising) and then open source the app so others can enhance it to include other players. I wont have the time to maintain this beyond fixing bugs.
Title: Re: Wifi android device synching
Post by: Steven on April 13, 2019, 07:01:09 PM
Reverse sync for GoneMad player is now available on the Android Internal Testing track. It's accessed from the vertical ... button in the action bar.
Send me an email with your google play account if you want to try it out and havent already sent it to me.
https://play.google.com/apps/internaltest/4700978781087552506

You will need the latest v3.3 patch version (3.3.7042+)
https://getmusicbee.com/patches/MusicBee33_Patched.zip

You should do one full sync using 3.3.7042+ first otherwise the first reverse sync will unnecessarily send back all playlists even though they were not modified on the device.
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 14, 2019, 12:14:08 AM
Is anyone else having trouble getting the GoneMAD reverse sync to work? I can sync my library of 10,800+ songs one-way from MusicBee to my phone just fine using the wifi app, but couldn't get reverse sync to work, so I removed all my music from my phone and tried syncing a test library of 3 songs. I did a regular sync using the wifi app and then played songs a few times and changed their ratings, but no matter how many times I try, reverse sync isn't working.

If I press the Reverse Sync Preview button, the loading circle will either spin indefinitely while the sync notification disappears after about 15 seconds, the app will close (like %5 of the time) or I will get a message saying no changes have been found (like 2%). In any case, it never gives me a preview of changes it's detected.

If I don't preview and just try Sync Now, I'll get the successful sync message, but nothing changes on MusicBee Desktop's side after rescanning the files for changes.

Am I doing something wrong?

I updated MusicBee to 3.3.7042 and the Wifi app to 0.5, and have tried both GoneMAD 2.2.2 stable and 3 alpha. Here is the error log:

Code
Apr 13, 2019 6:49:43 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:36 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:37 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:38 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:39 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:41 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:42 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:43 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:44 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:45 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:52:14 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Title: Re: Wifi android device synching
Post by: phred on April 14, 2019, 12:39:05 AM
MCDoubleDefDP- please also check MB's error log for entries at or near the same time and post them here. It might be helpful to Steven to see the log from the desktop in addition to the device.
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 14, 2019, 01:36:27 AM
MCDoubleDefDP- please also check MB's error log for entries at or near the same time and post them here. It might be helpful to Steven to see the log from the desktop in addition to the device.

Thanks, good idea. I've added it the end of my original post below.

Is anyone else having trouble getting the GoneMAD reverse sync to work? I can sync my library of 10,800+ songs one-way from MusicBee to my phone just fine using the wifi app, but couldn't get reverse sync to work, so I removed all my music from my phone and tried syncing a test library of 3 songs. I did a regular sync using the wifi app and then played songs a few times and changed their ratings, but no matter how many times I try, reverse sync isn't working.

If I press the Reverse Sync Preview button, the loading circle will either spin indefinitely while the sync notification disappears after about 15 seconds, the app will close (like %5 of the time) or I will get a message saying no changes have been found (like 2%). In any case, it never gives me a preview of changes it's detected.

If I don't preview and just try Sync Now, I'll get the successful sync message, but nothing changes on MusicBee Desktop's side after rescanning the files for changes.

Am I doing something wrong?

I updated MusicBee to 3.3.7042 and the Wifi app to 0.5, and have tried both GoneMAD 2.2.2 stable and 3 alpha. Here is the error log:

Code
Apr 13, 2019 6:49:43 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:36 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:37 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:38 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:39 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:41 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:42 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:43 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:44 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:51:45 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
Apr 13, 2019 6:52:14 PM com.getmusicbee.musicbeewifisync.ErrorHandler logError
SEVERE: looper [Nexus 6P, 8.1.0, 0.5] command=SyncFromDevice: java.net.SocketException: java.io.EOFException
EDIT: Here is the only thing in the error log on desktop from today:

Code
4/13/2019 6:40:29 PM - Nexus 6P\Internal shared storage\ not mounted: 
4/13/2019 6:40:34 PM - Nexus 6P\Internal shared storage\ not mounted:
4/13/2019 6:41:05 PM - Nexus 6P\Internal shared storage\ not mounted:
4/13/2019 6:42:52 PM - Nexus 6P\Internal shared storage\ not mounted:
4/13/2019 6:55:21 PM - 10.0.17763.0 - 3.3.7042.33234 - System.TypeInitializationException: The type initializer for '#=zq3sj_2Ji6AWZH$Gtl7XVQ94=' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'MusicBeeBass.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
   at #=zq3sj_2Ji6AWZH$Gtl7XVQ94=.#=zqg6Q9n1zcJwOkyzz1jaO$wlvrDJ5()
   at #=zq3sj_2Ji6AWZH$Gtl7XVQ94=..cctor()
   --- End of inner exception stack trace ---
   at #=zq3sj_2Ji6AWZH$Gtl7XVQ94=.#=zE4TvAzw=()
   at #=zOL3eqixsFoKHdOwMQWtjWeVPBWiL.#=z0jdUktI=(#=zl5XMUBBlv0s5GMrXP1pGgjtWIDFJ #=zUM2bFz6am9OV, #=zKmWwdfBxdgqEOdxocgpm0MQLoFTS #=zLV_cwkg=)
   at #=zfSagU0q8ggJ2oC4$CYnTBrA=.#=ziFYQIAfnak5h(#=zczq8GPDYHlgfWauhAw== #=zUtilR1kvKCbM, String #=zpmV5tUU=)
   at #=zfSagU0q8ggJ2oC4$CYnTBrA=.#=zmqnSkxC00asi()
Title: Re: Wifi android device synching
Post by: Steven on April 14, 2019, 08:01:39 AM
i did make an assumption that the /gmmp/stats.xml file was always on internal storage. Which card is that file actually stored for your device and is your internal storage card really not mounted?
Also your security software is removing musicbeebass.dll or you are running a partial install

edit:
I can see one mistake that might cause the issue. If it still happens can you still answer the above questions
v0.5.1
https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 14, 2019, 03:57:48 PM
i did make an assumption that the /gmmp/stats.xml file was always on internal storage. Which card is that file actually stored for your device and is your internal storage card really not mounted?
Also your security software is removing musicbeebass.dll or you are running a partial install

edit:
I can see one mistake that might cause the issue. If it still happens can you still answer the above questions
v0.5.1
https://play.google.com/apps/internaltest/4700978781087552506

I've just updated to 0.5.1 and tried running it again a few times. Unfortunately, it's still doing the same thing. To answer your questions:

1) I have a Nexus 6P which does not have any external storage capabilities. All of my apps are installed to the default location and I don't think you can customize where GMMP saves its backup files. The full path from root is root/sdcard/storage/emulated/0/gmmp/stats.xml, but Solid Explorer reports it as /sdcard/gmmp/stats.xml.

2) I also just checked and the MusicBeeBass.dll file is still located at C:\Program Files (x86)\MusicBee\MusicBeeBass.dll. I also use the default program location on my computer.

---

Since I was having the same problem when my library was only 3 songs, I assumed the amount of songs didn't matter and put everything back on my phone last night. Here is a recording of the issue I'm having in case it helps: https://photos.app.goo.gl/DScStsyX6YJbQfJL6.
1. Opened GMMP and listened to a track in full and changed its rating. (I did a normal wifi sync before the recording started that completes in about only a few seconds.)
2. Opened the wifi app and tried a reverse sync preview. Let it run for about 50 seconds until the notification disappeared.
3. Backed out of the preview to stop it and pressed the "sync now" button. Got a successful sync message after about 5 seconds.
4. Did a file rescan on MusicBee Desktop and the track did not update.
Title: Re: Wifi android device synching
Post by: Steven on April 14, 2019, 04:13:15 PM
I think what i will do is attempt to add PowerAmp player (not promising)
I feel confident now that play-counts can be reverse sync'ed and ratings as well - but PowerAmp have changed the UI so you can only tap a thumbs up/ down, so i guess that could be sync'ed to love/ban in musicbee. Not sure about playlists just at the moment.
So if any PowerAmp users want to try this, send me an email with your google play email address. Also could you comment on what you would expect ratings to sync back as, if at all?
Title: Re: Wifi android device synching
Post by: Steven on April 14, 2019, 05:01:41 PM
I've just updated to 0.5.1 and tried running it again a few times. Unfortunately, it's still doing the same thing. To answer your questions:
Your previous error log is quite confusing and it almost seems like you are not using the latest MB patch version. So can you click "Help/ About" and confirm the MB version.
I am creating a debug version of the android app and will post an update a bit later
Title: Re: Wifi android device synching
Post by: Steven on April 14, 2019, 05:16:33 PM
0.5.2 has debug info - can you send me the error log details after attempting a reverse sync preview
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 14, 2019, 05:47:13 PM
0.5.2 has debug info - can you send me the error log details after attempting a reverse sync preview


It generated a log that is too long to post on this board, so I emailed it to you.

Also, I downloaded MusicBee portable to test the reverse sync with a few tracks and it worked properly. My main installation of MusicBee must've gotten corrupted somehow, so I am about to backup my library and try a clean install to see if that fixes it.
Title: Re: Wifi android device synching
Post by: Steven on April 14, 2019, 05:53:22 PM
I think its simple as you not having replaced musicbee.exe in the program files folder. If you do a help/ about that will confirm the MB version.

edit:
i see you confirmed that in your email. I will check out your debug log now
Title: Re: Wifi android device synching
Post by: psychoadept on April 14, 2019, 06:37:31 PM
I'm going to test this it as soon as possible. Trying to catch up on life things I've let slide while playing with my music, first...
Title: Re: Wifi android device synching
Post by: Steven on April 14, 2019, 06:51:11 PM
It generated a log that is too long to post on this board, so I emailed it to you.
the log doesnt make complete sense to. I think this one should capture the error better

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

edit:
I am reasonably sure the issue is because the device cannot display all the results. I will wait for your feedback first but I have the next version ready with a change to restrict the number of results displayed.
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 14, 2019, 07:36:06 PM
It generated a log that is too long to post on this board, so I emailed it to you.
the log doesnt make complete sense to. I think this one should capture the error better

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

edit:
I am reasonably sure the issue is because the device cannot display all the results. I will wait for your feedback first but I have the next version ready with a change to restrict the number of results displayed.

Thanks, I'll send you a new log in about 2-3 hours. I just finished moving from an installed MusicBee instance to the portable one and it's making me do the initial sync over again.
Title: Re: Wifi android device synching
Post by: Steven on April 14, 2019, 07:42:08 PM
in that case i will make the non-debug version available with the change:


v0.5.4
https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 15, 2019, 06:08:54 PM

edit:
I am reasonably sure the issue is because the device cannot display all the results. I will wait for your feedback first but I have the next version ready with a change to restrict the number of results displayed.

I just did another test where I copied my entire 10,800+ song library to my phone using a fresh portable instance of MusicBee and I can confirm that reverse sync (0.5.5) appears to work as it is supposed to for ratings and playcounts (I briefly tried syncing playlists, but couldn't figure it out and didn't care to learn right now). I only tested a few tracks changing ratings and playcounts at a time, but the preview scan only took a couple seconds and didn't "scan" indefinitely like before.

My main portable instance of MusicBee still doesn't work, so it appears that the issue I'm having has to something to do with my library file or settings because when I transferred from an installed version to the portable version yesterday, I imported my settings and library instead of starting new like the test I just ran. The amount of files scanned doesn't appear to make a difference.

I'm going to a take a break and then try to figure out if I can import just my playcounts from my main library into my test one, and then manually rebuild everything so I make the test library my main one.
Title: Re: Wifi android device synching
Post by: Steven on April 15, 2019, 08:49:46 PM
I believe the issue relates to a bug on the MusicBee.exe side for handling files MB is unable to match in the library.
Anyone using the reverse sync functionality should apply the following patch:

https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Steven on April 15, 2019, 10:26:08 PM
A few minor changes. For files that cannot be matched in musicbee, the sync app error log now logs the full file path of the device file that could not be matched so you can easily find and delete it if you wish

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

Also update again:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 16, 2019, 06:03:12 AM
Hi, Steven.
I tried Wi-Fi Sync on my Nokia 8 with pure Android 9,
but I only got message "Run a wired sync from MusicBee first and then try Wifi Sync again.". I've done wired sync a few times, but nothing happens. I use v.0.4.3 and latest Musicbee.
Title: Re: Wifi android device synching
Post by: Steven on April 16, 2019, 08:09:38 AM
Hi, Steven.
I tried Wi-Fi Sync on my Nokia 8 with pure Android 9,
but I only got message "Run a wired sync from MusicBee first and then try Wifi Sync again.". I've done wired sync a few times, but nothing happens. I use v.0.4.3 and latest Musicbee.
when you do a wired sync, what is the exact device name that MB displays and how does it compare to the android device name displayed in Settings/About Phone/device name ?
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 16, 2019, 11:13:57 AM
Hi, Steven.
I tried Wi-Fi Sync on my Nokia 8 with pure Android 9,
but I only got message "Run a wired sync from MusicBee first and then try Wifi Sync again.". I've done wired sync a few times, but nothing happens. I use v.0.4.3 and latest Musicbee.
when you do a wired sync, what is the exact device name that MB displays and how does it compare to the android device name displayed in Settings/About Phone/device name ?

MB shows Nokia 8 and Android shows Nokia 8. Tried with internal and external storage.
Title: Re: Wifi android device synching
Post by: Steven on April 16, 2019, 06:09:54 PM
MB shows Nokia 8 and Android shows Nokia 8. Tried with internal and external storage.
can you run this debug patch version of MB:
https://www.mediafire.com/file/jptxb7wdb1603pz/MusicBeeWifiDebug.zip/file
unzip and replace the existing musicbee file

send me the info added to the end of the MB error log (help/ support/ view error log) after attempting a wireless sync and the failure message displayed on the device
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 16, 2019, 08:17:52 PM
MB shows Nokia 8 and Android shows Nokia 8. Tried with internal and external storage.
can you run this debug patch version of MB:
https://www.mediafire.com/file/jptxb7wdb1603pz/MusicBeeWifiDebug.zip/file
unzip and replace the existing musicbee file

send me the info added to the end of the MB error log (help/ support/ view error log) after attempting a wireless sync and the failure message displayed on the device

model=TA-1012, config=Virtuelles Laufwerk (MP3TMP)*
model=TA-1012, config=G:\*
model=TA-1012, config=STEFFI*
model=TA-1012, config=Nokia 8*
TA-1012 not matched

I think, I know where the problem is. My device name is Nokia 8, but model and hardware is signed as TA-1012  ???
Title: Re: Wifi android device synching
Post by: Steven on April 16, 2019, 08:53:06 PM
see https://www.wikihow.tech/Change-the-Name-of-Your-Android-Phone
I also have a nokia but i cant edit the name. However I can edit it in the bluetooth screen so try changing it to "Nokia 8" there
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 16, 2019, 09:22:26 PM
see https://www.wikihow.tech/Change-the-Name-of-Your-Android-Phone
I also have a nokia but i cant edit the name. However I can edit it in the bluetooth screen so try changing it to "Nokia 8" there

Bluetooth name and device Name are Nokia 8.
But I can't change hardware ID

(http://i64.tinypic.com/288y16t.jpg)
Title: Re: Wifi android device synching
Post by: Steven on April 16, 2019, 09:59:21 PM
I have added the ability to override the device name in the Settings window, so change it to Nokia 8 there

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

Also I suggest you update the patch version so its not logging the debug info:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 17, 2019, 05:48:01 AM
I have added the ability to override the device name in the Settings window, so change it to Nokia 8 there

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

Also I suggest you update the patch version so its not logging the debug info:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

I would like to give it a try, but get message by google store, that's not available for my account. Just for invited members or so.
Title: Re: Wifi android device synching
Post by: Steven on April 17, 2019, 06:48:46 AM
I would like to give it a try, but get message by google store, that's not available for my account. Just for invited members or so.
send me the email account you use for google store
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 17, 2019, 09:32:11 PM
I don't get it to work. MB is stilll searching for TA-1012 as device, not for Nokia 8. My desktop shows also Nokia 8 as device, but Nokia internal call itself TA-1012 and MB shows Nokia 8 but looks for TA-1012 not Nokia 8.
Title: Re: Wifi android device synching
Post by: Steven on April 17, 2019, 09:41:57 PM
I don't get it to work. MB is stilll searching for TA-1012 as device, not for Nokia 8. My desktop shows also Nokia 8 as device, but Nokia internal call itself TA-1012 and MB shows Nokia 8 but looks for TA-1012 not Nokia 8.
if you edited the name in the Settings window to "Nokia 8" then I find what you say very hard to believe and wont be able to help further
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 17, 2019, 09:50:26 PM
I don't get it to work. MB is stilll searching for TA-1012 as device, not for Nokia 8. My desktop shows also Nokia 8 as device, but Nokia internal call itself TA-1012 and MB shows Nokia 8 but looks for TA-1012 not Nokia 8.
if you edited the name in the Settings window to "Nokia 8" then I find what you say very hard to believe and wont be able to help further

Maybe, I don't know exactly, which settings window you mean. Android app has no settings window. I can choose only between internal and external storage. In MB I find only a way, to change the path.
Title: Re: Wifi android device synching
Post by: phred on April 17, 2019, 11:33:55 PM
Maybe, I don't know exactly, which settings window you mean. Android app has no settings window. I can choose only between internal and external storage. In MB I find only a way, to change the path.
It sounds like you're not using the latest version of the Android app. It has an icon of a wrench on the upper right side - next to the menu (three vertical dots.) Tap it and you can choose between internal and removable storage and there's a line to enter then name of the device as displayed in MB. Also make sure you have the latest patch for MB. You can get that from my sig.
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 18, 2019, 06:06:59 AM
Maybe, I don't know exactly, which settings window you mean. Android app has no settings window. I can choose only between internal and external storage. In MB I find only a way, to change the path.
It sounds like you're not using the latest version of the Android app. It has an icon of a wrench on the upper right side - next to the menu (three vertical dots.) Tap it and you can choose between internal and removable storage and there's a line to enter then name of the device as displayed in MB. Also make sure you have the latest patch for MB. You can get that from my sig.

Hi, Phred.
I'm using 0.5.7, after Steven added me and also latest MB patch. I also cleared cache, deinstalled and reinstalled a few times and the only screen I get, when I start the app, is the one below. No screen before, no after. No three dots, no other settings. The only thing when I start first time, is asking for access, which I confirm with yes.

(http://i63.tinypic.com/20u66pf.png)
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 18, 2019, 06:30:14 AM
Is it necessary, that device is rooted? Cause my device is unrooted.
Title: Re: Wifi android device synching
Post by: phred on April 18, 2019, 12:28:42 PM
The device does not need to be rooted.

Again, it really looks like you don't have the latest versions of BOTH the app and MB.
If you are indeed running the latest versions
- Have you run at least one wired sync between MB and the device?
- After the wired sync have you enabled 'wifi transfer' in device preferences?

(http://i.imgur.com/UBIztPGl.jpg) (https://i.imgur.com/UBIztPG.jpg)
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 18, 2019, 01:17:09 PM
The device does not need to be rooted.

Again, it really looks like you don't have the latest versions of BOTH the app and MB.
If you are indeed running the latest versions
- Have you run at least one wired sync between MB and the device?
- After the wired sync have you enabled 'wifi transfer' in device preferences?

I've installed both versions Steven linked as latest, a few posts before. App Version is 0.5.7.

1. I tried with older/official app version. I grant Access to my phone.

2. I tried Wi-Fi sync and get message "Run wired sync first". Connected my phone and let it pass the firewall. MB shows Nokia 8 and I enabled WiFi for Android. I made a wired sync and it works.

3. I disconnected USB and tried Wi-Fi sync again. I get message
 "Run wired sync first" again and nothing happend.

4. I installed version 0.5.7, cleaned cache. Did wired sync again, which worked. Tried Wi-Fi sync again and nothing happend.

I don't get behind the screen, where I can choose between internal and external memory. I don't have a settings button at this screen, so I can't tell MB, that TA-1012 is Nokia 8. The only thing, I didn't try is to reinstall MB on my desktop.
Title: Re: Wifi android device synching
Post by: Steven on April 18, 2019, 05:43:51 PM
i can see i need to make one more change on the android side, so will do that

edit:
v0.5.8
https://play.google.com/apps/internaltest/4700978781087552506

the device name override prompt should now appear after "Locate" fails for the first time.
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 18, 2019, 09:10:06 PM
i can see i need to make one more change on the android side, so will do that

edit:
v0.5.8
https://play.google.com/apps/internaltest/4700978781087552506

the device name override prompt should now appear after "Locate" fails for the first time.

Thanks Steven!
Seems to work fine now! Also playcount sync with GMP.
Title: Re: Wifi android device synching
Post by: Steven on April 19, 2019, 08:46:06 AM
I have just noticed the reverse sync play count change is unnecessarily re-saving the musicbee library file ie. saving it with no changes. I will fix that for the next MusicBee patch update

edit:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Steven on April 21, 2019, 09:11:47 AM
Anyone who is interested to try out the GoneMad reverse sync should send me their email address they use for google play so i can add you. Also anyone interested in reverse sync of play-counts from PowerAmp should do the same

The android app is available at:
https://play.google.com/apps/internaltest/4700978781087552506

You also need the latest patch version of MusicBee v3.3.7049 +
https://getmusicbee.com/patches/MusicBee33_Patched.zip
unzip and replace the existing musicbee files
Title: Re: Wifi android device synching
Post by: SkyZippr on April 21, 2019, 01:30:33 PM
I can't get Wifi reverse sync to work. After I press 'Preview', I get 'File not matched in MusicBee' error and 'WARNING: 964 files will not sync'.
Error log is too long to post, but it seems to be simply a list of 'File not matched in MusicBee' for every single song in my GMMP library.
I don't know if it matters, but I have way more than 964 songs in my library.

I've done a wired sync, and then a Wifi sync, both of which was done without any error.

My wifi app version is 0.5.8, and my MusicBee version on my PC is 3.3.7050.
Title: Re: Wifi android device synching
Post by: Steven on April 21, 2019, 03:24:00 PM
can you post a screenshot of the device settings in MusicBee, especially the naming templates (Preferences/ Devices/ and open the device in question)
and then could you provide the full path as seen on the device for one of your music files
Title: Re: Wifi android device synching
Post by: SkyZippr on April 21, 2019, 03:50:52 PM
can you post a screenshot of the device settings in MusicBee, especially the naming templates (Preferences/ Devices/ and open the device in question)
and then could you provide the full path as seen on the device for one of your music files
Screenshot:
(https://i.imgur.com/j9cPPMq.png)

Would this suffice? The device name would be MHA-L29, which is a Huawei Mate 9.
The path for SD card means 'Samsung's memory card', as my phone is Japanese localized.
I know it should have some internal name like /storage/sdcard, but my phone doesn't show it.

The stock file manager shows full path as, for example: メモリーカード/Music/2Pac/All Eyez On Me/1-03 Skandalouz.m4a, with 'メモリーカード' being 'memory card'.

The SD card is shown as simply 'memory card' on the phone, but when it's connected to my PC it's 'Samsung's memory card'.
I guess it has something to do with the error?
Title: Re: Wifi android device synching
Post by: Steven on April 21, 2019, 05:36:12 PM
could you run this debug version of MB - unzip and replace musicbee.exe

https://www.mediafire.com/file/k8pkr4y8a9d9g7v/MusicBeeDebugSync.zip/file

It will log some info at the end of the error log (help/ support/ view error log) starting with the text:
mtp root=
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 21, 2019, 10:17:07 PM
could you run this debug version of MB - unzip and replace musicbee.exe

https://www.mediafire.com/file/k8pkr4y8a9d9g7v/MusicBeeDebugSync.zip/file

It will log some info at the end of the error log (help/ support/ view error log) starting with the text:
mtp root=

He appears to be having the same issue I am where reverse sync cannot locate files if I use the "preserve folders and filenames" option. If he resyncs his music using the "use naming template" option, it will work.
Title: Re: Wifi android device synching
Post by: SkyZippr on April 21, 2019, 11:24:17 PM
could you run this debug version of MB - unzip and replace musicbee.exe

https://www.mediafire.com/file/k8pkr4y8a9d9g7v/MusicBeeDebugSync.zip/file

It will log some info at the end of the error log (help/ support/ view error log) starting with the text:
mtp root=

This is strange. With this version, I seem to be having difficulty with WIRED syncing.
During copying playlists, a red message appears at the bottom: 'Synchronization has temporarily stalled for 2-5 minutes while the device processes current file operations. For the next sync, moving playlists folders to Music\Playlists in the settings tab will help.'
I've already moved my playlists to that folder earlier.
Wired syncing now takes 10+ minutes just to transfer 5 playlist files.


He appears to be having the same issue I am where reverse sync cannot locate files if I use the "preserve folders and filenames" option. If he resyncs his music using the "use naming template" option, it will work.

I'll give it a try. But since I live in Japan (GMT+8:00), I might to slow to respond.
Title: Re: Wifi android device synching
Post by: Steven on April 22, 2019, 07:37:03 AM
i just need you to run a reverse sync and send me the info in the musicbee error log

edit:
nevermind - i can reproduce this issue myself
Title: Re: Wifi android device synching
Post by: Steven on April 22, 2019, 09:43:17 AM
This should fix the issue:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: SkyZippr on April 22, 2019, 11:46:16 AM
This should fix the issue:
https://getmusicbee.com/patches/MusicBee33_Patched.zip


Thanks Steven!
Just confirmed that reverse sync now works perfectly for updating both play count and rating.
Title: Re: Wifi android device synching
Post by: Steven on April 22, 2019, 04:43:21 PM
Reverse Sync of playcounts and ratings is now available for PowerAmp. You will need to send me your email address for google play so i can add you.
Of course GoneMad is already available on the alpha channel. I am not planning on adding support for any more players for now.


The android app is available at:
https://play.google.com/apps/internaltest/4700978781087552506

You also need the latest patch version of MusicBee v3.3.7051 +
https://getmusicbee.com/patches/MusicBee33_Patched.zip
unzip and replace the existing musicbee files
Title: Re: Wifi android device synching
Post by: christmw2503 on April 22, 2019, 09:20:20 PM
Any rating done in Poweramp will sync to a half star in Musicbee. Gonemad ratings do match. Do I have to join a log?
Title: Re: Wifi android device synching
Post by: Steven on April 22, 2019, 09:35:27 PM
thanks for reporting this. Its fixed now and available on the alpha channel now and the beta channel once its approved
Title: Re: Wifi android device synching
Post by: SkyZippr on April 23, 2019, 03:52:15 PM
I think I'm having a problem with dynamic IP.

Code
2019-04-23: MHA-L29;  9;  0.6.1
23:19:37: looper java.net.ConnectException: failed to connect to /10.165.1.163 (port 27304) from /10.165.2.110 (port 35148) after 1500ms: isConnected failed: EHOSTUNREACH (No route to host)

The IP for my PC is not 10.165.1.163.
I live in a mansion where (I assume) the whole mansion share the same global IP, and it's impossible to set a static IP by individual residents.

Is it possible to make wifi app to try re-locating MusicBee when connection fails?
Title: Re: Wifi android device synching
Post by: christmw2503 on April 23, 2019, 05:00:14 PM
thanks for reporting this. Its fixed now and available on the alpha channel now and the beta channel once its approved
I can confirm that it's fixed.
Title: Re: Wifi android device synching
Post by: phred on April 23, 2019, 05:03:22 PM
I think I'm having a problem with dynamic IP.

Code
2019-04-23: MHA-L29;  9;  0.6.1
23:19:37: looper java.net.ConnectException: failed to connect to /10.165.1.163 (port 27304) from /10.165.2.110 (port 35148) after 1500ms: isConnected failed: EHOSTUNREACH (No route to host)

The IP for my PC is not 10.165.1.163.
I live in a mansion where (I assume) the whole mansion share the same global IP, and it's impossible to set a static IP by individual residents.
A static IP is not necessary. As long as MB and the device are on the same network, and there is only one instance of MB running, it should work. MB has to be running, of course.
Title: Re: Wifi android device synching
Post by: Steven on April 23, 2019, 06:08:51 PM
Is it possible to make wifi app to try re-locating MusicBee when connection fails?
The app already does that automatically. Its only scanning addresses on the same sub-net.
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on April 23, 2019, 06:58:32 PM
Steven, I'd like to make a request if it's not already planned:

Could you move the reverse sync options to the settings menu and then make it so we only need to perform a single (regular) sync to add/remove music and update playcounts and ratings?

It isn't hard to understand how the regular and reverse sync both work, but it feels like having them separated is more complicated than it needs to be.
Title: Re: Wifi android device synching
Post by: Steven on April 23, 2019, 07:28:08 PM
Yes i do agree a single sync action that optionally also does a reverse sync would be better.
It is split due to playlist sync but i am considering removing reverse playlist sync, or at least splitting that out to a separate action.
Title: Re: Wifi android device synching
Post by: SkyZippr on April 23, 2019, 11:20:41 PM
A static IP is not necessary. As long as MB and the device are on the same network, and there is only one instance of MB running, it should work. MB has to be running, of course.

The app already does that automatically. Its only scanning addresses on the same sub-net.

I've restarted both the phone and the PC, and then did a wired sync, but it keeps looking for the same wrong IP.
I successfully ran several wifi syncs yesterday, and no setting has changed since then. (except that the wifi app got updated to 0.6.1, but I guess it shouldn't matter)
Title: Re: Wifi android device synching
Post by: psychoadept on April 24, 2019, 08:56:41 AM
I've restarted both the phone and the PC, and then did a wired sync, but it keeps looking for the same wrong IP.
I successfully ran several wifi syncs yesterday, and no setting has changed since then. (except that the wifi app got updated to 0.6.1, but I guess it shouldn't matter)

It's a long shot, but for some reason what happened for me was that my home network had gotten switched to public on the pc, and also even though it said it was letting MusicBee through the firewall it actually wasn't. I ended up resetting my firewall permissions.
Title: Re: Wifi android device synching
Post by: SkyZippr on April 24, 2019, 11:35:05 AM
It's a long shot, but for some reason what happened for me was that my home network had gotten switched to public on the pc, and also even though it said it was letting MusicBee through the firewall it actually wasn't. I ended up resetting my firewall permissions.

Ok wow, that's an incredibly long but precise shot. That was exactly the case, and Wifi App started working again moments after I set it back to private.
I don't remember switching it, but I'll surely keep an eye on it.
Title: Re: Wifi android device synching
Post by: Steven on April 24, 2019, 05:59:54 PM
Ok wow, that's an incredibly long but precise shot. That was exactly the case, and Wifi App started working again moments after I set it back to private.
I don't remember switching it, but I'll surely keep an eye on it.
There isnt anything on the musicbee side that would do that. I was wondering if there was any info logged at the end of MusicBee error log (help/ support/ view error log) for around the time it was failing?
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 24, 2019, 08:40:57 PM
Hi Steven.
Snycing works good now. But one question. Does MB sync playcount also to GMP? I've synced a song to GMP with MB playcount 1. But GMP playcount shows already 0.
Title: Re: Wifi android device synching
Post by: Steven on April 24, 2019, 09:47:41 PM
Does MB sync playcount also to GMP?
No, only from GMP to add to your computer library play count
Title: Re: Wifi android device synching
Post by: SkyZippr on April 24, 2019, 11:32:41 PM
There isnt anything on the musicbee side that would do that. I was wondering if there was any info logged at the end of MusicBee error log (help/ support/ view error log) for around the time it was failing?

Unfortunately, no log is recorded on MB's side.
I may have clicked something by mistake while configuring firewall.
Title: Re: Wifi android device synching
Post by: SkyZippr on April 28, 2019, 03:17:42 AM
Strangely, Wifi sync stopped working again.

I made sure the network is set to Private on PC, and I even tried turning off the firewall (Comodo Security), but I kept getting the 'Unable to connect to Musicbee' error.
According to Wifi app's error log, it was trying to connect to 10.165.1.176 from 10.165.1.212, while my PC is now 10.165.2.20.
Musicbee.exe is added to the 'Trusted' list of Comodo security, and Windows firewall is disabled.
Musicbee's error log is empty so far.

Then, I tired deleting all the data of Wifi app from Android setting, and starting all over again.
However, even after running a wired sync from Musicbee, when pressing 'Locate Server', the wifi app shows 'Server not found'.
Now I don't have access to error log any more.

EDIT: Restarting PC & phone doesn't seem to help.
Title: Re: Wifi android device synching
Post by: psychoadept on April 28, 2019, 07:30:17 PM
It looks like, if you are saving artwork to folders and then change settings to not save it to folders, MusicBee doesn't do any cleanup on the artwork. I had a ton of artwork files in three different folder trees (because I was also having issues with MusicBee not creating the directory structure I wanted, but I think I've worked that part out now).
Title: Re: Wifi android device synching
Post by: phred on April 28, 2019, 09:15:34 PM
Using MB 3.3.7055 and WiFi Sync 0.6.1.

I added two albums to my MB library. They're there and they play. I attempted a WiFi sync preview and it shows all the tracks on the two albums and the playlists. All is as expected. I 'sync now' and in less than five seconds, the device (FiiO) states 'synchronization cancelled' and MB's status bar states 'synchronization successfully completed.' There is nothing in MB's error log from today and the app error log is showing entries from March 16. Is this error log still stored in the Android's download directory? If so, there are no error logs there.

I have restarted MB. I have restarted the app. No change. I ran a good number of syncs yesterday and had no issues. Syncing to my Samsung works as expected.

EDIT: Rebooting the PC seemed to take care of the problem. But I'd still like to know if the wifi error logs are still saved to the download directory.
Title: Re: Wifi android device synching
Post by: Steven on April 29, 2019, 07:09:05 PM
EDIT: Rebooting the PC seemed to take care of the problem. But I'd still like to know if the wifi error logs are still saved to the download directory.
the error log is in a user inaccessable section of app storage (as is standard for android apps). You can only access it via the ... button on the action bar
Title: Re: Wifi android device synching
Post by: phred on April 29, 2019, 07:12:34 PM
the error log is in a user inaccessable section of app storage (as is standard for android apps). You can only access it via the ... button on the action bar
Good to know. Thanks Steven.
Title: Re: Wifi android device synching
Post by: SkyZippr on April 30, 2019, 02:02:25 AM
Strangely, Wifi sync stopped working again.

I made sure the network is set to Private on PC, and I even tried turning off the firewall (Comodo Security), but I kept getting the 'Unable to connect to Musicbee' error.
According to Wifi app's error log, it was trying to connect to 10.165.1.176 from 10.165.1.212, while my PC is now 10.165.2.20.

My PC's IP is 10.165.1.117 now, and Wifi sync app is working again.
Title: Re: Wifi android device synching
Post by: Steven on May 02, 2019, 08:07:21 PM
v0.7
https://play.google.com/apps/internaltest/4700978781087552506

also update to v3.3.7061+
https://getmusicbee.com/patches/MusicBee33_Patched.zip

the full sync and reverse-sync have been integrated into a single activity and a few improvements to the sync failure reporting
Title: Re: Wifi android device synching
Post by: phred on May 03, 2019, 04:15:16 AM
Using MB 3.3.7055 and WiFi Sync 0.6.1.

I added two albums to my MB library. They're there and they play. I attempted a WiFi sync preview and it shows all the tracks on the two albums and the playlists. All is as expected. I 'sync now' and in less than five seconds, the device (FiiO) states 'synchronization cancelled' and MB's status bar states 'synchronization successfully completed.' There is nothing in MB's error log from today and the app error log is showing entries from March 16. Is this error log still stored in the Android's download directory? If so, there are no error logs there.

I have restarted MB. I have restarted the app. No change. I ran a good number of syncs yesterday and had no issues. Syncing to my Samsung works as expected.

EDIT: Rebooting the PC seemed to take care of the problem. But I'd still like to know if the wifi error logs are still saved to the download directory.
This issue has shown up again, but now using MB 3.3.7061 and WiFi Sync 0.7. Rebooting the PC doesn't help as it did previously. Restarting the FiiO also doesn't change. As previously, the device completes an accurate preview, but when the sync is initiated, the device declares "synchronization cancelled" and MB's status bar states "synchronization successfully competed.

MB's Error Log shows:
Code
5/2/2019 9:46:56 PM - Sync Preview failed: Unable to read data from the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
The FiiO Error Log shows the correct date and time, but is showing version 0.6.1 even though going to Android Apps the WiFi Sync version shows as 0.7. And on the device it shows all in English, but as you can see from this cut and paste, a lot of it is now in Chinese:
Code
2019-05-02: X5;  5.1.1;  0.6.1਍㈀㄀㨀㐀㔀㨀㌀㌀㨀 最攀琀䘀椀氀攀猀 樀愀瘀愀⸀渀攀琀⸀匀漀挀欀攀琀䔀砀挀攀瀀琀椀漀渀㨀 樀愀瘀愀⸀渀攀琀⸀匀漀挀欀攀琀䔀砀挀攀瀀琀椀漀渀㨀 猀攀渀搀琀漀 昀愀椀氀攀搀㨀 䔀吀䤀䴀䔀䐀伀唀吀 ⠀䌀漀渀渀攀挀琀椀漀渀 琀椀洀攀搀 漀甀琀⤀ഀ
21:45:33: looper command=SyncToDevice: java.net.SocketException: java.net.SocketException: sendto failed: EPIPE (Broken pipe)਍㈀㄀㨀㐀㔀㨀㌀㐀㨀 眀愀椀琀匀挀愀渀 樀愀瘀愀⸀氀愀渀最⸀䤀渀琀攀爀爀甀瀀琀攀搀䔀砀挀攀瀀琀椀漀渀ഀ
21:45:34: looper java.net.SocketException: sendto failed: EPIPE (Broken pipe)਍
I will play with the error log language issue tom'w and if I can get it all in English I will post.

EDIT: English WiFi Error Log in Reply #413
Title: Re: Wifi android device synching
Post by: psychoadept on May 03, 2019, 04:57:14 AM
I just updated both MB and the wifi app. I like the new options layout! Can't wait to test the reverse sync but not quite up to committing that much attention until next week, once my classes are done for the semester.

I've been having this happen a lot where it acts like its going to sync and then says "synchronization cancelled", but usually if I retry it a few times it will finally get it together and do the sync. At least for the moment, though, that's not happening. I can preview the sync, but it won't run.
Title: Re: Wifi android device synching
Post by: phred on May 03, 2019, 01:24:42 PM
I've been having this happen a lot where it acts like its going to sync and then says "synchronization cancelled", but usually if I retry it a few times it will finally get it together and do the sync. At least for the moment, though, that's not happening. I can preview the sync, but it won't run.
Yes, exactly. On my initial post about this a PC reboot solved the issue, but now, whatever I do, it will not sync. Is there anything in either error log?

Here's the WiFi error log I posted in Reply #411, but all in English. I had used FTP to get it from the FiiO to my PC. Now I copied the log to the second card in the FiiO, pullled the card and put it in the PC and it's all English. I'll look for a different FTP app later as it's a real pain in the butt having to pull the card in order to report the error.
Code
2019-05-02: X5;  5.1.1;  0.6.1
21:45:33: getFiles java.net.SocketException: java.net.SocketException: sendto failed: ETIMEDOUT (Connection timed out)
21:45:33: looper command=SyncToDevice: java.net.SocketException: java.net.SocketException: sendto failed: EPIPE (Broken pipe)
21:45:34: waitScan java.lang.InterruptedException
21:45:34: looper java.net.SocketException: sendto failed: EPIPE (Broken pipe)
Title: Re: Wifi android device synching
Post by: psychoadept on May 03, 2019, 02:35:03 PM
There hasn't been anything from the error log on the phone, just some stuff from a couple days ago that says Socket Exception Timeout over and over. I'll double check on MusicBee.
Title: Re: Wifi android device synching
Post by: phred on May 03, 2019, 02:49:40 PM
There hasn't been anything from the error log on the phone, just some stuff from a couple days ago that says Socket Exception Timeout over and over. I'll double check on MusicBee.
Would you mind looking at the WiFi version number? Settings > Apps > MusicBee WiFi. Mine confirms 0.7 but the log is showing 0.6.1. Which may be part of the problem. I'll be able to attempt another sync in a little while and will report back.
Title: Re: Wifi android device synching
Post by: psychoadept on May 03, 2019, 03:07:23 PM
App is 0.7, MusicBee is 3.3.7061. I restarted both devices but still no luck. No error log on either side.
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 03, 2019, 07:22:03 PM
Hi Steven,
are you planning a playcount sync to GoneMadPlayer?
It's because, if you have a song played in MB a thousand times GMP doesn't know.
And when I'm playing song in GMP, it will count from zero. So, when I sync back to MB,
MB won't recognize the new plays and doesn't increase playcount.
Title: Re: Wifi android device synching
Post by: Steven on May 03, 2019, 08:53:03 PM
Hi Steven,
are you planning a playcount sync to GoneMadPlayer?
It's because, if you have a song played in MB a thousand times GMP doesn't know.
And when I'm playing song in GMP, it will count from zero. So, when I sync back to MB,
MB won't recognize the new plays and doesn't increase playcount.
You already asked and i already said no. When you sync back from GMP or PoweAmp, its incremental ie. it adds to the existing MB playcount. Did you actually try it?
Title: Re: Wifi android device synching
Post by: phred on May 03, 2019, 09:07:38 PM
I finally had time to attempt another sync with the FiiO and it worked with none of the issues I reported yesterday. I can't be certain, but it might be that every time there's a new update for the app, it has this issue. I'll have to wait until the next update, and if it then happens again, it would be three updates in a row that had the issue. But that begs the question why, after waiting 18-24 hours, does it work properly with me not doing anything different?
Title: Re: Wifi android device synching
Post by: Steven on May 03, 2019, 09:35:36 PM
I've been having this happen a lot where it acts like its going to sync and then says "synchronization cancelled", but usually if I retry it a few times it will finally get it together and do the sync. At least for the moment, though, that's not happening. I can preview the sync, but it won't run.
Looking at the code, the only two places "Synchroniztion cancelled" is set is when you tap the "STOP" button or when you tap "No" on the delete files confirmation dialog.
It sounds like I need to create a debug version to see exactly what it is doing, which I can do tomorrow.
Title: Re: Wifi android device synching
Post by: phred on May 03, 2019, 10:31:37 PM
It sounds like I need to create a debug version to see exactly what it is doing, which I can do tomorrow.
I assume you couldn't glean anything useful from my two error logs?
Title: Re: Wifi android device synching
Post by: Steven on May 03, 2019, 10:36:36 PM
It sounds like I need to create a debug version to see exactly what it is doing, which I can do tomorrow.
I assume you couldn't glean anything useful from my two error logs?
I just googled "EPIPE (Broken pipe)" and it has come up with some interesting results so I will get back to you although it seems system related and probably not anything i can do about.
You mentioned sync is really slow - roughly how long does it take to copy 1 file?
Title: Re: Wifi android device synching
Post by: SkyZippr on May 04, 2019, 04:26:40 AM
I just noticed that the Wifi app's error log is not being updated.
I'm still struggling with 'Server not found' issue, but it seems the newer events are not recorded to error log.

The error log date was from 3 days ago, recorded by app version 0.6.1. I've already updated it to version 0.7.
Is such behavior normal?

(Btw, no log has ever been recorded on MB's side regarding the 'Server not found' issue,)
Title: Re: Wifi android device synching
Post by: phred on May 04, 2019, 04:37:03 AM
You mentioned sync is really slow - roughly how long does it take to copy 1 file?
Sorry, but I don't recall mentioning anything about a slow sync. Certainly not recently. When the sync does work, I have no complaints about its speed.
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 04, 2019, 06:53:16 AM
Hi Steven,
are you planning a playcount sync to GoneMadPlayer?
It's because, if you have a song played in MB a thousand times GMP doesn't know.
And when I'm playing song in GMP, it will count from zero. So, when I sync back to MB,
MB won't recognize the new plays and doesn't increase playcount.
You already asked and i already said no. When you sync back from GMP or PoweAmp, its incremental ie. it adds to the existing MB playcount. Did you actually try it?

Yes. It worked. Version I tested before didn't. Thank you!
Title: Re: Wifi android device synching
Post by: Steven on May 04, 2019, 05:36:20 PM
@psychoadept and others,
v0.7.1
https://play.google.com/apps/internaltest/4700978781087552506

I have added a "enable debug logging" option to the settings window. Its not persisted on app restart, so set it before you do any testing where you want extra logging written to the error log.
Keep in mind the error log is only rewritten if there is a new error - if you still see an old log then that means no errors have been logged

For someone who is still at initial the "Locate Server" window, the logging is automatically enabled if the first attempt fails

edit:
to be clear, this is for debugging connectivity and command exection, not the specific issue of one file repeating sync

@phred,
although i dont know why your socket connection was breaking, I did find that for one function its not retrying the connection. This new version addresses that
Title: Re: Wifi android device synching
Post by: psychoadept on May 04, 2019, 05:57:41 PM
Thanks, Steven! Here's the error log just generated:

Code
2019-05-04: SM-G950U;  8.0.0;  0.7.1
11:54:38: startSync: preview=true,iteration=0
11:54:39: command: action=SYNC_START
11:54:39: tryStart: connecting /192.168.1.128, attempt=0
11:54:39: tryStart: connected
11:54:39: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=SM-G950U,2
11:54:39: syncDevice: root=/storage/6162-6433,ignoreErrors=false,playlists=false,ratings=false,playcount=false
11:54:39: syncDevice: command=ShowResults
11:54:39: syncDevice: command=GetFiles
11:54:39: getFiles: Get: MusicBee/Music/, inc=true
11:54:40: syncDevice: command=GetFiles
11:54:40: getFiles: Get: MusicBee/Podcasts/, inc=true
11:54:40: syncDevice: command=GetFiles
11:54:40: getFiles: Get: MusicBee/Playlists/, inc=false
11:54:40: syncDevice: command=DeleteFiles
11:54:40: deleteFiles: Delete: MusicBee/Playlists/NSFW.m3u
11:54:40: syncDevice: command=ShowPreviewResults
11:54:40: syncDevice: exit
11:54:57: startSync: preview=false,iteration=1
11:54:57: command: action=SYNC_START
11:54:57: tryStart: connecting /192.168.1.128, attempt=0
11:54:57: tryStart: connected
11:54:57: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=SM-G950U,2
11:54:57: syncDevice: root=/storage/6162-6433,ignoreErrors=false,playlists=false,ratings=false,playcount=false
11:54:57: syncDevice: command=ShowResults
11:54:58: syncDevice: command=GetFiles
11:54:58: getFiles: Get: MusicBee/Playlists/, inc=false
11:54:58: syncDevice: command=ShowDeleteConfirmation
11:54:58: syncDevice: command=Exit
11:54:58: exitSync: Exiting fails=0
11:54:59: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on May 04, 2019, 06:06:02 PM
so according to the log you did a preview which looks like some files were due to be deleted. You proceeded with the sync and got as far as the delete confirmation prompt. Did you tap Cancel at that point or did you proceed and the app mysteriously exited?
Or perhaps you didnt see any prompt at all?
Title: Re: Wifi android device synching
Post by: psychoadept on May 04, 2019, 06:10:50 PM
so according to the log you did a preview which looks like some files were due to be deleted. You proceeded with the sync and got as far as the delete confirmation prompt. Did you tap Cancel at that point or did you proceed and the app mysteriously exited?

Neither, the delete confirmation never appeared. it went straight to "synchronization cancelled" after I pressed "Sync Now".

Incidentally, that playlist NSFW is not in my list of playlists to sync. Nor is it in my playlists folder on the sd card. However, there's a second folder of playlists that keeps appearing on internal storage, in .pla format.  And it does show up there. I don't know why that exists, since I've only ever synced .m3u.
Title: Re: Wifi android device synching
Post by: Steven on May 04, 2019, 06:18:52 PM
Neither, the delete confirmation never appeared. it went straight to "synchronization cancelled" after I pressed "Sync Now".
v0.7.2
https://play.google.com/apps/internaltest/4700978781087552506

if this doesnt make any difference i will need to do something more drastic


Incidentally, that playlist NSFW is not in my list of playlists to sync. Nor is it in my playlists folder on the sd card. However, there's a second folder of playlists that keeps appearing on internal storage, in .pla format.  And it does show up there. I don't know why that exists, since I've only ever synced .m3u.
sometimes the mediastore database gets out of sync with reality. When you do get synching working again, and if it still happens after that sync, then let me know
Title: Re: Wifi android device synching
Post by: psychoadept on May 04, 2019, 06:42:36 PM
Ok, here's the next error log. Nothing changed on the behavior.

Code
2019-05-04: SM-G950U;  8.0.0;  0.7.2
12:40:29: startSync: preview=true,iteration=0
12:40:29: command: action=SYNC_START
12:40:29: tryStart: connecting /192.168.1.128, attempt=0
12:40:29: tryStart: connected
12:40:29: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=SM-G950U,2
12:40:29: syncDevice: root=/storage/6162-6433,ignoreErrors=false,playlists=false,ratings=false,playcount=false
12:40:30: syncDevice: command=ShowResults
12:40:30: syncDevice: command=GetFiles
12:40:30: getFiles: Get: MusicBee/Music/, inc=true
12:40:30: syncDevice: command=GetFiles
12:40:30: getFiles: Get: MusicBee/Podcasts/, inc=true
12:40:31: syncDevice: command=GetFiles
12:40:31: getFiles: Get: MusicBee/Playlists/, inc=false
12:40:31: syncDevice: command=DeleteFiles
12:40:31: deleteFiles: Delete: MusicBee/Playlists/NSFW.m3u
12:40:31: syncDevice: command=ShowPreviewResults
12:40:31: syncDevice: exit
12:40:40: startSync: preview=false,iteration=1
12:40:40: command: action=SYNC_START
12:40:40: tryStart: connecting /192.168.1.128, attempt=0
12:40:40: tryStart: connected
12:40:40: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=SM-G950U,2
12:40:40: syncDevice: root=/storage/6162-6433,ignoreErrors=false,playlists=false,ratings=false,playcount=false
12:40:40: syncDevice: command=ShowResults
12:40:41: syncDevice: command=GetFiles
12:40:41: getFiles: Get: MusicBee/Playlists/, inc=false
12:40:41: syncDevice: command=ShowDeleteConfirmation
12:40:41: syncDevice: command=Exit
12:40:41: exitSync: fails=0
12:40:42: syncDevice: exit
Title: Re: Wifi android device synching
Post by: phred on May 04, 2019, 07:38:28 PM
Part 1 of 2...
Keep in mind the error log is only rewritten if there is a new error - if you still see an old log then that means no errors have been logged
Installed 0.7.1 and enabled debugging but note how 'enable debugging' is covered up by 'grant access.' This is on my FiiO - on the Samsung it appears properly.
(http://i.imgur.com/1JihRJel.jpg) (https://i.imgur.com/1JihRJe.png)

I then performed a sync that had no changes to music files. The preview showed that only playlists would be synced. It completed successfully according to MB's status bar. It also appeared to complete successfully when watching it take place on the FiiO. Yet a new error log was created even though it didn't appear that there was an error.
Code
2019-05-04: X5;  5.1.1;  0.7.2
13:53:38: startSync: preview=true,iteration=0
13:53:38: command: action=SYNC_START
13:53:38: tryStart: connecting /192.168.1.101, attempt=0
13:53:38: tryStart: connected
13:53:38: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=X5,2
13:53:38: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
13:53:43: syncDevice: command=ShowResults
13:53:48: syncDevice: command=GetFiles
13:53:48: getFiles: Get: Music/, inc=true
13:53:52: syncDevice: command=GetFiles
13:53:52: getFiles: Get: Podcasts/, inc=true
13:53:53: syncDevice: command=GetFiles
13:53:53: getFiles: Get: Playlists/, inc=false
13:53:53: syncDevice: command=ShowPreviewResults
13:53:53: syncDevice: exit
13:53:58: startSync: preview=false,iteration=1
13:53:58: command: action=SYNC_START
13:53:58: tryStart: connecting /192.168.1.101, attempt=0
13:53:58: tryStart: connected
13:53:58: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=X5,2
13:53:58: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
13:54:02: syncDevice: command=ShowResults
13:54:07: syncDevice: command=GetFiles
13:54:07: getFiles: Get: Playlists/, inc=false
13:54:07: syncDevice: command=ReceiveFile
13:54:07: receiveFile: Receive: Playlists/Zumba.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Yesterday, Today, Tomorrow.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Yes & No.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Wishing & Hoping.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Will & Won't.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Weather.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Walking & Running.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Up & Down.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Truth & Lies.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Trains, Planes & Automobiles.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Time.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/The Wrecking Crew.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/The Rolling Stones.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/The Four Seasons.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/The Commitments.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Temperature.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Tears.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Sweet Stuff.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Street Map.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Stop, Look, Listen.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Something.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Sleeping, Dreaming, & Waking.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Royalty.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Rolling Stone's 500 Greatest Songs.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Rivers, Creeks, Streams.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Right & Wrong.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/R & R HoF Inductees.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Questions.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/One-Hit Wonders.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/O Canada.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Now & Then.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Non-lexical Vocables.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Night & Day.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Names.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Musical Map.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Muscle Shoals.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Money.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Mama Gimme Layla.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Madness.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Look! Up In The Sky!.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Ladies.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Trumpet.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Sax.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Keyboards.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Bass.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Humans.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Hey Oh.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Here, There, & Everywhere.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Hello Goodbye.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Happy & Sad.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Good & Bad.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Give or Take.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/George Harrison.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Funk.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Fools.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Family.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Falsetto.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Edible Arrangements.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Dynamic Duos.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Do & Don't.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Distinctive Voices.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Devil or Angel.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Dead or Alive.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Days of the Week.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Current Favorites.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Comings & Goings.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Colors.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Cats & Dogs.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Can & Can't.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/By the Ordinals.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/By the Numbers.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Body Parts.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Big & Little.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Benjamin.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Beginnings, Middles, & Ends.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Before & After.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Beatles & Stones Covers.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Baseball.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Animals.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Anatomy of a Song.m3u
13:54:13: syncDevice: command=ReceiveFile
13:54:13: receiveFile: Receive: Playlists/All Work & Some Play.m3u
13:54:13: syncDevice: command=ReceiveFile
13:54:13: receiveFile: Receive: Playlists/All or Nothing.m3u
13:54:13: syncDevice: command=Exit
13:54:13: exitSync: fails=0
13:54:27: syncDevice: exit
Title: Re: Wifi android device synching
Post by: phred on May 04, 2019, 07:39:10 PM
Part 2 of 2...
Then I deleted an album and did another sync. This time MB said it was successful, but the FiiO immediately said it was cancelled. I did not hit 'Stop' nor did I touch the device after touching 'sync now.' Here's the error log which contains not only the log data posted above, but also the new data, which starts at line 193 (time 14:00:28)
Code
2019-05-04: X5;  5.1.1;  0.7.2
13:53:38: startSync: preview=true,iteration=0
13:53:38: command: action=SYNC_START
13:53:38: tryStart: connecting /192.168.1.101, attempt=0
13:53:38: tryStart: connected
13:53:38: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=X5,2
13:53:38: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
13:53:43: syncDevice: command=ShowResults
13:53:48: syncDevice: command=GetFiles
13:53:48: getFiles: Get: Music/, inc=true
13:53:52: syncDevice: command=GetFiles
13:53:52: getFiles: Get: Podcasts/, inc=true
13:53:53: syncDevice: command=GetFiles
13:53:53: getFiles: Get: Playlists/, inc=false
13:53:53: syncDevice: command=ShowPreviewResults
13:53:53: syncDevice: exit
13:53:58: startSync: preview=false,iteration=1
13:53:58: command: action=SYNC_START
13:53:58: tryStart: connecting /192.168.1.101, attempt=0
13:53:58: tryStart: connected
13:53:58: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=X5,2
13:53:58: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
13:54:02: syncDevice: command=ShowResults
13:54:07: syncDevice: command=GetFiles
13:54:07: getFiles: Get: Playlists/, inc=false
13:54:07: syncDevice: command=ReceiveFile
13:54:07: receiveFile: Receive: Playlists/Zumba.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Yesterday, Today, Tomorrow.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Yes & No.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Wishing & Hoping.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Will & Won't.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Weather.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Walking & Running.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Up & Down.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Truth & Lies.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Trains, Planes & Automobiles.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/Time.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/The Wrecking Crew.m3u
13:54:08: syncDevice: command=ReceiveFile
13:54:08: receiveFile: Receive: Playlists/The Rolling Stones.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/The Four Seasons.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/The Commitments.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Temperature.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Tears.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Sweet Stuff.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Street Map.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Stop, Look, Listen.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Something.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Sleeping, Dreaming, & Waking.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Royalty.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Rolling Stone's 500 Greatest Songs.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Rivers, Creeks, Streams.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Right & Wrong.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/R & R HoF Inductees.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/Questions.m3u
13:54:09: syncDevice: command=ReceiveFile
13:54:09: receiveFile: Receive: Playlists/One-Hit Wonders.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/O Canada.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Now & Then.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Non-lexical Vocables.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Night & Day.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Names.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Musical Map.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Muscle Shoals.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Money.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Mama Gimme Layla.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Madness.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Look! Up In The Sky!.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Ladies.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Trumpet.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Sax.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Keyboards.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Joy of Bass.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Humans.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Hey Oh.m3u
13:54:10: syncDevice: command=ReceiveFile
13:54:10: receiveFile: Receive: Playlists/Here, There, & Everywhere.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Hello Goodbye.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Happy & Sad.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Good & Bad.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Give or Take.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/George Harrison.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Funk.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Fools.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Family.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Falsetto.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Edible Arrangements.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Dynamic Duos.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Do & Don't.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Distinctive Voices.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Devil or Angel.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Dead or Alive.m3u
13:54:11: syncDevice: command=ReceiveFile
13:54:11: receiveFile: Receive: Playlists/Days of the Week.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Current Favorites.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Comings & Goings.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Colors.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Cats & Dogs.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Can & Can't.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/By the Ordinals.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/By the Numbers.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Body Parts.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Big & Little.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Benjamin.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Beginnings, Middles, & Ends.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Before & After.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Beatles & Stones Covers.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Baseball.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Animals.m3u
13:54:12: syncDevice: command=ReceiveFile
13:54:12: receiveFile: Receive: Playlists/Anatomy of a Song.m3u
13:54:13: syncDevice: command=ReceiveFile
13:54:13: receiveFile: Receive: Playlists/All Work & Some Play.m3u
13:54:13: syncDevice: command=ReceiveFile
13:54:13: receiveFile: Receive: Playlists/All or Nothing.m3u
13:54:13: syncDevice: command=Exit
13:54:13: exitSync: fails=0
13:54:27: syncDevice: exit
14:00:28: ping: socket ok=/192.168.1.101
14:00:28: ping: hello=MusicBeeWifiSyncServer/1.0
14:00:28: ping: matched=/192.168.1.101,status=OK
14:00:32: startSync: preview=true,iteration=0
14:00:32: command: action=SYNC_START
14:00:32: tryStart: connecting /192.168.1.101, attempt=0
14:00:32: tryStart: connected
14:00:32: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=X5,2
14:00:32: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
14:00:37: syncDevice: command=ShowResults
14:00:41: syncDevice: command=GetFiles
14:00:41: getFiles: Get: Music/, inc=true
14:00:47: syncDevice: command=GetFiles
14:00:47: getFiles: Get: Podcasts/, inc=true
14:00:48: syncDevice: command=GetFiles
14:00:48: getFiles: Get: Playlists/, inc=false
14:00:48: syncDevice: command=ShowPreviewResults
14:00:48: syncDevice: exit
14:00:53: startSync: preview=false,iteration=1
14:00:53: command: action=SYNC_START
14:00:53: tryStart: connecting /192.168.1.101, attempt=0
14:00:53: tryStart: connected
14:00:53: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=X5,2
14:00:53: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
14:00:58: syncDevice: command=ShowResults
14:01:02: syncDevice: command=GetFiles
14:01:02: getFiles: Get: Playlists/, inc=false
14:01:02: syncDevice: command=ShowDeleteConfirmation
14:01:02: syncDevice: command=Exit
14:01:02: exitSync: fails=0
14:01:03: syncDevice: exit

I then restarted the FiiO and tried another sync but with the same results. The new log entries were added to everything that came before it, but for the sake of clarity, I'm only posting the results from this third attempt, which seems to have a lot more data than the similar failure at 14:00. This time it looks like it can't connect to the PC where MB lives.
Code
14:26:58: ping: socket ok=/192.168.1.101
14:26:58: ping: hello=MusicBeeWifiSyncServer/1.0
14:26:58: ping: matched=/192.168.1.101,status=OK
14:26:59: startSync: preview=true,iteration=0
14:26:59: command: action=SYNC_START
14:26:59: tryStart: connecting /192.168.1.101, attempt=0
14:27:01: tryStart: java.net.SocketTimeoutException: failed to connect to /192.168.1.101 (port 27304) after 2000ms
14:27:01: libcore.io.IoBridge.connectErrno(IoBridge.java:169)
14:27:01: libcore.io.IoBridge.connect(IoBridge.java:122)
14:27:01: java.net.PlainSocketImpl.connect(PlainSocketImpl.java:183)
14:27:01: java.net.PlainSocketImpl.connect(PlainSocketImpl.java:456)
14:27:01: java.net.Socket.connect(Socket.java:882)
14:27:01: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.tryStartSynchronisation(WifiSyncService.java:277)
14:27:02: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.run(WifiSyncService.java:232)
14:27:02: java.lang.Thread.run(Thread.java:818)
14:27:02: worker: no connection for 192.168.1.101 - trying again
14:27:02: locate: search=192.168.1.
14:27:02: locate: exclude=116
14:27:02: ping: socket ok=/192.168.1.101
14:27:02: ping: hello=MusicBeeWifiSyncServer/1.0
14:27:02: ping: matched=/192.168.1.101,status=OK
14:27:02: tryStart: connecting /192.168.1.101, attempt=0
14:27:02: tryStart: connected
14:27:02: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=X5,2
14:27:02: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
14:27:06: syncDevice: command=ShowResults
14:27:10: syncDevice: command=GetFiles
14:27:10: getFiles: Get: Music/, inc=true
14:27:11: startSync: preview=true,iteration=0
14:27:11: command: action=SYNC_START
14:27:11: tryStart: connecting /192.168.1.101, attempt=0
14:27:11: tryStart: connected
14:27:14: syncDevice: command=GetFiles
14:27:14: getFiles: Get: Podcasts/, inc=true
14:27:14: syncDevice: command=GetFiles
14:27:14: getFiles: Get: Playlists/, inc=false
14:27:14: syncDevice: command=ShowPreviewResults
14:27:14: syncDevice: exit
14:27:14: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=X5,2
14:27:14: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
14:27:18: syncDevice: command=ShowResults
14:27:23: syncDevice: command=GetFiles
14:27:23: getFiles: Get: Playlists/, inc=false
14:27:23: syncDevice: command=ShowPreviewResults
14:27:23: syncDevice: exit
14:27:25: ping: socket ok=/192.168.1.101
14:27:25: ping: hello=MusicBeeWifiSyncServer/1.0
14:27:25: ping: matched=/192.168.1.101,status=OK
14:27:32: startSync: preview=true,iteration=0
14:27:32: command: action=SYNC_START
14:27:32: tryStart: connecting /192.168.1.101, attempt=0
14:27:32: tryStart: connected
14:27:32: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=X5,2
14:27:32: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
14:27:36: syncDevice: command=ShowResults
14:27:41: syncDevice: command=GetFiles
14:27:41: getFiles: Get: Playlists/, inc=false
14:27:41: syncDevice: command=ShowPreviewResults
14:27:41: syncDevice: exit
14:27:50: startSync: preview=false,iteration=1
14:27:50: command: action=SYNC_START
14:27:50: tryStart: connecting /192.168.1.101, attempt=0
14:27:50: tryStart: connected
14:27:50: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=X5,2
14:27:50: syncDevice: root=/mnt/external_sd1,ignoreErrors=false,playlists=false,ratings=false,playcount=false
14:27:54: syncDevice: command=ShowResults
14:27:59: syncDevice: command=GetFiles
14:27:59: getFiles: Get: Playlists/, inc=false
14:27:59: syncDevice: command=ShowDeleteConfirmation
14:27:59: syncDevice: command=Exit
14:27:59: exitSync: fails=0
14:28:00: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on May 04, 2019, 09:16:58 PM
Ok, here's the next error log. Nothing changed on the behavior.
I think I have got to the bottom on why it might happen - this should fix it:

v0.7.3
https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: Steven on May 04, 2019, 09:40:01 PM
v0.7.4
https://play.google.com/apps/internaltest/4700978781087552506

the settings window for the previous version might not have loaded

@phred,
an error log will always be created when you debug logging enabled.
The sync cancelled issue is the same as psychoadept and should be fixed
Title: Re: Wifi android device synching
Post by: psychoadept on May 04, 2019, 09:48:55 PM
Yep, appears to be working! It wanted to resync everything, but it also showed different file sizes (some larger, some smaller), so I'm letting it, out of curiosity. Maybe related to the fact that I reset the media library (which did in fact get rid of that ghost playlist).
Title: Re: Wifi android device synching
Post by: psychoadept on May 04, 2019, 10:13:29 PM
I canceled the sync because the reason it wanted to resync everything was that rather than putting things in MusicBee\Music, it was putting them in MusicBee\Music\Music\Music. This goes back to the issue I was having with getting things in the desired folder structure. I thought that was resolved but I guess not.

Here are my current device settings: https://i.imgur.com/IZ0FFR7.png

I had to change this once already, because I originally had Music going to MusicBee\*, which was creating a MusicBee\Music folder, but then it stopped doing that on its own and was syncing the library just to MusicBee. This way makes more sense to me anyway, because why would you specify an extra folder level for audiobooks and podcasts vs music.

Also, the Music\Music\Music folder structure makes sense with preserve files and folder names only if it's taking the folder structure from the base user folder. On my drive, everything is in <User>\Music\<Library Node>, so the main library is in fact Music\Music\<Files>. If you tack that on the end of the MusicBee\Music folder in device settings, then you would indeed get three levels of Music folders.

If making this work with Preserve Folders and Filenames is getting too involved, I can switch to a manual directory structure.
Title: Re: Wifi android device synching
Post by: phred on May 04, 2019, 10:28:34 PM
an error log will always be created when you debug logging enabled.
The sync cancelled issue is the same as psychoadept and should be fixed
Sorry Steven. I thought you had said the error log would only be created if an error occurred and would overwrite any existing log. Perhaps I misread. In any event I'm downloading the new update and will be able to test and report back in a little while.
Title: Re: Wifi android device synching
Post by: phred on May 04, 2019, 10:48:56 PM
A sync with 0.7.4 worked as expected. Thanks Steven for tracking down this pesky one.

Also thanks for fixing the visual glitch on the settings screen. However, there's now something similar on the 'preview/sync now' screen. I don't know if this is new, or I didn't notice it on the previous version, but the player choice is (mostly) covered up.
(http://i.imgur.com/ng4JM02l.jpg) (https://i.imgur.com/ng4JM02.png)
Title: Re: Wifi android device synching
Post by: psychoadept on May 05, 2019, 12:55:44 AM
This goes back to the issue I was having with getting things in the desired folder structure. I thought that was resolved but I guess not.

After thinking about this for a while, I suspect it's related to my quirky auto-organize settings, which were giving us such trouble in the other context. I'm more attached to those than I am to "preserve folders and filenames" so I've gone to a manual template for now.
Title: Re: Wifi android device synching
Post by: SkyZippr on May 05, 2019, 01:56:15 AM
Are there anything other than musicbee.exe that I need to unblock in firewall in order to get wifi sync to work?
I'm still struggling with it and haven't been able to perform any wifi sync for the past 5 days or so.
Title: Re: Wifi android device synching
Post by: phred on May 05, 2019, 03:53:53 AM
Are there anything other than musicbee.exe that I need to unblock in firewall in order to get wifi sync to work?
No there isin't. And I'm not even sure you -need- to unblock it. I certainly didn't.

Quote from: SkyZippr
I'm still struggling with it and haven't been able to perform any wifi sync for the past 5 days or so.
Are you certain you're using the latest version of MB -and- the app? The app is now at 0.7.4 and MB is at 3.3.7061 or above.

And did you see this?
For someone who is still at initial the "Locate Server" window, the logging is automatically enabled if the first attempt fails
You should have something logged if you're using the latest app version.
Title: Re: Wifi android device synching
Post by: Steven on May 05, 2019, 11:31:38 AM
If making this work with Preserve Folders and Filenames is getting too involved, I can switch to a manual directory structure.
It works fine for me using your sync settings. I believe you have auto-organise enabled for your library. The way it works is the auto-organise root path is used to get the relative path for each music file eg.
auto-organise template=C:\MusicBee\Music\<artist>\<album>\<disc-track#> - <title>
file=C:\MusicBee\Music\Dessa\A Badly Broken Code\02 - Poor Atlas.mp3
relative path=Dessa\A Badly Broken Code\02 - Poor Atlas.mp3
dest folder on device=MusicBee\Music\*.*
final destination path=MusicBee\Music\Dessa\A Badly Broken Code\02 - Poor Atlas.mp3

what could screw things up is if you have files in your library that dont comform to your naming template and not actually under C:\MusicBee\Music\ eg.
file=C:\MusicBee\Some file.mp3
I think if this was the case MB would be using C:\MusicBee as the base for relative paths of all the synched files
final destination path=MusicBee\Music\Music\Dessa\A Badly Broken Code\02 - Poor Atlas.mp3

do you think that could be the case?

also one other possibility i could investigate, are you including files from playlists or a specific computer folder where the file is not in the library?

edit:
I tried both those possibilities and in both cases the sync behaved as expected so I am at a loss why its adding the extra Music into the path.
I can give you a debug version to see whats going on

edit 2:
perhaps you have some exceptions in your library naming template and define the root of your music library using:
C:\MusicBee\<some expression that evaluates to Music sometimes and other times something else> ?
Title: Re: Wifi android device synching
Post by: Steven on May 05, 2019, 11:32:43 AM
Also thanks for fixing the visual glitch on the settings screen. However, there's now something similar on the 'preview/sync now' screen. I don't know if this is new, or I didn't notice it on the previous version, but the player choice is (mostly) covered up.
I have added scrolling for that panel for small screens. I will make it available later today
Title: Re: Wifi android device synching
Post by: phred on May 05, 2019, 12:51:26 PM
I have added scrolling for that panel for small screens. I will make it available later today
Thanks
Title: Re: Wifi android device synching
Post by: SkyZippr on May 05, 2019, 12:52:21 PM
Are you certain you're using the latest version of MB -and- the app? The app is now at 0.7.4 and MB is at 3.3.7061 or above.
I am using Wifi sync app 0.7.4 and MB 3.3.7061.

And did you see this?
For someone who is still at initial the "Locate Server" window, the logging is automatically enabled if the first attempt fails
You should have something logged if you're using the latest app version.
I'm not stuck at the initial 'Locate Server' window. Actually, somehow I got past that for just once, but after one successful wifi sync, it started showing 'Server not found' again.
The error log only shows an event from May 2nd, generated by 0.6.1. No new error log seems to have been recorded since that.
(Sorry, that 'for the past 5 days or so' was an incorrect statement)

The only reason I can think of is that both my PC is on wired LAN and my phone is on wifi, and both are dynamic private IP.
The IP's are like 10.165.A.XXX, A being either 1 or 2. I'm not sure the exact interval of IP changing, but I guess it's 12-24 hrs.
Sometimes PC would be 10.165.1.XXX while phone being 10.165.2.XXX, and sometimes both of them would be 10.165.1.XXX.
However, whether or not they share the same 'A' doesn't seem to have correlation with 'Server not found' error.
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 05, 2019, 01:50:00 PM
I got one question. Does MB check for existing files on Android or will it copy everything again with a new sync? The reason why I ask is, that it seems to me, that it copy files again, with every new sync, insteed skipping already existing files. And that waste a lot of time, with a lot of songs. Maybe my settings are wrong?!
Title: Re: Wifi android device synching
Post by: Steven on May 05, 2019, 03:44:05 PM
I'm not stuck at the initial 'Locate Server' window. Actually, somehow I got past that for just once, but after one successful wifi sync, it started showing 'Server not found' again.
The error log only shows an event from May 2nd, generated by 0.6.1. No new error log seems to have been recorded since that.
(Sorry, that 'for the past 5 days or so' was an incorrect statement)

The only reason I can think of is that both my PC is on wired LAN and my phone is on wifi, and both are dynamic private IP.
The IP's are like 10.165.A.XXX, A being either 1 or 2. I'm not sure the exact interval of IP changing, but I guess it's 12-24 hrs.
Sometimes PC would be 10.165.1.XXX while phone being 10.165.2.XXX, and sometimes both of them would be 10.165.1.XXX.
However, whether or not they share the same 'A' doesn't seem to have correlation with 'Server not found' error.
You need to tick "enable debug logging" in the Settings panel
The current implementation will only search for the server on the same 10.165.A
I wouldnt know how to make an efficent way to search every combination of possible values so unless you can ensure they are both on the same subnet, its not going to work well.
Title: Re: Wifi android device synching
Post by: psychoadept on May 05, 2019, 03:58:16 PM
I got one question. Does MB check for existing files on Android or will it copy everything again with a new sync? The reason why I ask is, that it seems to me, that it copy files again, with every new sync, insteed skipping already existing files. And that waste a lot of time, with a lot of songs. Maybe my settings are wrong?!

MusicBee will resync files if their location according to the template in your device settings has changed, or if the file has been modified since the last sync. If the file is where it expects it to be and has not changed, it won't sync it again. [Update: fixing typos, yikes!]

I had one file with an exceptionally long name that kept resyncing, so if your filenames are very long you might also look at ways to shorten them and see if that helps.
Title: Re: Wifi android device synching
Post by: SkyZippr on May 05, 2019, 04:16:11 PM
You need to tick "enable debug logging" in the Settings panel
I did, but the error log doesn't change from May 2nd.

You need to tick "enable debug logging" in the Settings panel
The current implementation will only search for the server on the same 10.165.A
I wouldnt know how to make an efficent way to search every combination of possible values so unless you can ensure they are both on the same subnet, its not going to work well.
The thing is, even when both PC and phone were on the same 10.165.A, I still got 'Server not found' error.
Unfortunately I don't have the log for that occasion.

Can the PC be searched by network name or something?
Title: Re: Wifi android device synching
Post by: Steven on May 05, 2019, 04:21:19 PM
i wont be able to help further with this
Title: Re: Wifi android device synching
Post by: SkyZippr on May 05, 2019, 04:39:17 PM
I'll try setting both to static IP and see what happens.
Title: Re: Wifi android device synching
Post by: Steven on May 05, 2019, 05:54:52 PM
I have added scrolling for that panel for small screens. I will make it available later today
v0.7.5 - its available now
Title: Re: Wifi android device synching
Post by: phred on May 05, 2019, 07:07:07 PM
I have added scrolling for that panel for small screens. I will make it available later today
v0.7.5 - its available now
Looking good - thanks Steven.
Title: Re: Wifi android device synching
Post by: psychoadept on May 05, 2019, 08:22:55 PM
Steven, I'm trying to reply about the "preserve folders and filenames" bit, but I keep getting pulled away.  Will get back to you ASAP.
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 05, 2019, 09:03:44 PM
I got one question. Does MB check for existing files on Android or will it copy everything again with a new sync? The reason why I ask is, that it seems to me, that it copy files again, with every new sync, insteed skipping already existing files. And that waste a lot of time, with a lot of songs. Maybe my settings are wrong?!

MusicBee will resync files if their location according to the template in your device settings has changed, or if the file has been modified since the last sync. If the file is where it expects it to be and has not changed, it won't sync it again. [Update: fixing typos, yikes!]

I had one file with an exceptionally long name that kept resyncing, so if your filenames are very long you might also look at ways to shorten them and see if that helps.

That's a little bit strange. Syncing works perfectly now, but MB WiFi will still copy the existing files, when I resync, also if there was no modification or long filename. Wired sync skips existing files like it should.
Title: Re: Wifi android device synching
Post by: Steven on May 05, 2019, 09:29:42 PM
That's a little bit strange. Syncing works perfectly now, but MB WiFi will still copy the existing files, when I resync, also if there was no modification or long filename. Wired sync skips existing files like it should.
can you run this debug version of musicbee.
It will add a lot of data to the end of your errorlog, so can you send me a zip of that file after the wifi sync (help/ support/view error log)

https://www.mediafire.com/file/8cqu6gnxdn629zj/MusicBeeDebugSync.zip/file
unzip and replace musicbee.exe
Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 12:55:00 AM
I tried setting both my PC and phone to static IP.
It looks like the wifi app is looking for a very specific IP, namely 10.165.1.126.
If I set my PC's IP to anything other than that, wifi app would be unable to locate the server.
I wonder if this leaves any clue to the issue I was having?

Also, is it impossible to implement a way to 'hook' the app via PC's network name instead of IP?
I suspect that other syncing apps like Folder Sync, Resilio Sync are all doing the same, since I never encountered any problem with them under the same environment.
I'm not very familiar with network, so forgive me if I'm referring to an entirely unrelated method.
Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 03:13:07 AM
I think I just came across another weird issue.
I excluded approximately 200 songs from transfer in MB, then ran a wifi sync. Instead of deleting the individual songs, wifi sync deleted the whole artist folder from the phone.
Then, upon the next wifi sync, it copied all the songs which were meant to be not deleted in the last sync.
Maybe I was deleting too many songs at a time? I'll try deleting fewer songs next time and see what happens.
Title: Re: Wifi android device synching
Post by: EuroMIX on May 06, 2019, 06:50:36 AM
First of all, thanks so much for trying to get this to work. I rely a lot on playlists and such that utilise how much and often I play a song, and plays not syncing both ways is a real bummer and basically ruins this system.

Any chance 2-way syncing could be made to work with MediaMonkey on android? It's probably the only music app I've found that actually handles delimiters for artists/genres/etc as well as MusicBee does, but I prefer to use your program on my PC.

I know the answer may be no, if only because MM is a major rival to MusicBee, but without an actual "MusicBee Mobile" (Mobee?), MediaMonkey probably serves this function the closest on Android.

Thanks so much if you can get it working.
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 07:49:32 AM
@Babydoll32, can you post a screenshot of your device sync settings, especially the storage path and naming template.
According to the log you sent, MB is not detecting any files on the device before the sync starts
Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 10:11:10 AM
I think I just came across another weird issue.
I excluded approximately 200 songs from transfer in MB, then ran a wifi sync. Instead of deleting the individual songs, wifi sync deleted the whole artist folder from the phone.
Then, upon the next wifi sync, it copied all the songs which were meant to be not deleted in the last sync.
Maybe I was deleting too many songs at a time? I'll try deleting fewer songs next time and see what happens.

Steven, I'm really sorry to keep bothering you with more and more issues.
I did a little test regarding the one above:

Note: I have a custom tag called 'Transfer' to manage the songs I'd like to transfer to my phone.
In my library, artist Calum Scott have 2 songs of which the 'Transfer' tag are  set to 'Yes', meaning those 2 songs are set to sync onto my phone.
I changed 'Transfer' the tag of one of the song to empty value, so that one would be deleted from my phone, and the other would remain on it.
Below is the screenshot of the preview prior to syncing. Wifi app correctly discovers the song that are meant to be deleted.
(https://imgur.com/EHKz4wU.jpg?1)

And here is the confirmation for deleting that particular song, after tapping 'SYNC NOW'.
(https://imgur.com/tU22Ver.jpg?1)

And below is the debug error log of the said syncing.
As shown, it first deleted the song, then at the end it deleted the artist folder containing one song that were meant to remain on the phone.
Code
2019-05-06: MHA-L29;  9;  0.7.5
17:47:58: ping: socket ok=/10.165.1.126
17:47:58: ping: hello=MusicBeeWifiSyncServer/1.0
17:47:58: ping: matched=/10.165.1.126,status=OK
17:48:06: startSync: preview=true,iteration=0
17:48:06: command: action=SYNC_START
17:48:06: tryStart: connecting /10.165.1.126, attempt=0
17:48:06: tryStart: connected
17:48:06: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=MHA-L29,2
17:48:06: syncDevice: root=/storage/1AA1-02B9,ignoreErrors=false,playlists=false,ratings=true,playcount=true
17:48:06: syncDevice: command=SendStats
17:48:07: syncDevice: command=ShowResults
17:48:07: syncDevice: command=GetFiles
17:48:07: getFiles: Get: Music/, inc=true
17:48:08: syncDevice: command=GetFiles
17:48:08: getFiles: Get: Podcasts/, inc=true
17:48:08: syncDevice: command=GetFiles
17:48:08: getFiles: Get: Music/Playlists/, inc=false
17:48:08: syncDevice: command=ShowPreviewResults
17:48:08: syncDevice: exit
17:49:05: startSync: preview=false,iteration=1
17:49:05: command: action=SYNC_START
17:49:05: tryStart: connecting /10.165.1.126, attempt=0
17:49:05: tryStart: connected
17:49:05: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=MHA-L29,2
17:49:05: syncDevice: root=/storage/1AA1-02B9,ignoreErrors=false,playlists=false,ratings=true,playcount=true
17:49:05: syncDevice: command=SendStats
17:49:06: syncDevice: command=ShowResults
17:49:06: syncDevice: command=GetFiles
17:49:06: getFiles: Get: Music/Playlists/, inc=false
17:49:06: syncDevice: command=ShowDeleteConfirmation
17:49:36: syncDevice: command=DeleteFiles
17:49:36: deleteFiles: Delete: Music/Calum Scott/Only Human/06 Stop Myself (Only Human).mp3
17:49:37: syncDevice: command=ReceiveFile
17:49:37: receiveFile: Receive: Music/Playlists/Recently Favorited.m3u8
17:49:37: syncDevice: command=ReceiveFile
17:49:37: receiveFile: Receive: Music/Playlists/Least Recently Played ★4's.m3u8
17:49:37: syncDevice: command=ReceiveFile
17:49:37: receiveFile: Receive: Music/Playlists/For Shuffle.m3u8
17:49:37: syncDevice: command=ReceiveFile
17:49:37: receiveFile: Receive: Music/Playlists/5 Stars.m3u8
17:49:37: syncDevice: command=ReceiveFile
17:49:37: receiveFile: Receive: Music/Playlists/4 Stars.m3u8
17:49:37: syncDevice: command=DeleteFolders
17:49:37: deleteFolder: Delete: Music/Calum Scott/
17:49:38: syncDevice: command=Exit
17:49:38: exitSync: fails=0
17:49:39: syncDevice: exit

Below is the screenshot of the preview of the next syncing, where the song that was not supposed to be deleted are being copied.
(https://i.imgur.com/HLPOmlv.jpg?1)

Btw, Wifi syncing seems to be working fine as long as the PC stays on 10.165.1.126.
Any other IP would cause 'Server not found' to reappear.
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 10:43:55 AM
can you reset the mediastore database on your device and when that is complete redo the test
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 11:18:36 AM
@Babydoll32, can you post a screenshot of your device sync settings, especially the storage path and naming template.
According to the log you sent, MB is not detecting any files on the device before the sync starts

Yes, that's the point. Files are there and sync is working well on other side. But waste a lot of time. Is it because I convert FLAC to OGG while converting, maybe?! I'll send you a screenshot this evening, when I'm at home.
Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 12:18:02 PM
can you reset the mediastore database on your device and when that is complete redo the test
Sorry for the waiting. It took me sometime to reset the mediastore due to my huge music library (over 8,000 songs).
Unfortunately, the result was the same. The debug log looks exactly the same except for the time stamps.
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 12:52:02 PM
Sorry for the waiting. It took me sometime to reset the mediastore due to my huge music library (over 8,000 songs).
Unfortunately, the result was the same. The debug log looks exactly the same except for the time stamps.
could you run this debug version of musicbee. It will add a lot info to the end of the error log - you only need to do a preview from the device and then send me the musicbee error log (help/ support/ view error log)

https://www.mediafire.com/file/d543a990sb38qsa/MusicBeeDebugSync.zip/file
unzip and replace musicbee.exe


also let me know the name of the file that should have copied on the first sync for this test
Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 01:57:01 PM
also let me know the name of the file that should have copied on the first sync for this test

On the first sync for the test, I was trying to delete "06 Stop Myself (Only Human).mp3". Did you mean that?
I uploaded the ErrorLog.dat for the preview of deleting 1 file to Google Drive, and PM'd you the link.
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 02:05:47 PM
I thought your first sync should have copied one file and deleted one file.
According to the log you sent, it should have deleted "06 Stop Myself (Only Human).mp3"
So what exactly is the issue?

if you run another test, please delete the existing error log first

Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 02:14:22 PM
Em that's not what I was trying to do.

First of all I have two songs in one particular album on the phone.
On the first sync, it should have deleted only one file out of the two, leaving the other untouched on the phone.
The issue is, in reality it deleted not only the one file, but also the artist folder.

From my previous post:
Code
17:49:36: syncDevice: command=DeleteFiles
17:49:36: deleteFiles: Delete: Music/Calum Scott/Only Human/06 Stop Myself (Only Human).mp3
This was supposed to happen.


Code
17:49:37: syncDevice: command=DeleteFolders
17:49:37: deleteFolder: Delete: Music/Calum Scott/
But this was NOT supposed to happen.
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 02:31:27 PM
On the first sync, it should have deleted only one file out of the two, leaving the other untouched on the phone.
The issue is, in reality it deleted not only the one file, but also the artist folder.
i can reproduce this, so should be able to fix it
Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 02:33:02 PM
Thanks Steven!
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 03:21:40 PM
This should fix the unwanted folder clean up

https://getmusicbee.com/patches/MusicBee33_Patched.zip
unzip and replace the existing musicbee files

@Babydoll32, you should try this version as it is possible it could be related to your issue
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 04:48:12 PM
@Babydoll32, can you post a screenshot of your device sync settings, especially the storage path and naming template.
According to the log you sent, MB is not detecting any files on the device before the sync starts

Hi, Steven.
Hope this may help.

(http://i65.tinypic.com/jrel4p.jpg)
(http://i64.tinypic.com/143i3iu.jpg)
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 04:56:40 PM
did you try using the latest patch from a couple of hours ago?
if it still happens, let me know and i will enhance the debug logging on the android device
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 06:02:01 PM
did you try using the latest patch from a couple of hours ago?
if it still happens, let me know and i will enhance the debug logging on the android device

It still happens  :(
Is it a cause of the Nokia 8 <> TA-1012 naming problem?
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 06:53:07 PM
It still happens  :(
Is it a cause of the Nokia 8 <> TA-1012 naming problem?
yes i think it is related to that

could you run this android version:
v0.7.6
https://play.google.com/apps/internaltest/4700978781087552506

it will add some extra info to the android error log
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 07:17:07 PM
i removed your previous post as the results were of no use due to other media files
could you run this android version:
v0.7.6.1
https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 07:30:33 PM
i removed your previous post as the results were of no use due to other media files
could you run this android version:
v0.7.6.1
https://play.google.com/apps/internaltest/4700978781087552506

Code
2019-05-06: TA-1012;  9;  0.7.6.1
20:27:36: getFiles: Get: Bee/,url=/storage/02CB-10E4/Bee/, inc=true
20:27:36: getFiles:
20:27:36: getFiles: count=1
20:27:36: syncDevice: command=GetFiles
20:27:36: getFiles: Get: Podcasts/,url=/storage/02CB-10E4/Podcasts/, inc=true
20:27:37: getFiles:
20:27:37: getFiles: count=0
20:27:37: syncDevice: command=GetFiles
20:27:37: getFiles: Get: Bee/Playlists/,url=/storage/02CB-10E4/Bee/Playlists/, inc=false
20:27:37: getFiles:
20:27:37: getFiles: count=1
20:27:50: syncDevice: command=ReceiveFile
20:27:50: receiveFile: Receive: Bee/Marshmello/Happier (Remixes)/1-01 - Happier (Frank Walker Remix).ogg
20:27:52: syncDevice: command=ReceiveFile
20:27:52: receiveFile: Receive: Bee/Shawn Mendes/Lost In Japan (Remix)/1-01 - Lost In Japan (Remix).ogg
20:27:56: syncDevice: command=ReceiveFile
20:27:56: receiveFile: Receive: Bee/CHVRCHES/Graffiti (M-22 Remix)/1-01 - Graffiti (M-22 Remix).ogg
20:28:01: syncDevice: command=ReceiveFile
20:28:01: receiveFile: Receive: Bee/Gilligan Moss/Want U So Bad (Myd Remix)/1-01 - Want U So Bad (Myd Remix).ogg
20:28:01: syncDevice: command=ReceiveFile
20:28:01: receiveFile: Receive: Bee/Playlists/test.m3u
20:28:02: syncDevice: command=Exit
20:28:02: exitSync: fails=0
20:28:02: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 07:33:41 PM
well there doesnt appear to be any ogg files in the mediastore database, so could you try a different format for this test, such as .mp3
Title: Re: Wifi android device synching
Post by: phred on May 06, 2019, 07:44:34 PM
Any chance 2-way syncing could be made to work with MediaMonkey on android? It's probably the only music app I've found that actually handles delimiters for artists/genres/etc as well as MusicBee does, but I prefer to use your program on my PC.
If I understand correctly, you want the developer of MusicBee to create something that will work with MediaMonkey??? Please tell me you're not serious. If you are, you need to understand that the MB developer does this in his spare time, for no compensation other than a small pittance in donations, and has more than he can handle dealing with his own application. I suggest you talk with the paid staff at MediaMonkey.
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 07:55:27 PM
well there doesnt appear to be any ogg files in the mediastore database, so could you try a different format for this test, such as .mp3

Now I got OGG and MP3 in my directory. But sync does same, copies everything new.

Code
2019-05-06: TA-1012;  9;  0.7.6.1
20:53:06: getFiles: Get: Bee/,url=/storage/02CB-10E4/Bee/, inc=true
20:53:06: getFiles:
20:53:06: getFiles: count=1
20:53:06: syncDevice: command=GetFiles
20:53:06: getFiles: Get: Podcasts/,url=/storage/02CB-10E4/Podcasts/, inc=true
20:53:06: getFiles:
20:53:06: getFiles: count=0
20:53:06: syncDevice: command=GetFiles
20:53:06: getFiles: Get: Bee/Playlists/,url=/storage/02CB-10E4/Bee/Playlists/, inc=false
20:53:06: getFiles:
20:53:06: getFiles: count=1
20:53:14: syncDevice: command=ReceiveFile
20:53:14: receiveFile: Receive: Bee/Marshmello/Happier (Remixes)/1-01 - Happier (Frank Walker Remix).mp3
20:53:15: syncDevice: command=ReceiveFile
20:53:15: receiveFile: Receive: Bee/Shawn Mendes/Lost In Japan (Remix)/1-01 - Lost In Japan (Remix).mp3
20:53:16: syncDevice: command=ReceiveFile
20:53:16: receiveFile: Receive: Bee/CHVRCHES/Graffiti (M-22 Remix)/1-01 - Graffiti (M-22 Remix).mp3
20:53:21: syncDevice: command=ReceiveFile
20:53:21: receiveFile: Receive: Bee/Gilligan Moss/Want U So Bad (Myd Remix)/1-01 - Want U So Bad (Myd Remix).mp3
20:53:21: syncDevice: command=ReceiveFile
20:53:21: receiveFile: Receive: Bee/Playlists/test.m3u
20:53:22: syncDevice: command=Exit
20:53:22: exitSync: fails=0
20:53:22: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 08:15:33 PM
one last attempt to get the info i need:
v0.7.6.4
https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 08:28:14 PM
one last attempt to get the info i need:
v0.7.6.4
https://play.google.com/apps/internaltest/4700978781087552506

No problem...

Code
2019-05-06: TA-1012;  9;  0.7.6.4
21:25:35: getFiles: Get: Bee/,url=/storage/02CB-10E4/Bee/, inc=true
21:25:35: getFiles: /storage/02CB-10E4/Music/Feenixpawl/Blaze/01 Feenixpawl; Arensky - Blaze.mp3: Sun May 05 19:16:40 GMT+02:00 2019
/storage/02CB-10E4/Music/Little Mix/Woman Like Me/01 Little Mix; Nicki Mi - Woman Like Me.mp3: Sun May 05 19:48:07 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Nichts ist für die Ewigkeit (Live am Hockenheimring 2014)/10 Böhse Onkelz - Immer auf der Suche (Live).mp3: Sun May 05 18:44:30 GMT+02:00 2019
/storage/02CB-10E4/Music/HRVY/I Wish You Were Here (Acoustic)/01 HRVY - I Wish You Were Here (Acoustic).mp3: Sun May 05 19:29:08 GMT+02:00 2019
/storage/02CB-10E4/Music/Alan Walker/On My Way/01 Alan Walker; Sabrina - On My Way.mp3: Sun May 05 18:21:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Carlos/The Silmarillia 2019/01 Carlos - The Silmarillia 2019.mp3: Sun May 05 18:56:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Aloe Blacc/I Need A Dollar/01 Aloe Blacc - I Need A Dollar.mp3: Sun May 05 18:23:52 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Memento/12 Böhse Onkelz - 52 Wochen.mp3: Sun May 05 18:44:02 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Dortmund/06 Böhse Onkelz - Danket dem Herrn (Live).mp3: Sun May 05 18:42:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Alexander Alar/Bangkok/01 Alexander Alar; Marc - Bangkok.mp3: Sun May 05 18:22:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Brother Beyond/The Very Best Of Brother Beyond/01 Brother Beyond - The Harder I Try.mp3: Sun May 05 18:53:24 GMT+02:00 2019
/storage/02CB-10E4/Music/Hailee Steinfeld/Love Myself/01 Hailee Steinfeld - Love Myself.mp3: Sun May 05 19:26:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Gil Sanders/Party Through The Pain/01 Gil Sanders - Party Through The Pain.mp3: Sun May 05 19:23:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Don Henley/Actual Miles- Henley's Greatest Hits/06 Don Henley - The End Of The Innocence.mp3: Sun May 05 19:10:46 GMT+02:00 2019
/storage/02CB-10E4/Music/Calmani & Grey/Time of Our Lives/02 Calmani; Grey - Time of Our Lives (Club Edit).mp3: Sun May 05 18:55:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Mamer/Eagle/05 Mamer - Man.mp3: Sun May 05 19:53:15 GMT+02:00 2019
/storage/02CB-10E4/Music/Hozier/Wasteland, Baby!/06 Hozier - To Noise Making (Sing).mp3: Sun May 05 19:29:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Joel Corry/Fallen (feat. Hayley May)/01 Joel Corry; Hayley M - Fallen (feat. Hayley May).mp3: Sun May 05 19:35:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Kris Kristofferson/The Essential Kris Kristofferson/06 Kris Kristofferson - Casey's Last Ride (Album Version).mp3: Sun May 05 19:43:00 GMT+02:00 2019
/storage/02CB-10E4/Music/Interpol/The Weekend/01 Interpol - The Weekend.mp3: Sun May 05 19:30:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Billy Idol/Greatest Hits (The One & Only)/05 Billy Idol - Rebel Yell.mp3: Sun May 05 18:34:32 GMT+02:00 2019
/storage/02CB-10E4/Music/Air Supply/Collections/01 Air Supply - All Out of Love.mp3: Sun May 05 18:21:14 GMT+02:00 2019
/storage/02CB-10E4/Music/Analog Sol/Trinidad Dreams/01 Analog Sol - Trinidad Dreams.mp3: Sun May 05 18:24:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Marty Robbins/Gunfighter Ballads And Trail Songs/08 Marty Robbins - The Master's Call.mp3: Sun May 05 19:55:58 GMT+02:00 2019
/storage/02CB-10E4/Music/DYTONE/Never Enough/01 DYTONE - Never Enough_2.mp3: Sun May 05 19:12:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Elderbrook/Old Friend/01 Elderbrook - Old Friend.mp3: Sun May 05 19:13:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Martin Garrix/Dreamer/01 Martin Garrix; Mike  - Dreamer.mp3: Sun May 05 19:55:37 GMT+02:00 2019
/storage/02CB-10E4/Music/Lorde/Pure Heroine/03 Lorde - Royals.mp3: Sun May 05 19:48:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Es ist soweit/11 Böhse Onkelz - Leiden.mp3: Sun May 05 18:39:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Vienna/13 Böhse Onkelz - Stöckel und Strapse (live).mp3: Sun May 05 18:43:41 GMT+02:00 2019
/storage/02CB-10E4/Music/Leisure/The Hype/01 Leisure - The Hype.mp3: Sun May 05 19:45:55 GMT+02:00 2019
/storage/02CB-10E4/Music/Boot Slap/Fade Into You/01 Boot Slap - Fade Into You (Original Mix).mp3: Sun May 05 18:46:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Daya/Insomnia/01 Daya - Insomnia.mp3: Sun May 05 19:06:34 GMT+02:00 2019

21:25:35: getFiles: count=1
21:25:35: syncDevice: command=GetFiles
21:25:35: getFiles: Get: Podcasts/,url=/storage/02CB-10E4/Podcasts/, inc=true
21:25:35: getFiles: /storage/02CB-10E4/Music/Feenixpawl/Blaze/01 Feenixpawl; Arensky - Blaze.mp3: Sun May 05 19:16:40 GMT+02:00 2019
/storage/02CB-10E4/Music/Little Mix/Woman Like Me/01 Little Mix; Nicki Mi - Woman Like Me.mp3: Sun May 05 19:48:07 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Nichts ist für die Ewigkeit (Live am Hockenheimring 2014)/10 Böhse Onkelz - Immer auf der Suche (Live).mp3: Sun May 05 18:44:30 GMT+02:00 2019
/storage/02CB-10E4/Music/HRVY/I Wish You Were Here (Acoustic)/01 HRVY - I Wish You Were Here (Acoustic).mp3: Sun May 05 19:29:08 GMT+02:00 2019
/storage/02CB-10E4/Music/Alan Walker/On My Way/01 Alan Walker; Sabrina - On My Way.mp3: Sun May 05 18:21:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Carlos/The Silmarillia 2019/01 Carlos - The Silmarillia 2019.mp3: Sun May 05 18:56:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Aloe Blacc/I Need A Dollar/01 Aloe Blacc - I Need A Dollar.mp3: Sun May 05 18:23:52 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Memento/12 Böhse Onkelz - 52 Wochen.mp3: Sun May 05 18:44:02 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Dortmund/06 Böhse Onkelz - Danket dem Herrn (Live).mp3: Sun May 05 18:42:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Alexander Alar/Bangkok/01 Alexander Alar; Marc - Bangkok.mp3: Sun May 05 18:22:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Brother Beyond/The Very Best Of Brother Beyond/01 Brother Beyond - The Harder I Try.mp3: Sun May 05 18:53:24 GMT+02:00 2019
/storage/02CB-10E4/Music/Hailee Steinfeld/Love Myself/01 Hailee Steinfeld - Love Myself.mp3: Sun May 05 19:26:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Gil Sanders/Party Through The Pain/01 Gil Sanders - Party Through The Pain.mp3: Sun May 05 19:23:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Don Henley/Actual Miles- Henley's Greatest Hits/06 Don Henley - The End Of The Innocence.mp3: Sun May 05 19:10:46 GMT+02:00 2019
/storage/02CB-10E4/Music/Calmani & Grey/Time of Our Lives/02 Calmani; Grey - Time of Our Lives (Club Edit).mp3: Sun May 05 18:55:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Mamer/Eagle/05 Mamer - Man.mp3: Sun May 05 19:53:15 GMT+02:00 2019
/storage/02CB-10E4/Music/Hozier/Wasteland, Baby!/06 Hozier - To Noise Making (Sing).mp3: Sun May 05 19:29:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Joel Corry/Fallen (feat. Hayley May)/01 Joel Corry; Hayley M - Fallen (feat. Hayley May).mp3: Sun May 05 19:35:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Kris Kristofferson/The Essential Kris Kristofferson/06 Kris Kristofferson - Casey's Last Ride (Album Version).mp3: Sun May 05 19:43:00 GMT+02:00 2019
/storage/02CB-10E4/Music/Interpol/The Weekend/01 Interpol - The Weekend.mp3: Sun May 05 19:30:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Billy Idol/Greatest Hits (The One & Only)/05 Billy Idol - Rebel Yell.mp3: Sun May 05 18:34:32 GMT+02:00 2019
/storage/02CB-10E4/Music/Air Supply/Collections/01 Air Supply - All Out of Love.mp3: Sun May 05 18:21:14 GMT+02:00 2019
/storage/02CB-10E4/Music/Analog Sol/Trinidad Dreams/01 Analog Sol - Trinidad Dreams.mp3: Sun May 05 18:24:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Marty Robbins/Gunfighter Ballads And Trail Songs/08 Marty Robbins - The Master's Call.mp3: Sun May 05 19:55:58 GMT+02:00 2019
/storage/02CB-10E4/Music/DYTONE/Never Enough/01 DYTONE - Never Enough_2.mp3: Sun May 05 19:12:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Elderbrook/Old Friend/01 Elderbrook - Old Friend.mp3: Sun May 05 19:13:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Martin Garrix/Dreamer/01 Martin Garrix; Mike  - Dreamer.mp3: Sun May 05 19:55:37 GMT+02:00 2019
/storage/02CB-10E4/Music/Lorde/Pure Heroine/03 Lorde - Royals.mp3: Sun May 05 19:48:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Es ist soweit/11 Böhse Onkelz - Leiden.mp3: Sun May 05 18:39:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Vienna/13 Böhse Onkelz - Stöckel und Strapse (live).mp3: Sun May 05 18:43:41 GMT+02:00 2019
/storage/02CB-10E4/Music/Leisure/The Hype/01 Leisure - The Hype.mp3: Sun May 05 19:45:55 GMT+02:00 2019
/storage/02CB-10E4/Music/Boot Slap/Fade Into You/01 Boot Slap - Fade Into You (Original Mix).mp3: Sun May 05 18:46:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Daya/Insomnia/01 Daya - Insomnia.mp3: Sun May 05 19:06:34 GMT+02:00 2019

21:25:35: getFiles: count=0
21:25:36: syncDevice: command=GetFiles
21:25:36: getFiles: Get: Bee/Playlists/,url=/storage/02CB-10E4/Bee/Playlists/, inc=false
21:25:36: getFiles: /storage/02CB-10E4/Music/Feenixpawl/Blaze/01 Feenixpawl; Arensky - Blaze.mp3: Sun May 05 19:16:40 GMT+02:00 2019
/storage/02CB-10E4/Music/Little Mix/Woman Like Me/01 Little Mix; Nicki Mi - Woman Like Me.mp3: Sun May 05 19:48:07 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Nichts ist für die Ewigkeit (Live am Hockenheimring 2014)/10 Böhse Onkelz - Immer auf der Suche (Live).mp3: Sun May 05 18:44:30 GMT+02:00 2019
/storage/02CB-10E4/Music/HRVY/I Wish You Were Here (Acoustic)/01 HRVY - I Wish You Were Here (Acoustic).mp3: Sun May 05 19:29:08 GMT+02:00 2019
/storage/02CB-10E4/Music/Alan Walker/On My Way/01 Alan Walker; Sabrina - On My Way.mp3: Sun May 05 18:21:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Carlos/The Silmarillia 2019/01 Carlos - The Silmarillia 2019.mp3: Sun May 05 18:56:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Aloe Blacc/I Need A Dollar/01 Aloe Blacc - I Need A Dollar.mp3: Sun May 05 18:23:52 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Memento/12 Böhse Onkelz - 52 Wochen.mp3: Sun May 05 18:44:02 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Dortmund/06 Böhse Onkelz - Danket dem Herrn (Live).mp3: Sun May 05 18:42:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Alexander Alar/Bangkok/01 Alexander Alar; Marc - Bangkok.mp3: Sun May 05 18:22:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Brother Beyond/The Very Best Of Brother Beyond/01 Brother Beyond - The Harder I Try.mp3: Sun May 05 18:53:24 GMT+02:00 2019
/storage/02CB-10E4/Music/Hailee Steinfeld/Love Myself/01 Hailee Steinfeld - Love Myself.mp3: Sun May 05 19:26:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Gil Sanders/Party Through The Pain/01 Gil Sanders - Party Through The Pain.mp3: Sun May 05 19:23:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Don Henley/Actual Miles- Henley's Greatest Hits/06 Don Henley - The End Of The Innocence.mp3: Sun May 05 19:10:46 GMT+02:00 2019
/storage/02CB-10E4/Music/Calmani & Grey/Time of Our Lives/02 Calmani; Grey - Time of Our Lives (Club Edit).mp3: Sun May 05 18:55:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Mamer/Eagle/05 Mamer - Man.mp3: Sun May 05 19:53:15 GMT+02:00 2019
/storage/02CB-10E4/Music/Hozier/Wasteland, Baby!/06 Hozier - To Noise Making (Sing).mp3: Sun May 05 19:29:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Joel Corry/Fallen (feat. Hayley May)/01 Joel Corry; Hayley M - Fallen (feat. Hayley May).mp3: Sun May 05 19:35:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Kris Kristofferson/The Essential Kris Kristofferson/06 Kris Kristofferson - Casey's Last Ride (Album Version).mp3: Sun May 05 19:43:00 GMT+02:00 2019
/storage/02CB-10E4/Music/Interpol/The Weekend/01 Interpol - The Weekend.mp3: Sun May 05 19:30:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Billy Idol/Greatest Hits (The One & Only)/05 Billy Idol - Rebel Yell.mp3: Sun May 05 18:34:32 GMT+02:00 2019
/storage/02CB-10E4/Music/Air Supply/Collections/01 Air Supply - All Out of Love.mp3: Sun May 05 18:21:14 GMT+02:00 2019
/storage/02CB-10E4/Music/Analog Sol/Trinidad Dreams/01 Analog Sol - Trinidad Dreams.mp3: Sun May 05 18:24:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Marty Robbins/Gunfighter Ballads And Trail Songs/08 Marty Robbins - The Master's Call.mp3: Sun May 05 19:55:58 GMT+02:00 2019
/storage/02CB-10E4/Music/DYTONE/Never Enough/01 DYTONE - Never Enough_2.mp3: Sun May 05 19:12:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Elderbrook/Old Friend/01 Elderbrook - Old Friend.mp3: Sun May 05 19:13:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Martin Garrix/Dreamer/01 Martin Garrix; Mike  - Dreamer.mp3: Sun May 05 19:55:37 GMT+02:00 2019
/storage/02CB-10E4/Music/Lorde/Pure Heroine/03 Lorde - Royals.mp3: Sun May 05 19:48:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Es ist soweit/11 Böhse Onkelz - Leiden.mp3: Sun May 05 18:39:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Vienna/13 Böhse Onkelz - Stöckel und Strapse (live).mp3: Sun May 05 18:43:41 GMT+02:00 2019
/storage/02CB-10E4/Music/Leisure/The Hype/01 Leisure - The Hype.mp3: Sun May 05 19:45:55 GMT+02:00 2019
/storage/02CB-10E4/Music/Boot Slap/Fade Into You/01 Boot Slap - Fade Into You (Original Mix).mp3: Sun May 05 18:46:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Daya/Insomnia/01 Daya - Insomnia.mp3: Sun May 05 19:06:34 GMT+02:00 2019

21:25:36: getFiles: count=1
21:25:46: syncDevice: command=ReceiveFile
21:25:46: receiveFile: Receive: Bee/Marshmello/Happier (Remixes)/1-01 - Happier (Frank Walker Remix).mp3
21:25:47: syncDevice: command=ReceiveFile
21:25:47: receiveFile: Receive: Bee/Shawn Mendes/Lost In Japan (Remix)/1-01 - Lost In Japan (Remix).mp3
21:25:48: syncDevice: command=ReceiveFile
21:25:48: receiveFile: Receive: Bee/CHVRCHES/Graffiti (M-22 Remix)/1-01 - Graffiti (M-22 Remix).mp3
21:25:53: syncDevice: command=ReceiveFile
21:25:53: receiveFile: Receive: Bee/Gilligan Moss/Want U So Bad (Myd Remix)/1-01 - Want U So Bad (Myd Remix).mp3
21:25:54: syncDevice: command=ReceiveFile
21:25:54: receiveFile: Receive: Bee/Playlists/test.m3u
21:25:54: syncDevice: command=Exit
21:25:54: exitSync: fails=0
21:25:55: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 08:34:10 PM
rather than synching to Bee/, could you try Music/Bee/

also could you enable debug logging in the settings panel before starting the sync
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 08:43:57 PM
rather than synching to Bee/, could you try Music/Bee/

also could you enable debug logging in the settings panel before starting the sync

Code
2019-05-06: TA-1012;  9;  0.7.6.4
21:42:45: startSync: preview=false,iteration=0
21:42:45: command: action=SYNC_START
21:42:45: tryStart: connecting /192.168.178.47, attempt=0
21:42:45: tryStart: connected
21:42:45: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=Nokia 8,2
21:42:45: storage: path=/storage/02CB-10E4,root=02CB-10E4:,uri=content://com.android.externalstorage.documents/tree/02CB-10E4%3A
21:42:45: syncDevice: root=/storage/02CB-10E4,ignoreErrors=false,playlists=false,ratings=false,playcount=true
21:42:45: syncDevice: command=SendStats
21:42:46: syncDevice: command=ShowResults
21:42:46: syncDevice: command=GetFiles
21:42:46: getFiles: Get: Music/Bee/,url=/storage/02CB-10E4/Music/Bee/, inc=true
21:42:46: getFiles: /storage/02CB-10E4/Music/Feenixpawl/Blaze/01 Feenixpawl; Arensky - Blaze.mp3: Sun May 05 19:16:40 GMT+02:00 2019
/storage/02CB-10E4/Music/Little Mix/Woman Like Me/01 Little Mix; Nicki Mi - Woman Like Me.mp3: Sun May 05 19:48:07 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Nichts ist für die Ewigkeit (Live am Hockenheimring 2014)/10 Böhse Onkelz - Immer auf der Suche (Live).mp3: Sun May 05 18:44:30 GMT+02:00 2019
/storage/02CB-10E4/Music/HRVY/I Wish You Were Here (Acoustic)/01 HRVY - I Wish You Were Here (Acoustic).mp3: Sun May 05 19:29:08 GMT+02:00 2019
/storage/02CB-10E4/Music/Alan Walker/On My Way/01 Alan Walker; Sabrina - On My Way.mp3: Sun May 05 18:21:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Carlos/The Silmarillia 2019/01 Carlos - The Silmarillia 2019.mp3: Sun May 05 18:56:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Aloe Blacc/I Need A Dollar/01 Aloe Blacc - I Need A Dollar.mp3: Sun May 05 18:23:52 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Memento/12 Böhse Onkelz - 52 Wochen.mp3: Sun May 05 18:44:02 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Dortmund/06 Böhse Onkelz - Danket dem Herrn (Live).mp3: Sun May 05 18:42:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Alexander Alar/Bangkok/01 Alexander Alar; Marc - Bangkok.mp3: Sun May 05 18:22:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Brother Beyond/The Very Best Of Brother Beyond/01 Brother Beyond - The Harder I Try.mp3: Sun May 05 18:53:24 GMT+02:00 2019
/storage/02CB-10E4/Music/Hailee Steinfeld/Love Myself/01 Hailee Steinfeld - Love Myself.mp3: Sun May 05 19:26:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Gil Sanders/Party Through The Pain/01 Gil Sanders - Party Through The Pain.mp3: Sun May 05 19:23:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Don Henley/Actual Miles- Henley's Greatest Hits/06 Don Henley - The End Of The Innocence.mp3: Sun May 05 19:10:46 GMT+02:00 2019
/storage/02CB-10E4/Music/Calmani & Grey/Time of Our Lives/02 Calmani; Grey - Time of Our Lives (Club Edit).mp3: Sun May 05 18:55:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Mamer/Eagle/05 Mamer - Man.mp3: Sun May 05 19:53:15 GMT+02:00 2019
/storage/02CB-10E4/Music/Hozier/Wasteland, Baby!/06 Hozier - To Noise Making (Sing).mp3: Sun May 05 19:29:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Joel Corry/Fallen (feat. Hayley May)/01 Joel Corry; Hayley M - Fallen (feat. Hayley May).mp3: Sun May 05 19:35:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Kris Kristofferson/The Essential Kris Kristofferson/06 Kris Kristofferson - Casey's Last Ride (Album Version).mp3: Sun May 05 19:43:00 GMT+02:00 2019
/storage/02CB-10E4/Music/Interpol/The Weekend/01 Interpol - The Weekend.mp3: Sun May 05 19:30:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Billy Idol/Greatest Hits (The One & Only)/05 Billy Idol - Rebel Yell.mp3: Sun May 05 18:34:32 GMT+02:00 2019
/storage/02CB-10E4/Music/Air Supply/Collections/01 Air Supply - All Out of Love.mp3: Sun May 05 18:21:14 GMT+02:00 2019
/storage/02CB-10E4/Music/Analog Sol/Trinidad Dreams/01 Analog Sol - Trinidad Dreams.mp3: Sun May 05 18:24:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Marty Robbins/Gunfighter Ballads And Trail Songs/08 Marty Robbins - The Master's Call.mp3: Sun May 05 19:55:58 GMT+02:00 2019
/storage/02CB-10E4/Music/DYTONE/Never Enough/01 DYTONE - Never Enough_2.mp3: Sun May 05 19:12:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Elderbrook/Old Friend/01 Elderbrook - Old Friend.mp3: Sun May 05 19:13:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Martin Garrix/Dreamer/01 Martin Garrix; Mike  - Dreamer.mp3: Sun May 05 19:55:37 GMT+02:00 2019
/storage/02CB-10E4/Music/Lorde/Pure Heroine/03 Lorde - Royals.mp3: Sun May 05 19:48:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Es ist soweit/11 Böhse Onkelz - Leiden.mp3: Sun May 05 18:39:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Vienna/13 Böhse Onkelz - Stöckel und Strapse (live).mp3: Sun May 05 18:43:41 GMT+02:00 2019
/storage/02CB-10E4/Music/Leisure/The Hype/01 Leisure - The Hype.mp3: Sun May 05 19:45:55 GMT+02:00 2019
/storage/02CB-10E4/Music/Boot Slap/Fade Into You/01 Boot Slap - Fade Into You (Original Mix).mp3: Sun May 05 18:46:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Daya/Insomnia/01 Daya - Insomnia.mp3: Sun May 05 19:06:34 GMT+02:00 2019

21:42:46: getFiles: count=1
21:42:46: syncDevice: command=GetFiles
21:42:46: getFiles: Get: Podcasts/,url=/storage/02CB-10E4/Podcasts/, inc=true
21:42:46: getFiles: /storage/02CB-10E4/Music/Feenixpawl/Blaze/01 Feenixpawl; Arensky - Blaze.mp3: Sun May 05 19:16:40 GMT+02:00 2019
/storage/02CB-10E4/Music/Little Mix/Woman Like Me/01 Little Mix; Nicki Mi - Woman Like Me.mp3: Sun May 05 19:48:07 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Nichts ist für die Ewigkeit (Live am Hockenheimring 2014)/10 Böhse Onkelz - Immer auf der Suche (Live).mp3: Sun May 05 18:44:30 GMT+02:00 2019
/storage/02CB-10E4/Music/HRVY/I Wish You Were Here (Acoustic)/01 HRVY - I Wish You Were Here (Acoustic).mp3: Sun May 05 19:29:08 GMT+02:00 2019
/storage/02CB-10E4/Music/Alan Walker/On My Way/01 Alan Walker; Sabrina - On My Way.mp3: Sun May 05 18:21:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Carlos/The Silmarillia 2019/01 Carlos - The Silmarillia 2019.mp3: Sun May 05 18:56:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Aloe Blacc/I Need A Dollar/01 Aloe Blacc - I Need A Dollar.mp3: Sun May 05 18:23:52 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Memento/12 Böhse Onkelz - 52 Wochen.mp3: Sun May 05 18:44:02 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Dortmund/06 Böhse Onkelz - Danket dem Herrn (Live).mp3: Sun May 05 18:42:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Alexander Alar/Bangkok/01 Alexander Alar; Marc - Bangkok.mp3: Sun May 05 18:22:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Brother Beyond/The Very Best Of Brother Beyond/01 Brother Beyond - The Harder I Try.mp3: Sun May 05 18:53:24 GMT+02:00 2019
/storage/02CB-10E4/Music/Hailee Steinfeld/Love Myself/01 Hailee Steinfeld - Love Myself.mp3: Sun May 05 19:26:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Gil Sanders/Party Through The Pain/01 Gil Sanders - Party Through The Pain.mp3: Sun May 05 19:23:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Don Henley/Actual Miles- Henley's Greatest Hits/06 Don Henley - The End Of The Innocence.mp3: Sun May 05 19:10:46 GMT+02:00 2019
/storage/02CB-10E4/Music/Calmani & Grey/Time of Our Lives/02 Calmani; Grey - Time of Our Lives (Club Edit).mp3: Sun May 05 18:55:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Mamer/Eagle/05 Mamer - Man.mp3: Sun May 05 19:53:15 GMT+02:00 2019
/storage/02CB-10E4/Music/Hozier/Wasteland, Baby!/06 Hozier - To Noise Making (Sing).mp3: Sun May 05 19:29:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Joel Corry/Fallen (feat. Hayley May)/01 Joel Corry; Hayley M - Fallen (feat. Hayley May).mp3: Sun May 05 19:35:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Kris Kristofferson/The Essential Kris Kristofferson/06 Kris Kristofferson - Casey's Last Ride (Album Version).mp3: Sun May 05 19:43:00 GMT+02:00 2019
/storage/02CB-10E4/Music/Interpol/The Weekend/01 Interpol - The Weekend.mp3: Sun May 05 19:30:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Billy Idol/Greatest Hits (The One & Only)/05 Billy Idol - Rebel Yell.mp3: Sun May 05 18:34:32 GMT+02:00 2019
/storage/02CB-10E4/Music/Air Supply/Collections/01 Air Supply - All Out of Love.mp3: Sun May 05 18:21:14 GMT+02:00 2019
/storage/02CB-10E4/Music/Analog Sol/Trinidad Dreams/01 Analog Sol - Trinidad Dreams.mp3: Sun May 05 18:24:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Marty Robbins/Gunfighter Ballads And Trail Songs/08 Marty Robbins - The Master's Call.mp3: Sun May 05 19:55:58 GMT+02:00 2019
/storage/02CB-10E4/Music/DYTONE/Never Enough/01 DYTONE - Never Enough_2.mp3: Sun May 05 19:12:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Elderbrook/Old Friend/01 Elderbrook - Old Friend.mp3: Sun May 05 19:13:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Martin Garrix/Dreamer/01 Martin Garrix; Mike  - Dreamer.mp3: Sun May 05 19:55:37 GMT+02:00 2019
/storage/02CB-10E4/Music/Lorde/Pure Heroine/03 Lorde - Royals.mp3: Sun May 05 19:48:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Es ist soweit/11 Böhse Onkelz - Leiden.mp3: Sun May 05 18:39:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Vienna/13 Böhse Onkelz - Stöckel und Strapse (live).mp3: Sun May 05 18:43:41 GMT+02:00 2019
/storage/02CB-10E4/Music/Leisure/The Hype/01 Leisure - The Hype.mp3: Sun May 05 19:45:55 GMT+02:00 2019
/storage/02CB-10E4/Music/Boot Slap/Fade Into You/01 Boot Slap - Fade Into You (Original Mix).mp3: Sun May 05 18:46:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Daya/Insomnia/01 Daya - Insomnia.mp3: Sun May 05 19:06:34 GMT+02:00 2019

21:42:46: getFiles: count=0
21:42:46: syncDevice: command=GetFiles
21:42:46: getFiles: Get: Music/Bee/Playlists/,url=/storage/02CB-10E4/Music/Bee/Playlists/, inc=false
21:42:46: getFiles: /storage/02CB-10E4/Music/Feenixpawl/Blaze/01 Feenixpawl; Arensky - Blaze.mp3: Sun May 05 19:16:40 GMT+02:00 2019
/storage/02CB-10E4/Music/Little Mix/Woman Like Me/01 Little Mix; Nicki Mi - Woman Like Me.mp3: Sun May 05 19:48:07 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Nichts ist für die Ewigkeit (Live am Hockenheimring 2014)/10 Böhse Onkelz - Immer auf der Suche (Live).mp3: Sun May 05 18:44:30 GMT+02:00 2019
/storage/02CB-10E4/Music/HRVY/I Wish You Were Here (Acoustic)/01 HRVY - I Wish You Were Here (Acoustic).mp3: Sun May 05 19:29:08 GMT+02:00 2019
/storage/02CB-10E4/Music/Alan Walker/On My Way/01 Alan Walker; Sabrina - On My Way.mp3: Sun May 05 18:21:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Carlos/The Silmarillia 2019/01 Carlos - The Silmarillia 2019.mp3: Sun May 05 18:56:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Aloe Blacc/I Need A Dollar/01 Aloe Blacc - I Need A Dollar.mp3: Sun May 05 18:23:52 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Memento/12 Böhse Onkelz - 52 Wochen.mp3: Sun May 05 18:44:02 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Dortmund/06 Böhse Onkelz - Danket dem Herrn (Live).mp3: Sun May 05 18:42:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Alexander Alar/Bangkok/01 Alexander Alar; Marc - Bangkok.mp3: Sun May 05 18:22:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Brother Beyond/The Very Best Of Brother Beyond/01 Brother Beyond - The Harder I Try.mp3: Sun May 05 18:53:24 GMT+02:00 2019
/storage/02CB-10E4/Music/Hailee Steinfeld/Love Myself/01 Hailee Steinfeld - Love Myself.mp3: Sun May 05 19:26:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Gil Sanders/Party Through The Pain/01 Gil Sanders - Party Through The Pain.mp3: Sun May 05 19:23:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Don Henley/Actual Miles- Henley's Greatest Hits/06 Don Henley - The End Of The Innocence.mp3: Sun May 05 19:10:46 GMT+02:00 2019
/storage/02CB-10E4/Music/Calmani & Grey/Time of Our Lives/02 Calmani; Grey - Time of Our Lives (Club Edit).mp3: Sun May 05 18:55:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Mamer/Eagle/05 Mamer - Man.mp3: Sun May 05 19:53:15 GMT+02:00 2019
/storage/02CB-10E4/Music/Hozier/Wasteland, Baby!/06 Hozier - To Noise Making (Sing).mp3: Sun May 05 19:29:12 GMT+02:00 2019
/storage/02CB-10E4/Music/Joel Corry/Fallen (feat. Hayley May)/01 Joel Corry; Hayley M - Fallen (feat. Hayley May).mp3: Sun May 05 19:35:56 GMT+02:00 2019
/storage/02CB-10E4/Music/Kris Kristofferson/The Essential Kris Kristofferson/06 Kris Kristofferson - Casey's Last Ride (Album Version).mp3: Sun May 05 19:43:00 GMT+02:00 2019
/storage/02CB-10E4/Music/Interpol/The Weekend/01 Interpol - The Weekend.mp3: Sun May 05 19:30:34 GMT+02:00 2019
/storage/02CB-10E4/Music/Billy Idol/Greatest Hits (The One & Only)/05 Billy Idol - Rebel Yell.mp3: Sun May 05 18:34:32 GMT+02:00 2019
/storage/02CB-10E4/Music/Air Supply/Collections/01 Air Supply - All Out of Love.mp3: Sun May 05 18:21:14 GMT+02:00 2019
/storage/02CB-10E4/Music/Analog Sol/Trinidad Dreams/01 Analog Sol - Trinidad Dreams.mp3: Sun May 05 18:24:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Marty Robbins/Gunfighter Ballads And Trail Songs/08 Marty Robbins - The Master's Call.mp3: Sun May 05 19:55:58 GMT+02:00 2019
/storage/02CB-10E4/Music/DYTONE/Never Enough/01 DYTONE - Never Enough_2.mp3: Sun May 05 19:12:26 GMT+02:00 2019
/storage/02CB-10E4/Music/Elderbrook/Old Friend/01 Elderbrook - Old Friend.mp3: Sun May 05 19:13:36 GMT+02:00 2019
/storage/02CB-10E4/Music/Martin Garrix/Dreamer/01 Martin Garrix; Mike  - Dreamer.mp3: Sun May 05 19:55:37 GMT+02:00 2019
/storage/02CB-10E4/Music/Lorde/Pure Heroine/03 Lorde - Royals.mp3: Sun May 05 19:48:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Es ist soweit/11 Böhse Onkelz - Leiden.mp3: Sun May 05 18:39:50 GMT+02:00 2019
/storage/02CB-10E4/Music/Böhse Onkelz/Live in Vienna/13 Böhse Onkelz - Stöckel und Strapse (live).mp3: Sun May 05 18:43:41 GMT+02:00 2019
/storage/02CB-10E4/Music/Leisure/The Hype/01 Leisure - The Hype.mp3: Sun May 05 19:45:55 GMT+02:00 2019
/storage/02CB-10E4/Music/Boot Slap/Fade Into You/01 Boot Slap - Fade Into You (Original Mix).mp3: Sun May 05 18:46:48 GMT+02:00 2019
/storage/02CB-10E4/Music/Daya/Insomnia/01 Daya - Insomnia.mp3: Sun May 05 19:06:34 GMT+02:00 2019

21:42:46: getFiles: count=1
21:42:56: syncDevice: command=ReceiveFile
21:42:56: receiveFile: Receive: Music/Bee/Marshmello/Happier (Remixes)/1-01 - Happier (Frank Walker Remix).mp3
21:42:57: syncDevice: command=ReceiveFile
21:42:57: receiveFile: Receive: Music/Bee/Shawn Mendes/Lost In Japan (Remix)/1-01 - Lost In Japan (Remix).mp3
21:42:58: syncDevice: command=ReceiveFile
21:42:58: receiveFile: Receive: Music/Bee/CHVRCHES/Graffiti (M-22 Remix)/1-01 - Graffiti (M-22 Remix).mp3
21:43:02: syncDevice: command=ReceiveFile
21:43:02: receiveFile: Receive: Music/Bee/Gilligan Moss/Want U So Bad (Myd Remix)/1-01 - Want U So Bad (Myd Remix).mp3
21:43:03: syncDevice: command=ReceiveFile
21:43:03: receiveFile: Receive: Music/Bee/Playlists/test.m3u
21:43:03: syncDevice: command=Exit
21:43:03: exitSync: fails=0
21:43:04: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 08:59:36 PM
for an unknown reason, the mediastore database is not being updated. For now you will need to stick with wired sync
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 06, 2019, 09:07:34 PM
for an unknown reason, the mediastore database is not being updated. For now you will need to stick with wired sync

No good news. Will wired sync also sync playcount from GMMP?
Title: Re: Wifi android device synching
Post by: Steven on May 06, 2019, 09:19:40 PM
you should be able to do a Wired sync from MB and a Wifi reverse sync from the app - just don't tick the "sync from MusicBee" option and do the reverse sync before you do the wired sync from musicbee.

However I am going to look at whether the app could update the mediastore database itself
Title: Re: Wifi android device synching
Post by: SkyZippr on May 06, 2019, 11:43:39 PM
This should fix the unwanted folder clean up

https://getmusicbee.com/patches/MusicBee33_Patched.zip
unzip and replace the existing musicbee files
Thanks Steven, that solved my issue.
Title: Re: Wifi android device synching
Post by: EuroMIX on May 08, 2019, 05:36:03 AM
Any chance 2-way syncing could be made to work with MediaMonkey on android? It's probably the only music app I've found that actually handles delimiters for artists/genres/etc as well as MusicBee does, but I prefer to use your program on my PC.
If I understand correctly, you want the developer of MusicBee to create something that will work with MediaMonkey??? Please tell me you're not serious. If you are, you need to understand that the MB developer does this in his spare time, for no compensation other than a small pittance in donations, and has more than he can handle dealing with his own application. I suggest you talk with the paid staff at MediaMonkey.

I'm deeply confused. You understand that I meant MediaMonkey on Android, like I said in my previous post, and not the PC version of MediaMonkey? If that truly is where the confusion lies than you could have simply asked for clarification. That's why I said "MediaMonkey on Android" specifically to be clear what I meant.

I thought this was a topic made to gauge interest in, and receive feedback on, people wanting an app to sync between MusicBee and Android music players, which is why I asked if getting the 2-way sync to work with MediaMonkey on Android would be possible. If the answer is no, that's fine.

I'm also not entirely sure why you have framed my question with an uncharitably ungrateful implication as I even offered thanks twice, at the beginning and the end of my post, which you didn't include when you quoted me.

I honestly had no idea a harmless question would instigate such a negative response, and had I known, I simply wouldn't have asked. Previously my questions have been received pretty well.

Edit: Also, Steven literally asked for the exact type of feedback I gave in his original post:

I am doing some research into Wifi synching with android devices and also want to investigate the possibility of 2-way synching with some of the popular android players. Not promising anything but what I want to know is for the people interested in this, which android player do you use?
Title: Re: Wifi android device synching
Post by: Steven on May 08, 2019, 07:11:16 AM
Any chance 2-way syncing could be made to work with MediaMonkey on android?
No - MMA does not provide an API to extract the required data for play counts, rating, etc
Title: Re: Wifi android device synching
Post by: EuroMIX on May 08, 2019, 07:26:33 AM
Any chance 2-way syncing could be made to work with MediaMonkey on android?
No - MMA does not provide an API to extract the required data for play counts, rating, etc

That's disappointing, but thank you for looking into it. Hopefully a better Android player compatible with many of MusicBee's features will come along one day.
Title: Re: Wifi android device synching
Post by: klint on May 12, 2019, 06:14:29 PM
Hi Steven
Do you have any plans to support the 2way sync with Rocket Player at some point in time?
Thanks
Title: Re: Wifi android device synching
Post by: Steven on May 12, 2019, 06:21:50 PM
Do you have any plans to support the 2way sync with Rocket Player at some point in time?
No - there is no API that I can find
Title: Re: Wifi android device synching
Post by: Steven on May 18, 2019, 03:23:50 PM
I am not planning to make any further changes to the app for now. However please report any issues with the existing app to see if I can fix them

Re: Apple devices. I expect 2 way Wifi Synching could also work on iPhones, but its not something I will do. If anyone is interested to write an app, I can share the protocol MusicBee uses when wifi synching
Title: Re: Wifi android device synching
Post by: phred on May 19, 2019, 01:02:27 PM
I am not planning to make any further changes to the app for now. However please report any issues with the existing app to see if I can fix them
Not something that needs to be fixed, but a slight change to the UI.

When a sync is completed, the app shows "Sync More" at the bottom. That statement -sort of- implies that not everything has been synced. Perhaps changing "Sync More" to "Return" or "Return to Start" or something similar. I admit I'm not that happy with either of my two suggestions, but I feel it's better than what shows now.
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on May 19, 2019, 04:08:23 PM
However please report any issues with the existing app to see if I can fix them

1. I think an error message should show when trying to reverse sync using GoneMAD's trial (non-paid) version because backup isn't available in that. I switched ROMs last week and MB would attempt to sync indefinitely without showing any of pending tracks or anything. It wasn't until I disabled reverse sync that it worked, and then I noticed I didn't reinstall GoneMAD's pro key. Reverse sync worked fine after that.

2. The confirmation message that appears at the bottom of the screen when a sync finishes cuts off most of the Sync More button. I either have to wait a few seconds for it to disappear or press the very top of the button. Could you move the notification or Sync More button to a higher location so it'll be easier to press?
Title: Re: Wifi android device synching
Post by: Steven on May 19, 2019, 05:26:42 PM
1. I think an error message should show when trying to reverse sync using GoneMAD's trial (non-paid) version because backup isn't available in that. I switched ROMs last week and MB would attempt to sync indefinitely without showing any of pending tracks or anything. It wasn't until I disabled reverse sync that it worked, and then I noticed I didn't reinstall GoneMAD's pro key. Reverse sync worked fine after that.
i dont think there is a way to tell but as it stands the sync app should have timed out after 60 seconds - did you wait that long?
I think its way to high so i will reduce that
Title: Re: Wifi android device synching
Post by: MCDoubleDefDP on May 19, 2019, 05:36:58 PM
I'm not home to test, but I don't think I waited a full minute. Maybe close to it, but I stopped it once I figured something was up and never saw a message.
Title: Re: Wifi android device synching
Post by: Steven on May 19, 2019, 06:43:53 PM
the next version will detect no stats file has been generated and will alert after 15 secs with a specific message
Title: Re: Wifi android device synching
Post by: Steven on May 19, 2019, 07:04:23 PM
v0.8.2
https://play.google.com/apps/internaltest/4700978781087552506

snackbar message at completion of sync has been moved up so the button is not covered
Title: Re: Wifi android device synching
Post by: Babydoll32 on May 19, 2019, 07:46:31 PM
Hi, Steven.
Any news about the existing files, but still new copying problem?
Syncing with wire and backsync playcount didn't work.
Title: Re: Wifi android device synching
Post by: Steven on May 19, 2019, 07:52:38 PM
Any news about the existing files, but still new copying problem?
No, i wont be able to help in the current release

Syncing with wire and backsync playcount didn't work.
you need to reverse sync first and then do the wired sync. If you already did that, then you will need to be a little bit more specific than "it didnt work"

Title: Re: Wifi android device synching
Post by: Joker73R on May 21, 2019, 02:06:19 PM
I'm testing Android sync via WiFi an it works fine and fast but I'm having troubles to see the rating from a song on my PC on my Android device. I set a rating to a song on MusicBee on my PC and that rating is set on the properties of the file. But after syncing my library my phone doesn't seem to "see" the rating.
Also, could you add reverse sync from BlackPlayer app?
Title: Re: Wifi android device synching
Post by: frankz on May 21, 2019, 02:33:16 PM
Make sure Edit->Edit Preferences->Tags(1)...tag storage...'store ratings in the music file' is checked.  Otherwise the rating is only stored in the MB library database and not in the file's tags.

If the ratings are stored in your files tags already, then it's a problem with your player that it's not displaying them.  They're in the file in that case.
Title: Re: Wifi android device synching
Post by: Joker73R on May 21, 2019, 03:06:31 PM
Make sure Edit->Edit Preferences->Tags(1)...tag storage...'store ratings in the music file' is checked.  Otherwise the rating is only stored in the MB library database and not in the file's tags.

If the ratings are stored in your files tags already, then it's a problem with your player that it's not displaying them.  They're in the file in that case.

Thaks for answering so fast. The issue is that some ratings are not read by the phone even though they're embedded on the mp3 file.
Title: Re: Wifi android device synching
Post by: Joker73R on May 21, 2019, 03:08:43 PM
Also, may I suggest adding a shortcut so we can launch the sync activity by just touching a shortcut instead of entering the app?
Title: Re: Wifi android device synching
Post by: frankz on May 21, 2019, 05:00:21 PM
Make sure Edit->Edit Preferences->Tags(1)...tag storage...'store ratings in the music file' is checked.  Otherwise the rating is only stored in the MB library database and not in the file's tags.

If the ratings are stored in your files tags already, then it's a problem with your player that it's not displaying them.  They're in the file in that case.

Thaks for answering so fast. The issue is that some ratings are not read by the phone even though they're embedded on the mp3 file.
If they're embedded in the file but not showing on the phone, that's a problem with the player on the phone. MB has done its job by embedding the rating in the file.
Title: Re: Wifi android device synching
Post by: christmw2503 on May 21, 2019, 08:28:32 PM
Play count syncing from Poweramp is acting strange. It's syncing partially. Like in Poweramp, in the Most played tab, I have tracks that have been played 12, 9, etc. times. However, after syncing, Musicbee is not showing tracks with play counts greater than 5. For tracks with lower play counts, Musicbee is only showing only those I listened recently. Meaning tracks I listened to before reverse syncing was implemented, their play counts are not being synced. Also, reverse sync option is disabled for my device. I tried deleting the device and syncing again, same thing.
Do I have to send a log?
Title: Re: Wifi android device synching
Post by: Steven on May 21, 2019, 10:05:41 PM
can you do a simple test of playing a track, doing a sync preview and then checking in MB if the play count has incremented by 1
Title: Re: Wifi android device synching
Post by: chrisdivine on May 22, 2019, 09:23:34 AM
Hi! Maybe this information helps someone:
I had problems, that were caused by the different wifi bands of my router. It sends with the same ssid in the 2,4- und 5-GHz bands. If android phone and my notebook are in different bands (but the same network), I get an connection error trying to sync.
Title: Re: Wifi android device synching
Post by: Steven on May 22, 2019, 09:06:02 PM
what did you do to resolve the issue?
Title: Re: Wifi android device synching
Post by: chrisdivine on May 23, 2019, 07:42:48 AM
what did you do to resolve the issue?

I switched the 2,4 band off.  ;D
Title: Re: Wifi android device synching
Post by: christmw2503 on May 23, 2019, 09:34:15 AM
can you do a simple test of playing a track, doing a sync preview and then checking in MB if the play count has incremented by 1

All play counts are synced successfully. It's only tracks I played before that aren't synced.
Title: Re: Wifi android device synching
Post by: Steven on May 23, 2019, 10:47:22 AM
if you are referring to the tracks played on the device, the reverse sync is incremental.
So on the very first reverse sync, the full play count should have been sync'ed back to your musicbee library. And afterwards, only the change in play count.
If you want, you could delete the sync state file from the device by clearing the storage used by the app. However it would mean you also lose the settings
Title: Re: Wifi android device synching
Post by: vpsaxman on May 24, 2019, 05:07:54 AM
Hi! Maybe this information helps someone:
I had problems, that were caused by the different wifi bands of my router. It sends with the same ssid in the 2,4- und 5-GHz bands. If android phone and my notebook are in different bands (but the same network), I get an connection error trying to sync.

I'm experiencing the same issue. If my phone and PC are on different bands, the sync notification appears and hangs forever. The app's activity doesn't update and nothing gets synced.

I can also confirm that using the same band on both devices fixes the issue.

This does NOT happen for Playlist Sync by the way, just regular ("Full"?) sync.
Title: Re: Wifi android device synching
Post by: Joker73R on May 24, 2019, 07:56:17 AM
What does the MusicBee app "files as configured in MusicBee" option stand for?
Title: Re: Wifi android device synching
Post by: chrisdivine on May 24, 2019, 08:04:41 AM
I want to report an other issue. Sync with mp3-files works quite well, but not reliable, when I sync flac files converting to mp3.
I have a lot of flacs and use the option to convert it on the fly to mp3. In the playlists are 30 - 600 files. The short ones are transferred, but syncing hangs with the longer.
Title: Re: Wifi android device synching
Post by: phred on May 24, 2019, 12:30:36 PM
What does the MusicBee app "files as configured in MusicBee" option stand for?
It means that the parameters for the sync are those as specified for the device under Preferences > Devices
Title: Re: Wifi android device synching
Post by: Joker73R on May 24, 2019, 03:28:16 PM
What does the MusicBee app "files as configured in MusicBee" option stand for?
It means that the parameters for the sync are those as specified for the device under Preferences > Devices

Thanks for the clarification. One thing that I don't understand: All my mp3 files have their album covers embedded, but if I don't check to embed them during the transfer to the device the songs don't have their covers even though those covers are embedded on the file apart from MusicBee.
Title: Re: Wifi android device synching
Post by: frankz on May 24, 2019, 05:25:53 PM
Thanks for the clarification. One thing that I don't understand: All my mp3 files have their album covers embedded, but if I don't check to embed them during the transfer to the device the songs don't have their covers even though those covers are embedded on the file apart from MusicBee.
Why would you tell it not to embed them on the device if you want them embedded on the device?
Title: Re: Wifi android device synching
Post by: Joker73R on May 24, 2019, 07:02:34 PM
Thanks for the clarification. One thing that I don't understand: All my mp3 files have their album covers embedded, but if I don't check to embed them during the transfer to the device the songs don't have their covers even though those covers are embedded on the file apart from MusicBee.
Why would you tell it not to embed them on the device if you want them embedded on the device?

Because those files already have the covers embedded before being added to the MusicBee library.
Title: Re: Wifi android device synching
Post by: frankz on May 24, 2019, 10:26:43 PM
What I'm getting at is that you're telling it to erase that embedded art on transfer by doing that.
Title: Re: Wifi android device synching
Post by: Joker73R on May 25, 2019, 08:14:51 AM
What I'm getting at is that you're telling it to erase that embedded art on transfer by doing that.

Ah, understood. Thanks for the clarification. I also have lyrics embedded in the mp3 files and even though I don't select the option to embed them during the transfer to my device they still keep inside the mp3 file. I thought album covers would have the same behaviour. Apart from that misunderstanding, syncing works great. I've two suggestions:
- Add a shortcut to launch the syncing without opening the app via Tasker, for example.
- After syncing is finished, we should return to the main window by pressing "back" button on the phone instead of the "sync more" button.
- If I stop the syncing, the persistent notification gets stuck and I can only get rid of it when forcing its close.
- I love that the MusicBee computer program shows you the syncing percentage but, could you add the estimated remaining time? Or the songs that are being copied to the device.
- Touching the syncing notification should open the app.
Title: Re: Wifi android device synching
Post by: phred on May 25, 2019, 01:10:29 PM
@Steven-

Yesterday I had completed a wholesale tag change on a large percentage of my tracks. I also changed parameters on a good number of my playlists. I started a wired sync with my FiiO, which I knew would take hours. At some point during the sync I wanted to WiFi sync my phone, but thought it best to wait.

The questions is: can MB do a WiFi sync while it's doing a wired sync?

Thanks.
Title: Re: Wifi android device synching
Post by: zkhcohen on May 26, 2019, 01:39:06 PM
I just tried to sync and it's trying to connect to "10.3.15.29:27304".

Why? The network I'm on uses the 192.168.0.0/16 subnet.
Title: Re: Wifi android device synching
Post by: Steven on May 26, 2019, 02:48:27 PM
I just tried to sync and it's trying to connect to "10.3.15.29:27304".
Why? The network I'm on uses the 192.168.0.0/16 subnet.
MB will try using the last sucessfull connection and only if it fails will it retry scanning using the subnet that the phone is on at the time.
Title: Re: Wifi android device synching
Post by: Steven on May 26, 2019, 02:49:55 PM
The questions is: can MB do a WiFi sync while it's doing a wired sync?
I wouldnt advise it unless you restrict the wifi sync to a reverse sync only. Otherwise its likely to try and sync the same files with inveitable conflict. Even if you restrict it to reverse sync only, I cant be sure there wouldnt be some unexpected behaviour but that statement is not based on any thing I can definitively think of.
Title: Re: Wifi android device synching
Post by: phred on May 26, 2019, 05:26:05 PM
I wouldnt advise it unless you restrict the wifi sync to a reverse sync only. Otherwise its likely to try and sync the same files with inveitable conflict. Even if you restrict it to reverse sync only, I cant be sure there wouldnt be some unexpected behaviour but that statement is not based on any thing I can definitively think of.
That's pretty much what I was thinking. Which is why I didn't do it until I heard back from you. Thanks.
Title: Re: Wifi android device synching
Post by: zkhcohen on May 27, 2019, 11:36:22 PM
I just tried to sync and it's trying to connect to "10.3.15.29:27304".
Why? The network I'm on uses the 192.168.0.0/16 subnet.
MB will try using the last sucessfull connection and only if it fails will it retry scanning using the subnet that the phone is on at the time.

Deja Vu.

I've asked and you've answered this question before....

Thanks.
Title: Re: Wifi android device synching
Post by: Joker73R on May 31, 2019, 07:31:28 AM
I deleted some songs from both my Musicbee library and my computer storage but they are not deleted on my phone when syncing. What I'm doing wrong?
Title: Re: Wifi android device synching
Post by: Steven on May 31, 2019, 06:03:00 PM
are the songs still referenced (as dead links) on one or more of the playlists you are synching
Title: Re: Wifi android device synching
Post by: zkhcohen on May 31, 2019, 07:21:26 PM
What are the potential causes of duplicate synching? I have about 700 files which were synched two days ago, and are trying to be synched again.

What changes made to a file would cause it to be re-synched? Any changes at all?
Title: Re: Wifi android device synching
Post by: christmw2503 on May 31, 2019, 08:22:48 PM
Need help. So Poweramp was behaving and I had to reset it. I restored from a recent backup I made and everything was restored except the ratings. Is there a way Poweramp can read again those ratings when syncing from Musicbee?
Title: Re: Wifi android device synching
Post by: Steven on June 02, 2019, 02:35:49 PM
i will look into these issues but for now the priority is the MusicBee release itself
Title: Re: Wifi android device synching
Post by: Babydoll32 on June 02, 2019, 04:37:28 PM
Any news about the existing files, but still new copying problem?
No, i wont be able to help in the current release

Syncing with wire and backsync playcount didn't work.
you need to reverse sync first and then do the wired sync. If you already did that, then you will need to be a little bit more specific than "it didnt work"



Hi, Steven.
Sorry for late answer, but my 13mo. old son is involving me most time. I had the problem, when syncing back playcount, app showed me, that it couldn't match the songs with MB database or something. Today I had a little time, and wanted to explain this issue with screenshots etc. I made a new MB database, with a few songs, synced them wireless to my phone. Synced playcount back to MB worked fine. Added a few songs more to MB database, synced them with wire. Played some with GMP. Synced back playcount once again wireless and it worked now (no unmatching message). And now it's getting chrious. I turned on syncing MB->Phone, started a wireless sync and now the app detects the existing files and copies only the newer ones. So, skip existing files worked now for me.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 03, 2019, 05:38:01 AM
I hadn't synced my phone in a few weeks and now I want do but keep getting the message that it can't connect to MB .   It says "server not found.  Ensure MusicBee is running..... etc etc"  I updated my MB on my computer thinking I need the newest version but that didn't help.   I have newest as found on the Newest Version thread in the forum.    I closed out and re-opened the app and the program several times.    Even double checked my port settings on the router.   
Title: Re: Wifi android device synching
Post by: psychoadept on June 03, 2019, 06:24:03 AM
I hadn't synced my phone in a few weeks and now I want do but keep getting the message that it can't connect to MB .   It says "server not found.  Ensure MusicBee is running..... etc etc"  I updated my MB on my computer thinking I need the newest version but that didn't help.   I have newest as found on the Newest Version thread in the forum.    I closed out and re-opened the app and the program several times.    Even double checked my port settings on the router.

Have you actually gone in through Apps and force stopped it? I've found that sometimes after I do that it picks up again.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 03, 2019, 06:41:52 AM
I hadn't synced my phone in a few weeks and now I want do but keep getting the message that it can't connect to MB .   It says "server not found.  Ensure MusicBee is running..... etc etc"  I updated my MB on my computer thinking I need the newest version but that didn't help.   I have newest as found on the Newest Version thread in the forum.    I closed out and re-opened the app and the program several times.    Even double checked my port settings on the router.

Have you actually gone in through Apps and force stopped it? I've found that sometimes after I do that it picks up again.
I went in task switcher and closed it out several times.   No good.   I ran out of ideas and options.
Update:  I tried syncing but just realized that it's syncing as seen in the notification bar and drop down list.   And MB program shows it's syncing at the bottom of the window.   But I have no way of seeing what it's syncing.   It's weird.   The app itself doesn't even show it syncing.  Still has the message saying it can't find the server.
Title: Re: Wifi android device synching
Post by: psychoadept on June 03, 2019, 06:47:55 AM
Have you actually gone in through Apps and force stopped it? I've found that sometimes after I do that it picks up again.
I went in task switcher and closed it out several times.   No good.   I ran out of ideas and options.

Yeah, it doesn't work for me if I just do task switcher.  You have to actually go into Apps the long way and use the Force Stop button.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 03, 2019, 07:25:38 AM
Have you actually gone in through Apps and force stopped it? I've found that sometimes after I do that it picks up again.
I went in task switcher and closed it out several times.   No good.   I ran out of ideas and options.

Yeah, it doesn't work for me if I just do task switcher.  You have to actually go into Apps the long way and use the Force Stop button.
I just tried it.   Still the same.   "server not found" yada yada yada.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 03, 2019, 09:38:40 PM
Have you actually gone in through Apps and force stopped it? I've found that sometimes after I do that it picks up again.
I went in task switcher and closed it out several times.   No good.   I ran out of ideas and options.

Yeah, it doesn't work for me if I just do task switcher.  You have to actually go into Apps the long way and use the Force Stop button.
I just tried it.   Still the same.   "server not found" yada yada yada.

Anyone?  I'm getting anxious to get more music on my devices.  thanks.
Title: Re: Wifi android device synching
Post by: Haljeff on June 03, 2019, 10:37:48 PM
You need to go through apps select storage and clear data and cache
Title: Re: Wifi android device synching
Post by: SkyZippr on June 03, 2019, 10:40:21 PM
Does error log indicate anything?
In my case, it was dynamic IP that messed it up. Wifi app was keep looking for an IP that was no longer that of the PC. I manually set the PC to the specific static IP that Wifi app was looking for, and the problem was solved.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 03, 2019, 11:57:50 PM
You need to go through apps select storage and clear data and cache
Thanks.   That did the trick.   Now I'm am trying to see what it's syncing from as i used the settings on the main window.   In the program settings it has two entries for my phone.   Is one from a wired connection and one from the wifi sync?   But I'm not sure if it's using the first one or the second one.   Thanks. 
Title: Re: Wifi android device synching
Post by: Haljeff on June 04, 2019, 01:27:45 AM
One is probably internal storage and the other SD storage
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 04, 2019, 04:00:18 AM
One is probably internal storage and the other SD storage
I looked and they're both for the SD card.   Usually one is for the internal storage like you say.
Title: Re: Wifi android device synching
Post by: amrhachicho on June 05, 2019, 07:35:36 AM
Been using the Android wifi sync, and it's been working great here. My only issue is that each track's artwork is being placed in a separate album on my Samsung's image gallery. I am able to go to my gallery and choose to hide the albums, but that would mean having to go through hundreds of files and check them off one by one.

Has anyone else faced this issue? and are there any methods to resolve it?
Title: Re: Wifi android device synching
Post by: Freddy Barker on June 05, 2019, 09:47:12 AM
Been using the Android wifi sync, and it's been working great here. My only issue is that each track's artwork is being placed in a separate album on my Samsung's image gallery. I am able to go to my gallery and choose to hide the albums, but that would mean having to go through hundreds of files and check them off one by one.

Has anyone else faced this issue? and are there any methods to resolve it?


Not actually used this method myself but am assured it works..
By simply placing a file;  ".nomedia" (without the quotes), in the folder you wish to be ignored by Andriod gallery...see here..

https://fileinfo.com/extension/nomedia
Title: Re: Wifi android device synching
Post by: frankz on June 05, 2019, 12:19:00 PM
Yes, if you put the .nomedia file in the top-level folder in your music organization structure (for example "Music"  if you're syncing to "Music\<Album Artist>\<Album>\...etc") it will ignore images in ever folder under that.
Title: Re: Wifi android device synching
Post by: amrhachicho on June 05, 2019, 04:09:37 PM

Not actually used this method myself but am assured it works..
By simply placing a file;  ".nomedia" (without the quotes), in the folder you wish to be ignored by Andriod gallery...see here..

https://fileinfo.com/extension/nomedia

Thanks freddy & frankz, it worked.

Would be nice for musicbee to generate the .nomedia file when first installing the app. Unless users want to have all their album covers accessible...

In any case, this was a simple and quick workaround. Thanks again :)
Title: Re: Wifi android device synching
Post by: StormofThunder on June 06, 2019, 01:03:13 AM
I got one question. Does MB check for existing files on Android or will it copy everything again with a new sync? The reason why I ask is, that it seems to me, that it copy files again, with every new sync, insteed skipping already existing files. And that waste a lot of time, with a lot of songs. Maybe my settings are wrong?!

This is also happening to me. After just having synced on wired, Wifi Sync tries to sync a ton of already existing tracks (9.4k when I have 17k tracks synced). I followed the situation and how the mediastore wasn't updating, and I reset mine as well and it still happens. This basically makes wifi sync useless unfortunately with the exception of reverse sync.

Any word on the likelyhood of trying to fix this next?
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 06, 2019, 03:56:58 PM
Been using the Android wifi sync, and it's been working great here. My only issue is that each track's artwork is being placed in a separate album on my Samsung's image gallery. I am able to go to my gallery and choose to hide the albums, but that would mean having to go through hundreds of files and check them off one by one.

Has anyone else faced this issue? and are there any methods to resolve it?

I've been having this problem for awhile.   I think it started when using the Musicbee to sync.   But I'm not sure how musicbee is any different then isyncr in that respect.   Unless it's because MB uses the Music folder instead of it's own folder.   
Title: Re: Wifi android device synching
Post by: railfan-eric28 on June 06, 2019, 03:58:17 PM
Been using the Android wifi sync, and it's been working great here. My only issue is that each track's artwork is being placed in a separate album on my Samsung's image gallery. I am able to go to my gallery and choose to hide the albums, but that would mean having to go through hundreds of files and check them off one by one.

Has anyone else faced this issue? and are there any methods to resolve it?


Not actually used this method myself but am assured it works..
By simply placing a file;  ".nomedia" (without the quotes), in the folder you wish to be ignored by Andriod gallery...see here..

https://fileinfo.com/extension/nomedia

I've been having this problem and read up on it a few weeks ago.   If you use the nomedia file then most players will not read the music because mediastore will ignore the music in the same folder as well. 
Title: Re: Wifi android device synching
Post by: Steven on June 06, 2019, 04:38:47 PM
To the people reporting sync issues (same files synch'ed multiple times or not deleting), can you PM me your google play store login email if you have not done so already so I can add you to the alpha release channel.
I will spend time on the issues from this weekend
Title: Re: Wifi android device synching
Post by: SkyZippr on June 07, 2019, 01:39:58 AM
Been using the Android wifi sync, and it's been working great here. My only issue is that each track's artwork is being placed in a separate album on my Samsung's image gallery. I am able to go to my gallery and choose to hide the albums, but that would mean having to go through hundreds of files and check them off one by one.

Has anyone else faced this issue? and are there any methods to resolve it?

Another likely workaround would be embedding the artwork into the music file.
Title: Re: Wifi android device synching
Post by: Babydoll32 on June 07, 2019, 05:50:24 AM
To the people reporting sync issues (same files synch'ed multiple times or not deleting), can you PM me your google play store login email if you have not done so already so I can add you to the alpha release channel.
I will spend time on the issues from this weekend

Hi, Steven.
My post a few days ago was a fail alert. The next syncs got still same problem. But I think it's a handling problem of SD card by the Nokia phone. Cause GMMP had also problems with scanning medias on my SD, whatever I done. However I buyed a Motorola One Vision now and till yet it works fine. It only want's to sync one song again and again. Maybe because I convert all my FLACs to OGG while syncing and this is a MP3, which I leave as MP3?!
Title: Re: Wifi android device synching
Post by: Steven on June 08, 2019, 11:01:56 AM
To the people reporting sync issues (same files synch'ed multiple times or not deleting), can you PM me your google play store login email if you have not done so already so I can add you to the alpha release channel.
I will spend time on the issues from this weekend
to start with could anyone participating run this debug version which will give me some more info
https://www.mediafire.com/file/dd95fba3vgn8q8u/MusicBeeDebugSync.zip/file
unzip and replace musicbee.exe

It will potentially log a lot of info to the error log - could you send me a zip of the error log after running the sync (help/ support/ view error log)
Also let me know the filename for a couple of the files that should not have beeen re-copied
Title: Re: Wifi android device synching
Post by: christmw2503 on June 08, 2019, 01:08:45 PM
I'm a bit confused. Does what I earlier reported fall under bug or feature not yet implemented category? Basically, if I uninstall/reinstall Poweramp, and sync, all my Musicbee ratings won't be recognized in Poweramp. I ask this so that I can know if I too have to install the debug version and send logs.
Title: Re: Wifi android device synching
Post by: fabiorfreitas on June 10, 2019, 04:01:28 AM
Hi, Steven, thanks for working on this as well!

I'm joining now in this feature, so I'll be PMing you my google email to be added to the alpha channel as well as my ErrorLog.dat.
I'm using the latest app I could get from the Play Store, as well as MB 3.3.7098 with this debug .exe you provided.

BTW, the issues I'm facing is that my GMMP library indicates that it has 30 tracks less than my MB library. Also, MB doesn't seem to be exporting the playcounts, every file has a playcount of 0 on GMMP

Also, here is the debug log from within the app:

https://pastebin.com/ZuUpRCvg (Its on pastebin because my post seemed to exceed 20000 characters)

(https://i.imgur.com/uZwlMMK.png)
Title: Re: Wifi android device synching
Post by: Babydoll32 on June 10, 2019, 08:00:52 AM
Also, MB doesn't seem to be exporting the playcounts, every file has a playcount of 0 on GMMP

MB won't sync playcount to GMMP. Only from GMMP to MB. Steven answered a similar question of me before.
Title: Re: Wifi android device synching
Post by: SkyZippr on June 10, 2019, 12:33:04 PM
BTW, the issues I'm facing is that my GMMP library indicates that it has 30 tracks less than my MB library.

Does it happen only with Wifi sync, or does it happen with wired sync as well? Are you missing, like, a whole album or are they totally random?
One thing you may want to check is if you've accidentally 'unticked' some of the tracks.
Title: Re: Wifi android device synching
Post by: Steven on June 11, 2019, 06:15:32 PM
to start with could anyone participating run this debug version which will give me some more info
https://www.mediafire.com/file/dd95fba3vgn8q8u/MusicBeeDebugSync.zip/file
unzip and replace musicbee.exe

It will potentially log a lot of info to the error log - could you send me a zip of the error log after running the sync (help/ support/ view error log)
Also let me know the filename for a couple of the files that should not have beeen re-copied
I havent had any feedback on this - I am getting close to the final release for v3.3, and it would be good to close out this issue
Title: Re: Wifi android device synching
Post by: psychoadept on June 11, 2019, 06:21:12 PM
I don't think that was a problem I ran into.
Title: Re: Wifi android device synching
Post by: Freddy Barker on June 11, 2019, 06:34:13 PM
I havent had any feedback on this - I am getting close to the final release for v3.3, and it would be good to close out this issue

Do I have to be using the GMMP Android player to test??
Freddy
Title: Re: Wifi android device synching
Post by: Steven on June 11, 2019, 06:47:42 PM
I havent had any feedback on this - I am getting close to the final release for v3.3, and it would be good to close out this issue
Do I have to be using the GMMP Android player to test??
Freddy
I very much doubt it has anything to do with the android player you use, and you would know if you had the issue so no need to test for something that is not affecting you
Title: Re: Wifi android device synching
Post by: fabiorfreitas on June 12, 2019, 02:23:09 AM
Also, MB doesn't seem to be exporting the playcounts, every file has a playcount of 0 on GMMP

MB won't sync playcount to GMMP. Only from GMMP to MB. Steven answered a similar question of me before.

Oh, I see. I've tryed to read some of the previous discussion, but 550 post was just too much! Anyway, does it work with PowerAmp? If not, did you find a way around to export playcounts? Perhaps something via iTunes and then another syncer...


BTW, the issues I'm facing is that my GMMP library indicates that it has 30 tracks less than my MB library.

Does it happen only with Wifi sync, or does it happen with wired sync as well? Are you missing, like, a whole album or are they totally random?
One thing you may want to check is if you've accidentally 'unticked' some of the tracks.

I don't really know which tracks are these, but it happened only via wifi. Also, it only happened once, I didn't try purging the device and resyncing to see if it was solved. Oh, and I was syncing my whole library, so no Unticked tracks : p
Title: Re: Wifi android device synching
Post by: Babydoll32 on June 12, 2019, 07:56:51 PM
I got a little problem. I sync my music to a SD card in my phone. When I create a playlist in GMMP and want to sync it back to MB, I'll get a non-recoverable error while syncing. I didn't change the standard settings.
Title: Re: Wifi android device synching
Post by: phred on June 13, 2019, 02:06:39 PM
It would be helpful if you pasted the sections of both MB's error log and the WiFi app's error log so we can see what's going on. No need for the entire log - just the section from the time the error occurred.
Title: Re: Wifi android device synching
Post by: Babydoll32 on June 13, 2019, 09:59:30 PM
It would be helpful if you pasted the sections of both MB's error log and the WiFi app's error log so we can see what's going on. No need for the entire log - just the section from the time the error occurred.

I tried to replicate the error again. But it doesn't happened again. Playlist synced back, but empty. I checked out the logs. But there's nothing. No error appears in the logs.
Title: Re: Wifi android device synching
Post by: StormofThunder on June 14, 2019, 02:31:43 AM
To the people reporting sync issues (same files synch'ed multiple times or not deleting), can you PM me your google play store login email if you have not done so already so I can add you to the alpha release channel.
I will spend time on the issues from this weekend
to start with could anyone participating run this debug version which will give me some more info
https://www.mediafire.com/file/dd95fba3vgn8q8u/MusicBeeDebugSync.zip/file
unzip and replace musicbee.exe

It will potentially log a lot of info to the error log - could you send me a zip of the error log after running the sync (help/ support/ view error log)
Also let me know the filename for a couple of the files that should not have beeen re-copied

error logs (https://drive.google.com/file/d/1VjcOdS0vD0X9_BCHoTQehh565yo7pkzj/view?usp=sharing)

I chose to sync only a playlist, otherwise there would be too many files. Up to line line 8368, Musicbee scanned a ton of files irrelevant to the playlist sync, since the playlist is only comprised of 95 files. All of the 95 files that synced were already in the phone.

In Musicbee, the device fullsync is comprised of 18,054 files, so I don't know why it just scanned 8.3k files even if I only chose Playlist Sync, adding a ton of waiting time for the sync to start.
Title: Re: Wifi android device synching
Post by: Steven on June 15, 2019, 02:36:26 PM
thanks for the logs.
So according to the log, all the .opus files would have been synched because MB could not find them on the device.
All the other files in the playlist were skipped because the dates matched.

So can you confirm whether the .opus files were actually already on the device?
If you think they were on the device, can you confirm that using the Android file explorer, navigating via the Storage node rather than the Audio node, making sure you are using the path from the error log?
I understand Android devices dont index .opus files in the media store, so that would likely explain why they keep getting synched.

i dont think this is directly related, but your wifi connection seems quite bad, and i noticed MB is having to do a lot of retries before it succeeds
Title: Re: Wifi android device synching
Post by: StormofThunder on June 16, 2019, 05:09:57 PM
thanks for the logs.
So according to the log, all the .opus files would have been synched because MB could not find them on the device.
All the other files in the playlist were skipped because the dates matched.

So can you confirm whether the .opus files were actually already on the device?
If you think they were on the device, can you confirm that using the Android file explorer, navigating via the Storage node rather than the Audio node, making sure you are using the path from the error log?
I understand Android devices dont index .opus files in the media store, so that would likely explain why they keep getting synched.

i dont think this is directly related, but your wifi connection seems quite bad, and i noticed MB is having to do a lot of retries before it succeeds

The playlist only had 95 files, the tracks that were skipped had nothing to do with the playlist. The reason the wifi sync app kept timing out/retrying was because Musicbee was busy, for some reason, scanning other thousands of tracks not relevant to the playlist that was selected to sync. My wifi is fine (https://www.speedtest.net/result/a/5034626734), my router is in my room as well.

I've synced with wired multiple times in the last few days to make sure I already had those files, and I certainly did. The music players I use play opus files fine, but android doesn't seem to detect them (such as google play music), so I'm converting my library to ogg and will report again when I do another test.
Title: Re: Wifi android device synching
Post by: StormofThunder on June 17, 2019, 12:56:45 AM
So after converting my opus files to ogg and resyncing wired, completely replacing all opus files, and then syncing wirelessly, the files are properly detected and synced. Sometimes, though, I get "Sync Preview failed: Object reference not set to an instance of an object.", and every time, Musicbee spends a ton of time scanning through thousands of files that aren't in the single playlist I select to sync. This makes wireless sync take forever to even start up, while the android app is timing out and retrying. Can't it just scan through the files in the playlist and not through a big part of my library?
Title: Re: Wifi android device synching
Post by: Steven on June 20, 2019, 07:40:46 PM
Sometimes, though, I get "Sync Preview failed: Object reference not set to an instance of an object."
v0.9 will probably fix the issue - its available on the internal test channel

https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: StormofThunder on June 20, 2019, 07:52:40 PM
Sometimes, though, I get "Sync Preview failed: Object reference not set to an instance of an object."
v0.9 will probably fix the issue - its available on the internal test channel

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

I thought I had already sent the login e-mail, seems that I didn't. I've sent it now, thanks, I'll resync when I get the update and see if anything's changed.
Title: Re: Wifi android device synching
Post by: sasukedll7170 on June 24, 2019, 04:27:27 PM
hi steven, first of all thank you soooo much for this amazing app, you are truly amazing <3, no i would like to see if you could help me with this problem i have, i´ve been using your app for like two months and it was working flawlesly, but now for some reason like 2 weeks ago it stoped working completly, i dont know why, i havent installed anything or somehting neither on my computer or my phone, but now for some reason i'm getting this "server not found" error, what file should i send so i can get some help with this? thanks in advance ^_^
Title: Re: Wifi android device synching
Post by: psychoadept on June 24, 2019, 06:35:26 PM
hi steven, first of all thank you soooo much for this amazing app, you are truly amazing <3, no i would like to see if you could help me with this problem i have, i´ve been using your app for like two months and it was working flawlesly, but now for some reason like 2 weeks ago it stoped working completly, i dont know why, i havent installed anything or somehting neither on my computer or my phone, but now for some reason i'm getting this "server not found" error, what file should i send so i can get some help with this? thanks in advance ^_^

I suggest to start by making sure that your MusicBee pc is still connected on a private network. A couple of times Windows has switched mine to public for no obvious reason.

Have you restarted both the device and the computer? I also find that sometimes it helps to force kill the app (from the apps section in Android), not just close it from the app switcher.
Title: Re: Wifi android device synching
Post by: sasukedll7170 on June 25, 2019, 12:00:52 AM
hi steven, first of all thank you soooo much for this amazing app, you are truly amazing <3, no i would like to see if you could help me with this problem i have, i´ve been using your app for like two months and it was working flawlesly, but now for some reason like 2 weeks ago it stoped working completly, i dont know why, i havent installed anything or somehting neither on my computer or my phone, but now for some reason i'm getting this "server not found" error, what file should i send so i can get some help with this? thanks in advance ^_^

I suggest to start by making sure that your MusicBee pc is still connected on a private network. A couple of times Windows has switched mine to public for no obvious reason.

Have you restarted both the device and the computer? I also find that sometimes it helps to force kill the app (from the apps section in Android), not just close it from the app switcher.

hello psychoadept, thanks for the replay, unfortunately i already tried all of what you said, killing the app on android, restart both the phone and my computer, switching to private and public network, but nothing has solve the problem so far, still get the same error :(
Title: Re: Wifi android device synching
Post by: phred on June 25, 2019, 02:58:06 AM
@sasukedll7170 -

- What version number of MB are you using?
- Which install version did you use? (Installer, portable, Windows Store?)
- Which version of the WiFi app are you using? (You can find the version # by going to Settings > Apps on the device.
- Have you checked both MB's error log and the app's error log to see if there are entries from around the time of the error? If there's something there from the right time, please copy and paste it here.
Title: Re: Wifi android device synching
Post by: sasukedll7170 on June 25, 2019, 12:55:48 PM
@sasukedll7170 -

- What version number of MB are you using?
- Which install version did you use? (Installer, portable, Windows Store?)
- Which version of the WiFi app are you using? (You can find the version # by going to Settings > Apps on the device.
- Have you checked both MB's error log and the app's error log to see if there are entries from around the time of the error? If there's something there from the right time, please copy and paste it here.

- MusicBee V3.3.7112
- portable
- Wifi Sync V0.9
-Wifi SYnc error log:
Code
2019-06-01: Vivo ONE;  7.1.1;  0.8.3
09:22:34: locate: search=192.168.137.
09:22:34: locate: exclude=58
09:22:34: ping: socket ok=/192.168.137.96
09:22:34: ping: hello=MusicBeeWifiSyncServer/1.0
09:22:34: ping: matched=/192.168.137.96,status=OK
09:22:35: ping: socket ok=/192.168.137.96
09:22:35: ping: hello=MusicBeeWifiSyncServer/1.0
09:22:35: ping: matched=/192.168.137.96,status=OK
Title: Re: Wifi android device synching
Post by: Steven on June 25, 2019, 05:18:27 PM
according to that log, the server was located
Title: Re: Wifi android device synching
Post by: sasukedll7170 on June 25, 2019, 07:22:35 PM
according to that log, the server was located

it doesn't have any sense then, because if i press "sync now" it says "Error Server not found. Ensure MusicBee is running and Windows firewall is not blocking MusicBee" and i have completely disable my firewall, my antivirus, everything that could be "blocking" anything :(
Title: Re: Wifi android device synching
Post by: rufus00g on June 26, 2019, 09:38:19 AM
@Steven first of all thanks for all the hard work on this great software!

I'm trying out the WiFi syncing between Android and MusicBee and experiencing issues that seem to be related to changing the "media storage" -> "storage path" in the device settings from the default.  For example I currently have the storage path set to "Nokia 8\SD card\MusicBee\" and this path is respected when performing the initial wired sync.  Everything is copied properly into "Nokia 8\SD card\MusicBee\Music\".  However when using the MusicBee Wifi Sync app thereafter, everything seems to be recopied into the default "Nokia\SD card\Music" directory and my storage path configuration is ignored.  From there it sometimes throws the "File not matched in MusicBee..." error or it keeps recopying the same files from the Desktop app to my phone as it doesn't seem to determine both devices as matching.  I can provide more info to reproduce or understand the issue if necessary.
Title: Re: Wifi android device synching
Post by: christmw2503 on July 01, 2019, 08:46:29 AM
I also have a Nokia 8 on Android Pie. The initial wired sync works flawlessly. But when I want to do the wifi sync, the app says "Musicbee can't match the device name...". I then type "Nokia 8" (the device name appearing in Musicbee) and try to locate the server but I'm taken back to the same  error screen. Btw, TA-1004 is the specific model of my Nokia 8.
The issue must be related to how Nokia phones handle media storage, because my Motorola phone doesn't have this issue

https://imgur.com/fQzhazD
Title: Re: Wifi android device synching
Post by: Babydoll32 on July 01, 2019, 04:43:25 PM
I also have a Nokia 8 on Android Pie. The initial wired sync works flawlessly. But when I want to do the wifi sync, the app says "Musicbee can't match the device name...". I then type "Nokia 8" (the device name appearing in Musicbee) and try to locate the server but I'm taken back to the same  error screen. Btw, TA-1004 is the specific model of my Nokia 8.
The issue must be related to how Nokia phones handle media storage, because my Motorola phone doesn't have this issue

https://imgur.com/fQzhazD

That's why I was fed up with my Nokia 8. See a few posts before. Also GMMP had several times problems with scanning media. After a camera issue I bought a Motorola OneVision now and have no big problems with sync WiFi and wireless.
Title: Re: Wifi android device synching
Post by: christmw2503 on July 02, 2019, 03:55:00 PM


That's why I was fed up with my Nokia 8. See a few posts before. Also GMMP had several times problems with scanning media. After a camera issue I bought a Motorola OneVision now and have no big problems with sync WiFi and wireless.
[/quote]

I've just returned the phone. I've never seen a phone with so many bugs.
Title: Re: Wifi android device synching
Post by: StephDesire on July 04, 2019, 02:42:49 PM
Hi everyone, I have got a FiiO m6 with 400gb to replace my iPod Classic, it's a pretty good device but this device with android have a fu***** limited white list of apps.

I find a way to install any app by changing the package name for a white listed one.

Firstly my objectif was to sync this device with iTunes with the play counts, so I tried Doubletwist, it works but I have more than 10k tracks and after that limit the desktop app of DT make an infinite loop of verification and it stops working, and the reverse syncing doesn't work at all.

Now I discover Musicbee and I'm quite amaze compared to iTunes.

So I dream about sync MB with my device, but I don't know how to convince FiiO to use your app and changing the package name could cause other problems, and I already lost more than a month to try with doubleTwist.
Title: Re: Wifi android device synching
Post by: frankz on July 04, 2019, 03:20:25 PM
Hi everyone, I have got a FiiO m6 with 400gb to replace my iPod Classic, it's a pretty good device but this device with android have a fu***** limited white list of apps.

I find a way to install any app by changing the package name for a white listed one.

Firstly my objectif was to sync this device with iTunes with the play counts, so I tried Doubletwist, it works but I have more than 10k tracks and after that limit the desktop app of DT make an infinite loop of verification and it stops working, and the reverse syncing doesn't work at all.

Now I discover Musicbee and I'm quite amaze compared to iTunes.

So I dream about sync MB with my device, but I don't know how to convince FiiO to use your app and changing the package name could cause other problems, and I already lost more than a month to try with doubleTwist.
Use wired sync you don't need an app for that.
Title: Re: Wifi android device synching
Post by: Haljeff on July 06, 2019, 03:58:50 PM
Having problem with syncing play counts with gonemad
Keep getting need unlocked version which i have
Syncs playlists ok. Having same problem on 2 devices
Any help would be great
Title: Re: Wifi android device synching
Post by: Steven on July 06, 2019, 05:18:59 PM
do you see the file using android file explorer? gmmp/stats.xml

it might be that you need a more recent version of gonemad
Title: Re: Wifi android device synching
Post by: frankz on July 06, 2019, 06:25:13 PM
FYI, this same thing (no reverse sync and "you need the unlocked version" when I have the unlocked version) happens to me.  I do have the file (/storage/emulated/0/gmmp/stats.xml) and can see/open it. 

I figured it was something specific to my phone and didn't really have time to trouble-shoot and was only going to sync back infrequent ratings anyway so I never brought it up.  But @Haljeff is not alone in this.
Title: Re: Wifi android device synching
Post by: Steven on July 06, 2019, 07:15:09 PM
could you both send me your google play email address so i can add you to the alpha track and i will create a debug version to see whats going on
Title: Re: Wifi android device synching
Post by: Steven on July 07, 2019, 02:37:25 PM
@frankz, thanks for sending the stats.xml file
its fine, so corrupted file is not the reason.
Given what you said about the last modified date being a few months old, that leads me to believe it might be a permissioning issue when invoking the generation of that file. I will need to take that up with the GoneMad developer

@Haljeff, could you also confirm whether the last modified date is today/ yesterday ?

Both - what is the device and android version you are using?
Title: Re: Wifi android device synching
Post by: Steven on July 07, 2019, 03:48:32 PM
I have created a debug version for the android app v1.0.1
Its available here:
https://play.google.com/apps/internaltest/4700978781087552506

after running the reverse sync, can you send me the contents of the Error Log (click the action bar button on the right/ Error Log)
Title: Re: Wifi android device synching
Post by: frankz on July 07, 2019, 04:21:43 PM
Thanks, I'm awaiting install of the test version now.

I'm on a Galaxy S8 and the android version on it says 9.
Title: Re: Wifi android device synching
Post by: frankz on July 07, 2019, 04:29:14 PM
Ok I installed the test version and did a preview and got the "need unlocked" error right away. Here's what was in the log.

2019-07-07: SM-G950U;  9;  1.0.1
11:22:48: loadStats: /storage/emulated/0/gmmp/stats.xmlexists
11:22:48: loadStats: before start observer
11:22:48: loadStats: after start observer
11:22:58: loadStats: return null
11:22:58: sendStats: Unable to retrieve stats for player: 1
11:22:58: loadStats: event=32768
Title: Re: Wifi android device synching
Post by: frankz on July 07, 2019, 04:32:45 PM
I have a feeling I was supposed to enable the debugging log after seeing that option, so I tried it again after doing that.  This is probably more what you were looking for:

2019-07-07: SM-G950U;  9;  1.0.1
11:22:48: loadStats: /storage/emulated/0/gmmp/stats.xmlexists
11:22:48: loadStats: before start observer
11:22:48: loadStats: after start observer
11:22:58: loadStats: return null
11:22:58: sendStats: Unable to retrieve stats for player: 1
11:22:58: loadStats: event=32768
11:31:19: startSync: preview=true,iteration=0
11:31:19: command: action=SYNC_START
11:31:19: tryStart: connecting /192.168.1.2, attempt=0
11:31:19: tryStart: connected
11:31:19: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=SM-G950U,2
11:31:19: storage: path=/storage/0000-0000,root=0000-0000:,uri=content://com.android.externalstorage.documents/tree/0000-0000%3A
11:31:19: syncDevice: root=/storage/0000-0000,ignoreErrors=false,playlists=false,ratings=true,playcount=false
11:31:20: syncDevice: command=SendStats
11:31:20: loadStats: /storage/emulated/0/gmmp/stats.xmlexists
11:31:20: loadStats: before start observer
11:31:20: loadStats: after start observer
11:31:30: loadStats: return null
11:31:30: loadStats: event=32768
11:31:30: sendStats: Unable to retrieve stats for player: 1
11:31:31: syncDevice: command=GetFiles
11:31:31: getFiles: Get: Music/,url=/storage/0000-0000/Music/, inc=true
11:31:32: getFiles: count=14962
11:31:32: syncDevice: command=GetFiles
11:31:32: getFiles: Get: Music/Podcasts/,url=/storage/0000-0000/Music/Podcasts/, inc=true
11:31:32: getFiles: count=0
11:31:32: syncDevice: command=GetFiles
11:31:32: getFiles: Get: Playlists/,url=/storage/0000-0000/Playlists/, inc=false
11:31:32: getFiles: count=0
11:31:33: syncDevice: command=ShowPreviewResults
11:31:33: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on July 07, 2019, 04:47:12 PM
thanks. I will need to contact the GoneMad developer for his comments
Title: Re: Wifi android device synching
Post by: Steven on July 07, 2019, 05:24:44 PM
I have sent a message to the developer, but looking at the settings there are a couple of things I can see that might help.

In the GoneMad Settings/ General panel, do you have "Broadcast MetaData" ticked?
And further down, if you click on the Debug Error Log link, does the error log show anything around the sync time?
Title: Re: Wifi android device synching
Post by: frankz on July 07, 2019, 05:32:27 PM
I have sent a message to the developer, but looking at the settings there are a couple of things I can see that might help.

In the GoneMad Settings/ General panel, do you have "Broadcast MetaData" ticked?

I do.  I think I need this for metadata to show in the car.


And further down, if you click on the Debug Error Log link, does the error log show anything around the sync time?

Actually, yes. There are two identical entries that match the two timestamps of my attempted syncs

TrackStatMgr - Illegal character (U+ffff)
Title: Re: Wifi android device synching
Post by: Steven on July 08, 2019, 07:05:38 PM
Actually, yes. There are two identical entries that match the two timestamps of my attempted syncs

TrackStatMgr - Illegal character (U+ffff)
I got a response from the GoneMad developer - he thinks its probably one of your filenames in GoneMad library has an invalid unicode character.
I guess there isnt an easy way to find the offending filename and making some correction - maybe narrow down for files added to GoneMad around the last file modification date of the stats.xml file.
If you do find it, let me know so i can pass the info to the GoneMad developer in case he is willing to put in some handling
Title: Re: Wifi android device synching
Post by: frankz on July 08, 2019, 07:55:26 PM
Actually, yes. There are two identical entries that match the two timestamps of my attempted syncs

TrackStatMgr - Illegal character (U+ffff)
I got a response from the GoneMad developer - he thinks its probably one of your filenames in GoneMad library has an invalid unicode character.
I guess there isnt an easy way to find the offending filename and making some correction - maybe narrow down for files added to GoneMad around the last file modification date of the stats.xml file.
If you do find it, let me know so i can pass the info to the GoneMad developer in case he is willing to put in some handling
I've got files going on and off my phone all the time and it would probably be impossible to find the offending file at this point if it's even still on the phone.

I know that I do have artists with non-ASCII characters in their names, and that I use artist names in my template (Album Artist/Album/Disc-Track  and then the first few characters of the track name), so I'm guessing it's one of those artists creating the problem.

I think I remember that there's not, but is there a way to sanitize the path/filename to only ASCII characters?  Maybe I can think of some alternate template that would prevent duplicate filenames while avoiding artist names in the path entirely.

I'm not very familiar with the file naming rules on Android devices, but how are file names with invalid characters being saved to the phone?  If the character is invalid, wouldn't it fail trying to write the file to the phone with that name in the first place?
Title: Re: Wifi android device synching
Post by: Steven on July 08, 2019, 08:07:54 PM
If I take what the GoneMad developer says at face value, one of the filenames contains the unicode character (U+ffff) which is an invalid unicode character. Other non-ascii characters are fine.
I don't see how Android would allow such a character in the filename so I am bit sceptical about what he said.
Unless he is willing to create a debug version you might be out of luck unless you are prepared to wipe and reload your GoneMad library (maybe starting with a smaller sub-set and building it up)
Title: Re: Wifi android device synching
Post by: frankz on July 08, 2019, 08:16:23 PM
If it's not an easy fix or workaround, I'm good letting it go.  I was prepared to just chalk it up to something weird about my library from the outset until I saw Haljeff's post and thought I might be doing a disservice to the app by letting it go unreported.  But, if it actually is just something about my library that doesn't agree with GMMP or Android in general, that's on me and I'll work it out myself.  You and the GMMP dev have enough to do without worrying about accounting for my issues.

Thanks for looking into it. Hopefully this answers Haljeff's issue too.
Title: Re: Wifi android device synching
Post by: Haljeff on July 08, 2019, 08:28:47 PM
Wiped my Library on my phone, Loaded 10 Tracks, changed a rating and played a song and Sync worked. Going to Load album at time, This Could take a while to find offending filename
Title: Re: Wifi android device synching
Post by: frankz on July 08, 2019, 10:16:42 PM
Wiped my Library on my phone, Loaded 10 Tracks, changed a rating and played a song and Sync worked. Going to Load album at time, This Could take a while to find offending filename
Did you have the same error in your GMMP error log? You may have an unrelated problem.
Title: Re: Wifi android device synching
Post by: Haljeff on July 09, 2019, 01:57:54 AM
It Appears that Musicbranz replaces "-" with "–". After Adding tracks with this character it fails. After search and replace all seems to working correctly.
Title: Re: Wifi android device synching
Post by: Haljeff on July 10, 2019, 10:46:10 AM
It Appears that Musicbranz replaces "-" with "–". After Adding tracks with this character it fails. After search and replace all seems to working correctly.
Tried duplicating fix on my second device without success. It seems something else maybe going on. Have exact same library on phone and tablet. Phone works Tablet doesn't. Not Sure if fix on phone was a fluke or there are more than one issue
Title: Re: Wifi android device synching
Post by: Steven on July 10, 2019, 06:54:13 PM
It Appears that Musicbranz replaces "-" with "–". After Adding tracks with this character it fails. After search and replace all seems to working correctly.
Tried duplicating fix on my second device without success. It seems something else maybe going on. Have exact same library on phone and tablet. Phone works Tablet doesn't. Not Sure if fix on phone was a fluke or there are more than one issue
can you be specific with the error message you see in the GoneMad error log?
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 10, 2019, 07:28:47 PM
I just got a new phone and new SD card, but I'm having problems syncing two tracks to the phone (I had this on my old phone sometimes as well). Every time I sync, it copies those two files and then deletes them right afterwards.
MusicBee 3.3.7115

MusicBee Error Log:
Quote
2019-07-10 10:38:12 AM - Copy D:\Music\Music Library\Odyssey\Alive & Kicking 1980 (2 of 2)\07 Use It Up And Wear It Out (Long).mp3 to SM-G970U1\Card\Music\Odyssey\Alive & Kicking 1980 (2 of 2)\07 Use It Up And Wear It Out (Long).mp3
2019-07-10 10:38:12 AM - Copy D:\Music\Music Library\Eric Himan\All For Show\01 One Night Stands.mp3 to SM-G970U1\Card\Music\Eric Himan\All For Show\01 One Night Stands.mp3


Wifi Sync Debug Log:
Quote
2019-07-10: SM-G970U1;  9;  0.9
10:38:07: startSync: preview=false,iteration=0
10:38:07: command: action=SYNC_START
10:38:07: tryStart: connecting /192.168.1.xx, attempt=0
10:38:07: tryStart: connected
10:38:07: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=SM-G970U1,2
10:38:07: storage: path=/storage/F15E-8225,root=F15E-8225:,uri=content://com.android.externalstorage.documents/tree/F15E-8225%3A
10:38:07: syncDevice: root=/storage/F15E-8225,ignoreErrors=false,playlists=false,ratings=false,playcount=false
10:38:09: syncDevice: command=ShowResults
10:38:10: syncDevice: command=GetFiles
10:38:10: getFiles: Get: Music/,url=/storage/F15E-8225/Music/, inc=true
10:38:11: getFiles: count=13428
10:38:11: syncDevice: command=GetFiles
10:38:11: getFiles: Get: Podcasts/,url=/storage/F15E-8225/Podcasts/, inc=true
10:38:11: getFiles: count=0
10:38:11: syncDevice: command=GetFiles
10:38:11: getFiles: Get: Playlists/,url=/storage/F15E-8225/Playlists/, inc=false
10:38:11: getFiles: count=0
10:38:11: syncDevice: command=ReceiveFile
10:38:11: receiveFile: Receive: Music/Odyssey/Alive & Kicking 1980 (2 of 2)/07 Use It Up And Wear It Out (Long).mp3
10:38:12: syncDevice: command=DeleteFiles
10:38:12: deleteFiles: Delete: Music/Odyssey/Alive & Kicking 1980 (2 of 2)/07 Use It Up And Wear It Out (Long).mp3
10:38:12: syncDevice: command=ReceiveFile
10:38:12: receiveFile: Receive: Music/Eric Himan/All For Show/01 One Night Stands.mp3
10:38:12: syncDevice: command=DeleteFiles
10:38:12: deleteFiles: Delete: Music/Eric Himan/All For Show/01 One Night Stands.mp3

... [playlists syncing correctly]

10:38:13: syncDevice: command=Exit
10:38:13: exitSync: fails=0
10:38:15: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on July 10, 2019, 10:02:39 PM
I just got a new phone and new SD card, but I'm having problems syncing two tracks to the phone (I had this on my old phone sometimes as well). Every time I sync, it copies those two files and then deletes them right afterwards.
MusicBee 3.3.7115
it does that if the copy to the device fails, however i am not clear why the error is not logged on the device side.
To start with could you run this version of musicbee which will log some extra info on the musicbee side:
https://www.mediafire.com/file/tly2lv3qvnk53q9/MusicBeeDebugSync.zip/file
unzip and replace the existing musicbee.exe
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 11, 2019, 12:49:43 AM
Quote
2019-07-10 4:49:02 PM - Copy D:\Music\Music Library\Odyssey\Alive & Kicking 1980 (2 of 2)\07 Use It Up And Wear It Out (Long).mp3 to SM-G970U1\Card\Music\Odyssey\Alive & Kicking 1980 (2 of 2)\07 Use It Up And Wear It Out (Long).mp3
2019-07-10 4:49:02 PM - 10.0.18362.0 - 3.3.7130.39546 - System.ArgumentNullException: Buffer cannot be null.
Parameter name: buffer
   at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
   at System.IO.MemoryStream..ctor(Byte[] buffer)
   at #=z1kw$Q2I5fagnGEYvo9ThOBTL0a_D.#=zaF1xDbcG0flJ(#=zAFNcLg$q8q6FJDZ$0oDUiIN6eMiX #=zUi36UbI=, #=zfrsbaS6Z6o8f8mw32wq_ktI= #=zhmCiLPQ=, #=zTzue99Yc12m3D5fJQw== #=zN3Uu7l93cs6$)
   at #=z1kw$Q2I5fagnGEYvo9ThOBTL0a_D.#=zp7cMDow=(#=zAFNcLg$q8q6FJDZ$0oDUiIN6eMiX #=zUi36UbI=, #=zw7I0qMf5yaqW4I$KVm58Iuo= #=zQqrwyWQ=, #=zTzue99Yc12m3D5fJQw== #=zvpLJDLD_ostL, Boolean #=zRwd5GikeIC1O, List`1 #=zuduLsTkydH3OhvG7yg==)
   at #=zRVrQFUsnRHtcH_96829hTYs=.#=ztRoayWhefKhUdwtCAdx1xNxhE$yz(#=zAFNcLg$q8q6FJDZ$0oDUiIN6eMiX #=zUi36UbI=, #=zw7I0qMf5yaqW4I$KVm58Iuo= #=z5F_oRT4=, #=zTzue99Yc12m3D5fJQw== #=zDJEWjspDb3S$d79kEg==, #=zTzue99Yc12m3D5fJQw== #=z679wGTI=, Boolean #=zwryeYSBxWaSjvLbI_5IJtbo=, Object #=zfRIIzEfLQ4bM)

2019-07-10 4:49:03 PM - Copy D:\Music\Music Library\Eric Himan\All For Show\01 One Night Stands.mp3 to SM-G970U1\Card\Music\Eric Himan\All For Show\01 One Night Stands.mp3
2019-07-10 4:49:03 PM - 10.0.18362.0 - 3.3.7130.39546 - System.ArgumentNullException: Buffer cannot be null.
Parameter name: buffer
   at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
   at System.IO.MemoryStream..ctor(Byte[] buffer)
   at #=z1kw$Q2I5fagnGEYvo9ThOBTL0a_D.#=zaF1xDbcG0flJ(#=zAFNcLg$q8q6FJDZ$0oDUiIN6eMiX #=zUi36UbI=, #=zfrsbaS6Z6o8f8mw32wq_ktI= #=zhmCiLPQ=, #=zTzue99Yc12m3D5fJQw== #=zN3Uu7l93cs6$)
   at #=z1kw$Q2I5fagnGEYvo9ThOBTL0a_D.#=zp7cMDow=(#=zAFNcLg$q8q6FJDZ$0oDUiIN6eMiX #=zUi36UbI=, #=zw7I0qMf5yaqW4I$KVm58Iuo= #=zQqrwyWQ=, #=zTzue99Yc12m3D5fJQw== #=zvpLJDLD_ostL, Boolean #=zRwd5GikeIC1O, List`1 #=zuduLsTkydH3OhvG7yg==)
   at #=zRVrQFUsnRHtcH_96829hTYs=.#=ztRoayWhefKhUdwtCAdx1xNxhE$yz(#=zAFNcLg$q8q6FJDZ$0oDUiIN6eMiX #=zUi36UbI=, #=zw7I0qMf5yaqW4I$KVm58Iuo= #=z5F_oRT4=, #=zTzue99Yc12m3D5fJQw== #=zDJEWjspDb3S$d79kEg==, #=zTzue99Yc12m3D5fJQw== #=z679wGTI=, Boolean #=zwryeYSBxWaSjvLbI_5IJtbo=, Object #=zfRIIzEfLQ4bM)

Title: Re: Wifi android device synching
Post by: Steven on July 11, 2019, 07:49:43 AM
@TeutonJon78,
try this version which should address the issue:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: Haljeff on July 11, 2019, 02:23:16 PM
It Appears that Musicbranz replaces "-" with "–". After Adding tracks with this character it fails. After search and replace all seems to working correctly.
Tried duplicating fix on my second device without success. It seems something else maybe going on. Have exact same library on phone and tablet. Phone works Tablet doesn't. Not Sure if fix on phone was a fluke or there are more than one issue
can you be specific with the error message you see in the GoneMad error log?
GoneMad wasn't logging any errors. Did factory reset on Device reloaed library and after several atemps at sync on fourth or fifth try it starting syncing properly. Thanks for the help. 
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 11, 2019, 05:54:01 PM
@TeutonJon78,
try this version which should address the issue:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

That fixed one of them -- Eric Himan. The Odyssey track is still failing.
Title: Re: Wifi android device synching
Post by: Steven on July 11, 2019, 06:03:41 PM
in that case run this version and send me the new info in the error log
http://www.mediafire.com/file/tly2lv3qvnk53q9/MusicBeeDebugSync.zip/file
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 11, 2019, 06:10:49 PM
in that case run this version and send me the new info in the error log
http://www.mediafire.com/file/tly2lv3qvnk53q9/MusicBeeDebugSync.zip/file

Quote
2019-07-11 10:10:33 AM - Copy D:\Music\Music Library\Odyssey\Alive & Kicking 1980 (2 of 2)\07 Use It Up And Wear It Out (Long).mp3 to SM-G970U1\Card\Music\Odyssey\Alive & Kicking 1980 (2 of 2)\07 Use It Up And Wear It Out (Long).mp3
2019-07-11 10:10:33 AM - 10.0.18362.0 - 3.3.7131.32395 - System.ArgumentNullException: Buffer cannot be null.
Parameter name: buffer
   at System.IO.MemoryStream..ctor(Byte[] buffer, Boolean writable)
   at System.IO.MemoryStream..ctor(Byte[] buffer)
   at #=zR$HPsi3iaMeQ1Wl6Np$qkFWH97qK.#=zfz1VFYtm$7QY(#=zlExCBWDIEwp0z9O_vgD8RULvs0T0 #=zB$nPRe4=, #=zwb_hwenhYPXEPUcG2WQwCUo= #=zwYZM$p0=, #=z6HnZ1kWEuOAZAYzFlQ== #=z1xpxfBXtndX7)
   at #=zR$HPsi3iaMeQ1Wl6Np$qkFWH97qK.#=zS855_8w=(#=zlExCBWDIEwp0z9O_vgD8RULvs0T0 #=zB$nPRe4=, #=z$e1KWX4Y8GAWY9$9SvCEtFU= #=zVdQAJIM=, #=z6HnZ1kWEuOAZAYzFlQ== #=zFbbD$H1G_igM, Boolean #=zZs2esPnVYQs0, List`1 #=zUYlwaZyyD1Gyl04oGg==)
   at #=zOSDPn5bfAAx8tjbDknu_xE4=.#=z8b7otlC_X1CoumQAoq6$xlw6ubk8(#=zlExCBWDIEwp0z9O_vgD8RULvs0T0 #=zB$nPRe4=, #=z$e1KWX4Y8GAWY9$9SvCEtFU= #=zdbJxnhI=, #=z6HnZ1kWEuOAZAYzFlQ== #=zt5QLcH94WFQPI4Udgw==, #=z6HnZ1kWEuOAZAYzFlQ== #=zSj381YQ=, Boolean #=zihK1gYRflH4ZCBBPF4QySvc=, Object #=zHjstKKLDEEVn)

I'm curious is it's just a bug, or if it's some problem with the file/tag.
Title: Re: Wifi android device synching
Post by: Steven on July 11, 2019, 06:25:47 PM
there is an issue with the artwork that was not being handled
this should work now:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 11, 2019, 06:51:17 PM
there is an issue with the artwork that was not being handled
this should work now:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

The file still did not copy. I didn't think either of those files actually had any artwork associated with them, but when I go into the tag editor, the Odyssey file shows up as "Invalid Picture" but the artwork browser in the left column shows it and mouse over tooltip shows it as embedded.

Same for the Eric Himan track, but when I go to the tag's artwork tab, it gives a popup about "The image is corrupted, no longer exists or is inaccessible." And the artwork also still shows in the artwork in column with the mouse over saying it's embedded. There is also a second track by this artist with the same issue, but it sync'ed correctly originally even with the corruption issue.

Also, a feature that might be nice to add to the android app might be deleting empty directories that get left over when items move around.

I'll probably just delete the tags and recreate them to fix it, but I'll leave them until you're done having me debug the sync code.
Title: Re: Wifi android device synching
Post by: Steven on July 11, 2019, 07:12:47 PM
i have re-uploaded: https://getmusicbee.com/patches/MusicBee33_Patched.zip
could you try again and check the error log
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 11, 2019, 07:16:13 PM
i have re-uploaded: https://getmusicbee.com/patches/MusicBee33_Patched.zip
could you try again and check the error log

The error log has no additional entries and the file copied over. Thanks!!

However, that brings me back to a bigger question, is there a way in MB to find these files with corrupt embedded artwork images in any way?
Title: Re: Wifi android device synching
Post by: Steven on July 11, 2019, 07:30:51 PM
However, that brings me back to a bigger question, is there a way in MB to find these files with corrupt embedded artwork images in any way?
afraid not
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 11, 2019, 07:35:35 PM
However, that brings me back to a bigger question, is there a way in MB to find these files with corrupt embedded artwork images in any way?
afraid not

Didn't think so, but since only those two files triggered the error, I hopefully don't have any others. Removing and recreating the tags in MP3tag fixed any of the artwork errors in the desktop version.

As always, thanks for the program and quick debugging.
Title: Re: Wifi android device synching
Post by: frankz on July 14, 2019, 06:24:03 PM
Actually, yes. There are two identical entries that match the two timestamps of my attempted syncs

TrackStatMgr - Illegal character (U+ffff)
I got a response from the GoneMad developer - he thinks its probably one of your filenames in GoneMad library has an invalid unicode character.
I guess there isnt an easy way to find the offending filename and making some correction - maybe narrow down for files added to GoneMad around the last file modification date of the stats.xml file.
If you do find it, let me know so i can pass the info to the GoneMad developer in case he is willing to put in some handling
I just want to give a quick update to this issue. I got the idea to go into GMMP Settings->General->Backup->Backup Stats for some reason. Did it, my stats.xml was updated with today's date, tried Reverse Sync, and no error message anywhere.  I guess the offending character was no longer in my library.

I don't know under what conditions stats.xml is created or updated, but refreshing it solved the problem for me.

@Haljeff, I'd be interested to see if this would solve your issue as well.
Title: Re: Wifi android device synching
Post by: Steven on July 14, 2019, 06:30:07 PM
I don't know under what conditions stats.xml is created or updated, but refreshing it solved the problem for me.
The refresh should be automatically triggered when MB runs the reverse sync. In your case that step was previously failing with that GoneMad error
Title: Re: Wifi android device synching
Post by: SkyZippr on July 18, 2019, 03:59:20 PM
I got stupid and accidentally deleted the data of wifi sync app on my phone, and can't get it to work again.

I've successfully run a wired sync, but when I open the wifi sync app and tap 'Locate Server', it shows 'Server not found'.
I'm pretty sure that the firewall is off, and 'enable Wifi transfer' has been ticked.
Since I can't even get past this initial set up screen, I don't have access to the error log.
Is there any way that I can view the error log? MusicBee on PC has no error log recorded for this.
Title: Re: Wifi android device synching
Post by: Steven on July 18, 2019, 06:43:55 PM
v1.1 on the alpha channel
https://play.google.com/apps/internaltest/4700978781087552506

- the error log can now be viewed via the action bar in the Locate Server activity
Title: Re: Wifi android device synching
Post by: Babydoll32 on July 19, 2019, 06:48:40 AM
Hi. Can it be, that MB does not sync with GMMP 3.0 alpha yet? I get a message, that unlocked version is needed. But unlocked version is installed.
Title: Re: Wifi android device synching
Post by: SkyZippr on July 19, 2019, 01:13:38 PM
Steve, thank you so much. That was really fast.
I just got back from work, started my PC, and installed v1.1 of wifi sync app.
And then, before I even plug my phone to do a wired sync, the wifi sync app located the server.

This is kind of embarrassing, but I'm happy that my problem is gone, at least for now.
I'll be sure to check out the error log in case it happens again.
Title: Re: Wifi android device synching
Post by: Freddy Barker on July 20, 2019, 12:35:29 PM
v1.1 on the alpha channel
https://play.google.com/apps/internaltest/4700978781087552506

- the error log can now be viewed via the action bar in the Locate Server activity

Was having a few intermittent issues with thè 'Server not found' error and this version fixed it!
Freddy
Title: Re: Wifi android device synching
Post by: Steven on July 20, 2019, 02:41:09 PM
v1.1 on the alpha channel
https://play.google.com/apps/internaltest/4700978781087552506

- the error log can now be viewed via the action bar in the Locate Server activity

Was having a few intermittent issues with thè 'Server not found' error and this version fixed it!
Freddy
nothing was changed in that regard
Title: Re: Wifi android device synching
Post by: Freddy Barker on July 20, 2019, 04:39:23 PM
v1.1 on the alpha channel
https://play.google.com/apps/internaltest/4700978781087552506

- the error log can now be viewed via the action bar in the Locate Server activity

Was having a few intermittent issues with thè 'Server not found' error and this version fixed it!
Freddy

FYI - I had to FORCE STOP and uninstall older version and then install v1.1 before all was ok, as just installing new version over old version still displayed the 'Server not found' error.
Hope this helps!
Title: Re: Wifi android device synching
Post by: Babydoll32 on July 23, 2019, 06:38:16 AM
Hi, Steven.
I got 2 questions.
1.) Syncing with GoneMad 3.0 alpha currently not working or am I wrong?
2.) When I rate a song with 0,5 star in GoneMad, MB doesn't sync rating. All other ratings are syncing correctly to MB database, but 0,5 left song unrated within Musicbee. Is it an issue, while syncing or is it only on my own?
Title: Re: Wifi android device synching
Post by: SkyZippr on July 23, 2019, 04:03:42 PM
I think it's best to ask GoneMad developer for the syncing issue.
The latest public release 2.2.21 is syncing without any visible issue for me.
Title: Re: Wifi android device synching
Post by: Babydoll32 on July 23, 2019, 05:38:12 PM
I think it's best to ask GoneMad developer for the syncing issue.
The latest public release 2.2.21 is syncing without any visible issue for me.

Public release also works for me, but with 3.0 alpha MB sync shows an error, that it needs unlocked version, which it is. But 3.0 is interesting, cause it has skip count Implementation.
Title: Re: Wifi android device synching
Post by: Steven on July 23, 2019, 05:40:23 PM
But 3.0 is interesting, cause it has skip count Implementation.
you might ask the developer to include the skip count in the stats file and if he agrees let me know what it will be named as in the file
Title: Re: Wifi android device synching
Post by: Babydoll32 on July 23, 2019, 06:38:31 PM
But 3.0 is interesting, cause it has skip count Implementation.
you might ask the developer to include the skip count in the stats file and if he agrees let me know what it will be named as in the file

I wrote the GoneMad dev. Hope it will be possible.

But whats with the half star rating? Is it a sync issue or a GoneMad thing? Other half star ratings sync correctly e.g. 1.5, 3.5 etc.
Title: Re: Wifi android device synching
Post by: Steven on July 23, 2019, 07:21:01 PM
But whats with the half star rating? Is it a sync issue or a GoneMad thing? Other half star ratings sync correctly e.g. 1.5, 3.5 etc.
no idea
Title: Re: Wifi android device synching
Post by: Babydoll32 on July 23, 2019, 07:25:41 PM
But whats with the half star rating? Is it a sync issue or a GoneMad thing? Other half star ratings sync correctly e.g. 1.5, 3.5 etc.
no idea

Now it worked with another song. My fault maybe. GoneMad dev will contact you for implement of skip count!
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 25, 2019, 06:47:57 PM
A question/idea about the sync:

1) features request for desktop -- a way to watch the progress from there like you would with the wired sync

2) question: I had everything synced and when I would start a sync, only the changes would be send down. But yesterday when I went to sync, it seems to want to resync the whole library again. The only two operations I did on the desktop was rescan the library to make sure it picked up some tag changes and change the autoorganization rules (which only affected like 200/14k files). Do either of these cause the program to lose the previously synced status? It seems like neither should, but something did.
Title: Re: Wifi android device synching
Post by: Steven on July 25, 2019, 07:35:29 PM
for 2, i dont think either of those things would affect all files ie. only the files rescanned.
Its just the last modified date of the file compared to the date modified on the device or if the target filename changed due to file naming tags changing
Title: Re: Wifi android device synching
Post by: phred on July 25, 2019, 09:11:06 PM
1) features request for desktop -- a way to watch the progress from there like you would with the wired sync
Isn't there a percentage showing in the status bar on a wifi sync? I seem to recall that there is.
Title: Re: Wifi android device synching
Post by: TeutonJon78 on July 25, 2019, 10:35:03 PM
for 2, i dont think either of those things would affect all files ie. only the files rescanned.
Its just the last modified date of the file compared to the date modified on the device or if the target filename changed due to file naming tags changing

Weird, I changed some things, but definitely not that much that it's trying to sync again.

1) features request for desktop -- a way to watch the progress from there like you would with the wired sync
Isn't there a percentage showing in the status bar on a wifi sync? I seem to recall that there is.

Yes there is, but you can't see what songs are transferring on the computer like you can on the phone. It can be nice to see if it's still actually transferring or if it got stalled on something. It's a minor concern.
Title: Re: Wifi android device synching
Post by: frankz on July 25, 2019, 10:41:32 PM
Yes there is, but you can't see what songs are transferring on the computer like you can on the phone. It can be nice to see if it's still actually transferring or if it got stalled on something. It's a minor concern.
Since we're down this road, I'm always a fan of more data.  A summary of X files deleted, X files sent, X files updated (or any other related information) would be welcome, too.  It's not critical, but I like knowing those things.
Title: Re: Wifi android device synching
Post by: Joker73R on July 26, 2019, 10:41:42 AM
On Android 9 I can't run a WiFi sync even though I've ran before a wired one, MusicBee is allowed to run over Microsoft Firewall and I've set everything up on the program settings. Also, I've tried to clear cache and data from the app but this doesn't solve anything. Any solution? It worked fine on an older phone running Oreo 8.1.
Title: Re: Wifi android device synching
Post by: SkyZippr on July 26, 2019, 02:25:04 PM
My wifi sync is doing fine on Android 9.
I suspect you are having a "Server not found" issue, is that the case?
Title: Re: Wifi android device synching
Post by: Joker73R on July 26, 2019, 02:51:47 PM
My wifi sync is doing fine on Android 9.
I suspect you are having a "Server not found" issue, is that the case?

Yes. But I've done the wired sync as the first step and opened the firewall and clicked on "allow Wifi sync" on MusicBee settings.
Title: Re: Wifi android device synching
Post by: SkyZippr on July 26, 2019, 04:30:42 PM
Joker73R, have you tried this?

v1.1 on the alpha channel
https://play.google.com/apps/internaltest/4700978781087552506

- the error log can now be viewed via the action bar in the Locate Server activity

Was having a few intermittent issues with thè 'Server not found' error and this version fixed it!
Freddy

FYI - I had to FORCE STOP and uninstall older version and then install v1.1 before all was ok, as just installing new version over old version still displayed the 'Server not found' error.
Hope this helps!
Title: Re: Wifi android device synching
Post by: Joker73R on July 26, 2019, 05:00:04 PM
Joker73R, have you tried this?

v1.1 on the alpha channel
https://play.google.com/apps/internaltest/4700978781087552506

- the error log can now be viewed via the action bar in the Locate Server activity

Was having a few intermittent issues with thè 'Server not found' error and this version fixed it!
Freddy

FYI - I had to FORCE STOP and uninstall older version and then install v1.1 before all was ok, as just installing new version over old version still displayed the 'Server not found' error.
Hope this helps!

I'm unable to sign up for the alpha version. It says I haven't received any invitation at all.
Title: Re: Wifi android device synching
Post by: phred on July 26, 2019, 05:43:35 PM
I'm unable to sign up for the alpha version. It says I haven't received any invitation at all.
You need to PM Steven with your gmail address.
Title: Re: Wifi android device synching
Post by: Joker73R on July 26, 2019, 05:47:45 PM
I'm unable to sign up for the alpha version. It says I haven't received any invitation at all.
You need to PM Steven with your gmail address.

Done, thanks!
Title: Re: Wifi android device synching
Post by: Joker73R on July 26, 2019, 06:21:50 PM
After testing 1.1.2 alpha version I still get this screen when trying to sync with MusicBee on Windows via WiFi.

(https://i.imgur.com/cCUnZ5h.jpg)

And I get this error log:

(https://i.imgur.com/34D3KOY.jpg)
Title: Re: Wifi android device synching
Post by: phred on July 26, 2019, 06:55:11 PM
This is probably the problem. In the second and fourth lines of your error log screen shot, the IP is showing as "192.168.1." You're missing a complete IP. There should be a fourth group of numbers at the end.
Title: Re: Wifi android device synching
Post by: Joker73R on July 26, 2019, 07:46:46 PM
This is probably the problem. In the second and fourth lines of your error log screen shot, the IP is showing as "192.168.1." You're missing a complete IP. There should be a fourth group of numbers at the end.

That's weird because I didn't change anything neither on the program nor the app. Is there anything I can do to solve this issue?
Title: Re: Wifi android device synching
Post by: StephDesire on July 26, 2019, 09:04:58 PM
Hi Steven,

I have a Fiio M6 with the last update, I'm happy to freshly use Poweramp but I need so much the reverse syncing for the playcounts.

Can you create for me and for every Fiio users a custom version of your app with a different package name (pick a name of this white list : https://www.fiio.com/newsinfo/275335.html)?

This is the only way for us to test your app..

Thanks in advance.


Stéphane
Title: Re: Wifi android device synching
Post by: Steven on July 26, 2019, 09:36:55 PM
This is probably the problem. In the second and fourth lines of your error log screen shot, the IP is showing as "192.168.1." You're missing a complete IP. There should be a fourth group of numbers at the end.

That's weird because I didn't change anything neither on the program nor the app. Is there anything I can do to solve this issue?
No, that looks ok - its searching the 192.168.1 subnet.
So there are no errors logged. Is your computer on the same subnet?
If you search this thread, i recall someone saying they had to switch off one of the bands on a dual-band wifi for it to work. Also check psychoadept's posts as he also had some weird windows behaviour that needed to be corrected
Title: Re: Wifi android device synching
Post by: phred on July 26, 2019, 10:59:33 PM
I have a Fiio M6 with the last update, I'm happy to freshly use Poweramp but I need so much the reverse syncing for the playcounts.

Can you create for me and for every Fiio users a custom version of your app with a different package name (pick a name of this white list : https://www.fiio.com/newsinfo/275335.html)?
Your link goes to a 404 error and then to a generic FiiO home page.

If the M6 is a DAP that has an Android mode and WiFi then you should be able to test MB and its WiFi sync right now. That's what I did with my X5.

And do you realize MB is a one-person operation? And Steven is that one person, who works on MB as a hobby in his spare time, for no financial compensation. I don't speak for Steven, but personally I think it's rather rude to ask him to create a special version. Especially for what is likely a very small number of users.
Title: Re: Wifi android device synching
Post by: SkyZippr on July 27, 2019, 01:18:17 AM
Fiio M series run a highly customized version of Android and does not come with Play Store. Only the apps in the whitelist can be installed.
I'm surprised to see Poweramp in the list btw.

StephDesire, if I remember correctly, some people managed to install apps that are not whitelisted by manually renaming the apk.
You may have to do a little googling to find out the exact way to do so.
Title: Re: Wifi android device synching
Post by: StephDesire on July 27, 2019, 02:49:40 AM
I didn't want to be rude and I do realize his work, 2 months ago I didn't know anything about MusicBee and I think this is absolutely amazing, it's worth millions to my eyes.

I would like to see a team with him, it could be amazing as a start up that develops modern software and hardware.


Yes I already install apps by renaming myself the package name, but I'm not a developer and mostly it doesn't work for different reasons, but I will definitely test for his app.

Thanks for your feedback, I excepted simply "no"
Title: Re: Wifi android device synching
Post by: Joker73R on July 27, 2019, 08:04:43 AM
This is probably the problem. In the second and fourth lines of your error log screen shot, the IP is showing as "192.168.1." You're missing a complete IP. There should be a fourth group of numbers at the end.

That's weird because I didn't change anything neither on the program nor the app. Is there anything I can do to solve this issue?
No, that looks ok - its searching the 192.168.1 subnet.
So there are no errors logged. Is your computer on the same subnet?
If you search this thread, i recall someone saying they had to switch off one of the bands on a dual-band wifi for it to work. Also check psychoadept's posts as he also had some weird windows behaviour that needed to be corrected

Nothing has changed neither on my WiFi network, nor on my firewall, nor on my music library, nor on my MusicBee settings. The only thing that changed is that I've swtiched to an OnePlus 6T with Android 9 phone from a 8.1 one and, even though I follow the steps on the app (first run a wired wync), I still get this error.
Title: Re: Wifi android device synching
Post by: Steven on July 27, 2019, 08:43:05 AM
Nothing has changed neither on my WiFi network, nor on my firewall, nor on my music library, nor on my MusicBee settings. The only thing that changed is that I've swtiched to an OnePlus 6T with Android 9 phone from a 8.1 one and, even though I follow the steps on the app (first run a wired wync), I still get this error.
I wont be able to help further. I use Android 9 myself, so its not directly to do with that
Title: Re: Wifi android device synching
Post by: Joker73R on July 27, 2019, 12:02:37 PM
Nothing has changed neither on my WiFi network, nor on my firewall, nor on my music library, nor on my MusicBee settings. The only thing that changed is that I've swtiched to an OnePlus 6T with Android 9 phone from a 8.1 one and, even though I follow the steps on the app (first run a wired wync), I still get this error.
I wont be able to help further. I use Android 9 myself, so its not directly to do with that

Finally I solved it by deleting the program from the firewall and adding it back again. Thanks for the patience.
Title: Re: Wifi android device synching
Post by: JCS on July 29, 2019, 12:14:40 AM
Hi,
Thanks for MB and for this wi-fy sync feature.
When trying "Locate Server" I get the message: Music Bee can't match the device name to an existing configuration. Enter the device name that is displayed in MusicBee:"
Issue being that I can't see the device in MusicBee... (Android HTC 10 device) :(
Would you be so nice as ti try to help me with this, please?
TY
Title: Re: Wifi android device synching
Post by: phred on July 29, 2019, 04:32:51 AM

When trying "Locate Server" I get the message: Music Bee can't match the device name to an existing configuration. Enter the device name that is displayed in MusicBee:"
Have you tried a wired sync first per Steven's instructions? You shouldn't need to actually do the sync - just the preview. But wired. Once the preview is finished, try the WiFi sync.
Title: Re: Wifi android device synching
Post by: phoresy on July 30, 2019, 06:28:23 AM
I signed up as a beta tester and have been testing Wifi syncing with MusicBee and GoneMad. Last week I had syncing working well. I did the initial sync and was able to test changes from MusicBee to GoneMad successfully.

Today I cannot get the WIFI app working, I am getting the following error message:

Server not found. Ensure MusicBee is running and Window firewall is not blocking MusicBee.

1. I have turned windows firewall off to troubleshoot.
2. I have verified 'Enable Wifi transfer with Android devices' is still checked in settings.
3. Both the phone and computer are on the same SSID and subnet. Nothing has changed network wise:
    gateway 192.168.1.1
    computer: 192.168.1.10
    phone: 192.168.1.11

I am using the following:
- Android App: MusicBee Wifi Sync version 0.9 from the play store, June 20, 2019
- Windows App: MusicBee 3.3.7141 P
- Phone: Samsung Galaxy S9+
- Phone Software: Android 9, Security patch level: July 1, 2019

The only difference I can think of is that the phone got the latest Android July 1 patch last night. I have not been able to get the app working since then. The error comes up even before I can press the Preview or Sync Now buttons.

I am also using the MusicBee Remote app which has always worked well and continues to work after the Android software update.
Title: Re: Wifi android device synching
Post by: phred on July 30, 2019, 10:51:18 AM
- Android App: MusicBee Wifi Sync version 0.9 from the play store, June 20, 2019
Current version is at least 1.1
Steven has made some fixes which may include your issue.
Title: Re: Wifi android device synching
Post by: phoresy on July 30, 2019, 05:25:18 PM
How can I get the latest version? I used the link from this post:

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

and the webpage says:

Welcome to the testing program.
You are a tester.

but 0.9 is the only version I get from the playstore. I tried uninstalling and reinstalling a few times.
Title: Re: Wifi android device synching
Post by: Steven on July 30, 2019, 05:49:52 PM
0.9 on the beta is the same as 1.0 on the production. There is a more recent version on the alpha channel that includes some extra error logging but you would need to send me your gmail store account

But first try clearing the application data for the app and re-running it
Title: Re: Wifi android device synching
Post by: Babydoll32 on July 30, 2019, 06:24:00 PM
I signed up as a beta tester and have been testing Wifi syncing with MusicBee and GoneMad. Last week I had syncing working well. I did the initial sync and was able to test changes from MusicBee to GoneMad successfully.

Today I cannot get the WIFI app working, I am getting the following error message:

Server not found. Ensure MusicBee is running and Window firewall is not blocking MusicBee.

Take a look at your Wi-Fi settings. Maybe one device is running with 2,4GHz and other device with 5GHz. I think I remember, that another user had this issue. And I mean, that I had same problem a few weeks before. Try to set both devices to 2,4 or 5GHz.
Title: Re: Wifi android device synching
Post by: phoresy on July 30, 2019, 09:33:08 PM
Okay, I followed Steven's advice. I cleared the application data for the app and re-ran the app and this worked. One thing I just learned- uninstalling an Android app doesn't appear to clear the all app data. I thought uninstalling an Android app deleted all associated data. Before this, I uninstalled and reinstalled a few times and noticed that the error log still had entries from last week even after uninstalling and reinstalling.

So I think what happened is my WIFI router is a DHCP server and is configured for 1 week leases (I don't have access to it but this is my guess). The IP address on either the phone or computer changed but perhaps the app was still looking for the old address? When I looked at the old log there were entries referencing the old address of 192.168.1.13 and the current computer address was 192.168.1.10. Clearing the data worked.

Next, I tried a Reverse Sync to computer. Here is the test:

1. I rated a track in GoneMad.
2. I exported a stats.xml file using the 'Backup Stats function' (going to : gmmp\stats.xml).
3. I opened the stats.xml file on my computer and verified that the song I rated is there:

<File>
<Uri>/storage/9C33-6BBD/.../Song.mp3</Uri>
<Rating>1.0</Rating>
<Playcount>0</Playcount>
<LastPlayed>0</LastPlayed>
<DateAdded>1563758947089</DateAdded>
</File>
4. I verified that MusicBee does not have this track rated in the database.

Result: It takes a while as it scans though the files but it returns "No changes detected".

Looking in the wifi sync log, I can see it setting up the paths correctly, it counts the correct number of files, communicates with the server, ratings=true, etc. I don't see any errors.

On the other hand, when I do the reverse test- 'Sync from computer' it is very reliable and seems to always work as expected, all tracks that were rated or played in MusicBee are copied over to the phone. I have tested this several times and it always seems to work.

Is the Reverse Sync to computer working yet? This last function is like the holy grail for me. I have been missing this feature since I abandoned itunes and my 3rd gen ipod 8 years ago. This is an exciting project. Thank you Steven for your awesome software development efforts.
Title: Re: Wifi android device synching
Post by: Steven on July 30, 2019, 09:54:08 PM
The app does automatically re-attempt locating the musicbee computer if it fails. There is something odd going on with android upgrades as i once had the same issue and could only solve by clearing the app data.

see my notes earlier in the thread re: handling for the initial reverse sync
Title: Re: Wifi android device synching
Post by: phoresy on July 31, 2019, 12:58:44 AM
Quote
see my notes earlier in the thread re: handling for the initial reverse sync

I think the initial sync might be done because I am able to successfully sync the playcounts back to musicbee. The error log has the correct number of tracks and I do not see any errors in the log or when I click preview. For example I can do this:

1. Play a track in MusicBee
2. In MusicBee Wifi Sync, I select playcounts from GoneMad.
3. If I click Preview it detects the track I just played- "Update Playcount +1 play, last played -> 7/30/2019".
4. Click Sync Now and I get "MusicBee syncronization successfully completed".
5. In MusicBee I can confirm that playcount value has been updated.
6. If I go back and click Preview again it tells me - No changes detected which would be correct.

Does this test indicate that my initial reverse sync is setup correctly? If so then then I will try to repeat my test to reverse the ratings.
Title: Re: Wifi android device synching
Post by: TeutonJon78 on August 01, 2019, 06:23:40 AM
0.9 on the beta is the same as 1.0 on the production. There is a more recent version on the alpha channel that includes some extra error logging but you would need to send me your gmail store account

But first try clearing the application data for the app and re-running it

So, the beta channel is running an older version than the released channel and the alpha channel is running a new one?
Title: Re: Wifi android device synching
Post by: JCS on August 01, 2019, 09:02:48 PM

When trying "Locate Server" I get the message: Music Bee can't match the device name to an existing configuration. Enter the device name that is displayed in MusicBee:"
Have you tried a wired sync first per Steven's instructions? You shouldn't need to actually do the sync - just the preview. But wired. Once the preview is finished, try the WiFi sync.

Thank you for your help.
I'm not quite sure what I was missing but have just repeated the sequence and it worked out fine.

Title: Re: Wifi android device synching
Post by: phred on August 02, 2019, 03:09:37 AM
I'm not quite sure what I was missing but have just repeated the sequence and it worked out fine.
Glad to hear you've got it working.
Title: Re: Wifi android device synching
Post by: phred on August 04, 2019, 11:04:46 PM
@Steven...

Since I made a good number of changes to my tracks, I decided to wipe my 512gb card clean and do a wired sync.

According to the sync window, at file 766 of 28,189 the sync halted with this notation in the status bar of MB:
(http://i.imgur.com/e3i0SErl.jpg) (https://i.imgur.com/e3i0SEr.jpg)
In case the image is difficult to read, "Synchronization has temporarily stalled for 2-5 minutes while the device processes current file operations. For the next sync, moving the Playlists folder to Music\Playlist in the setting tab will help."

I've always had the Playlists folder off the root of the card. Same as I have always had the Music folder at the root of the card.
This message implies I should change it to Music\Playlists. Does this really make a difference?

Meanwhile the sync has not restarted after 15 minutes.
Title: Re: Wifi android device synching
Post by: phred on August 05, 2019, 01:33:46 PM
Update to previous issue...

I moved the Playlists directory to be a sub of Music and ran into the same error. I finally pulled the card from the phone and performed a sync directly to the card in the PC.

The card is now back in the V20 and when I add one track to my library, the preview shows that all all 28k tracks need to be copied, which simply isn't correct. I really don't want to have to pull the card every time I need to sync.

Suggestions?
Title: Re: Wifi android device synching
Post by: Steven on August 05, 2019, 06:00:30 PM
Its an informational message not an error - for wired sync there isnt anything i can do about the stalling and i might change the message about moving the playlists as i later found it doesnt really make any difference
If 28K tracks need to be copied that probably means the file date/time was not set by your other copy method.
Wifi Sync shouldnt have the stalling issue
Title: Re: Wifi android device synching
Post by: phred on August 05, 2019, 07:56:48 PM
Its an informational message not an error - for wired sync there isnt anything i can do about the stalling and i might change the message about moving the playlists as i later found it doesnt really make any difference
If 28K tracks need to be copied that probably means the file date/time was not set by your other copy method.
Wifi Sync shouldnt have the stalling issue
Thanks Steven. I did reluctantly moved the Playlists folder to be under Music, and after a sync directly to the card in the PC, it completed successfully. I put the card back in the phone and a wired preview showed only the playlists, which was correct. I added a CD, did a WiFi sync and everything appears to be working as expected.

I think changing the informational message is a good idea. And maybe not making it red. The red made me think it was a BIG error.
Title: Re: Wifi android device synching
Post by: Steven on August 11, 2019, 09:27:32 AM
for the record, there was a bug with wired sync when switching between internal memory and an sd card in the device settings wasnt being immediately recognised ie. you would have needed to restart MB for the switch to take effect, and could be one reason people saw unexpected resync of files.
Thats fixed in the patch version and i will update the pending full release build later
Title: Re: Wifi android device synching
Post by: Cloudrider on August 20, 2019, 02:29:18 PM
Hi Steve,

Apologies if this is answered elsewhere, I couldn't find anything.
I created a new playlist on my Android and hoped to do a reverse wifi sync to my PC, of that Playlist, but the option is greyed out. Can you advise please?

Cracking software btw. Really brilliant  ;)

Nige
Title: Re: Wifi android device synching
Post by: phred on August 20, 2019, 09:23:40 PM
I created a new playlist on my Android and hoped to do a reverse wifi sync to my PC, of that Playlist, but the option is greyed out. Can you advise please?
Have you been able to reverse sync before?
Have you done a wired sync first?
Version of MB please? Version of WiFi Sync app please?
Are you using PowerAmp or GoneMad on the Android? Those are It is the only two apps app that can reverse sync playlists with MB.

See Steven's comments below.
Title: Re: Wifi android device synching
Post by: Steven on August 20, 2019, 09:34:09 PM
for reverse playlist sync, only GoneMad is supported
Title: Re: Wifi android device synching
Post by: phred on August 20, 2019, 10:01:36 PM
for reverse playlist sync, only GoneMad is supported
Thanks for the correction, Steven. I have corrected my initial statement.
Title: Re: Wifi android device synching
Post by: Steven on August 20, 2019, 10:03:46 PM
you were mostly right the first time - the app can also reverse sync ratings and playcounts from PowerAmp, but not playlists
For Gonemad all are supported
Title: Re: Wifi android device synching
Post by: SkyZippr on August 21, 2019, 01:12:08 PM
The app does automatically re-attempt locating the musicbee computer if it fails. There is something odd going on with android upgrades as i once had the same issue and could only solve by clearing the app data.

see my notes earlier in the thread re: handling for the initial reverse sync

Hi Steve, I'm afraid that I'm running into this issue again. I used to set my PC on static IP and the Wifi sync ran with no problem, but today it seems someone in the mansion occupied that IP by DHCP. So I had to set my PC to DHCP as well in order to get internet connection. Then Wifi app started to display "Server not found" error again.
I know that clearing the app data might solve the issue, but before doing so I need to check one thing: is it normal that no error log is recorded for this occasion?

Also, I'm ashamed to say that I couldn't find your "notes earlier in the thread re: handling for the initial reverse sync". Can you point me where it is, if it's related to the issue I'm having?
Title: Re: Wifi android device synching
Post by: Babydoll32 on August 24, 2019, 10:59:26 AM
Hi, Steven. I don't want to annoy you, but anything new bout syncing with GoneMad 3 and skip count?
Title: Re: Wifi android device synching
Post by: phred on August 24, 2019, 01:14:51 PM
Hi, Steven. I don't want to annoy you, but anything new bout syncing with GoneMad 3 and skip count?
GMMP isn't even out of Alpha at this point. Which I'm sure you know. So I wouldn't expect Steven to do anything about it until it is closer to a real release. Besides, Steven is currently working on MB 3.4, which I would think has a higher priority due to a larger number of users.
Title: Re: Wifi android device synching
Post by: tanstaafl on August 26, 2019, 12:19:55 AM
I upgraded to from MB 3.3.7162 MB 3.3.7165 and now I can't WiFi sync it all. The Android app tells me it can't find the MB server. WiFi sync is enabled in MB preferences. I rebooted my PC, rebooted my phone, disabled my firewall. I did a manual USB sync. The Android app cannot locate the server.
Title: Re: Wifi android device synching
Post by: phred on August 26, 2019, 01:14:00 AM
If you go back to .7162 does the sync work?
Title: Re: Wifi android device synching
Post by: tanstaafl on August 26, 2019, 01:34:11 AM
If you go back to .7162 does the sync work?

How do I do that?
Title: Re: Wifi android device synching
Post by: phred on August 26, 2019, 02:38:34 AM
How did you update from .7162 to .7165?

You would get the patch that contains .7162 and unzip it and overwrite the existing files. If there's no change you can either leave it or update to the current patch.

I try to keep an archive of every patch I download and I just checked - and I don't have .7162, so I guess you can't try it. Sorry.
Title: Re: Wifi android device synching
Post by: tanstaafl on August 26, 2019, 02:52:37 AM
I downloaded 3.3.7162 installer a week or so ago, and then the 3.3.7165 installer this weekend, from the download page.

If there any way to diagnose the problem? All I get is "Server not found. Ensure MusicBee is running and Windows firewall is not blocking MusicBee" from the Android app.

Hmmm. It just dawned on me to try nuking all data for the MusicBee app (not just cache). That seems to have made it connect again.

It didn't fix the problem of being unable to reverse-sync from GMMP (see my other thread).
Title: Re: Wifi android device synching
Post by: phred on August 26, 2019, 12:28:24 PM
If there any way to diagnose the problem? All I get is "Server not found. Ensure MusicBee is running and Windows firewall is not blocking MusicBee" from the Android app.
This issue has come up before, so I suggest reading this current thread - probably go back about 15 pages or so - and if you can't find it search the entire forum using the term "server not found"
Title: Re: Wifi android device synching
Post by: viktorrko on September 05, 2019, 01:20:50 PM
Really nice feature, I personally use BlackPlayerEX with it's custom library.
Title: Re: Wifi android device synching
Post by: christmw2503 on September 06, 2019, 09:47:28 AM
I upgraded to from MB 3.3.7162 MB 3.3.7165 and now I can't WiFi sync it all. The Android app tells me it can't find the MB server. WiFi sync is enabled in MB preferences. I rebooted my PC, rebooted my phone, disabled my firewall. I did a manual USB sync. The Android app cannot locate the server.

I'm having a similar issue. I'm on 7162. I'm suspecting a firewall related issue.
I'm using a temporary fix by: 1. Saving Musicbee snapshot. 2. Uninstall Musicbee (on PC). 3. Reset the Android sync app 4. Reinstall Musicbee and do wired sync using cable (Not necessary to finish the sync). 5. Go to settings/device and enable wifi sync. 6. Reboot the PC 7. Upon reboot, Windows firewall will prompt you to add Musicbee. 8. Do a wifi sync with the Android app. Syncing should now work. 9. Now restore the snapshot and do another sync and it'll still work.
Title: Re: Wifi android device synching
Post by: Steven on September 07, 2019, 10:36:14 AM
I believe clearing the app settings can also solve this type of issue, but I have no idea why it would matter
Title: Re: Wifi android device synching
Post by: chrisdivine on September 10, 2019, 08:24:58 AM
I have troubles with the app, too, when I try to re-setup the connection after a crash. Please tell me how to clean and complete deinstall the app! ThanX!!
Title: Re: Wifi android device synching
Post by: phred on September 10, 2019, 11:31:15 AM
From your device's setttings go to apps then MB then clear data then uninstall
Title: Re: Wifi android device synching
Post by: chrisdivine on September 10, 2019, 04:37:27 PM
From your device's setttings go to apps then MB then clear data then uninstall
phred, thanks, I did so. But after reinstalling I didn´t get the "Locate Server" message and every attempt to sync failed.
Title: Re: Wifi android device synching
Post by: Steven on September 10, 2019, 05:54:11 PM
if you dont see the Locate button then the app settings were not cleared
Title: Re: Wifi android device synching
Post by: Babydoll32 on September 14, 2019, 10:58:21 AM
Hi Steven,
I got a little issue. Not a big thing, but maybe interesting. Yesterday or day before, I don't know exactly, I listened to a song. After syncing, last played shows year 1972. But I don't believe that I listened in 1972  ;D It's the second time, that this happened. Happened a few weeks before with another song. Stats.xml shows <LastPlayed>1568399940373</LastPlayed>.

(https://i.ibb.co/c3sGFFr/001.jpg)
Title: Re: Wifi android device synching
Post by: Babydoll32 on September 17, 2019, 12:15:14 PM
Got another one with wrong date. Played today.
(https://i.ibb.co/3rxVQcp/002.jpg)
Title: Re: Wifi android device synching
Post by: Freddy Barker on September 17, 2019, 01:05:35 PM
Got another one with wrong date. Played today.
https://i.ibb.co/3rxVQcp/002.jpg

That is odd!?
That is the date that computer chip clocks start from when calculating the current date and time.
Can't see it being an issue with MB as it must get that info from your PC's system clock...

However, from you previous post

<LastPlayed>1568399940373</LastPlayed>.

...is the number of seconds since 1st Jan 1970 and, when you played that track.

Regards: Freddy
Title: Re: Wifi android device synching
Post by: Babydoll32 on September 17, 2019, 01:16:45 PM
Got another one with wrong date. Played today.
https://i.ibb.co/3rxVQcp/002.jpg

That is the date that computer chip clocks start from when calculating the current date and time.
Can't see it being an issue with MB as it must get that info from your PC's system clock...


Thanks for answer. Any Idea how to fix it?
Title: Re: Wifi android device synching
Post by: Freddy Barker on September 17, 2019, 01:31:39 PM
Thanks for answer. Any Idea how to fix it?

Probably best to see if it's something Steven needs to look at later, as may want to do test(s).
Freddy
Title: Re: Wifi android device synching
Post by: Steven on September 17, 2019, 03:19:22 PM
The number is 1000 x too large ie. it appears to be milliseconds rather than seconds. I suggest you check with the GoneMad developer if he has changed anything intentionally
Title: Re: Wifi android device synching
Post by: SkyZippr on September 17, 2019, 11:12:52 PM
My GoneMad is working fine. Which version are you using?
Title: Re: Wifi android device synching
Post by: Babydoll32 on September 18, 2019, 08:02:41 AM
My GoneMad is working fine. Which version are you using?

Mine works also fine, but from time to time, some songs have wrong last played date.
I'm using GoneMad 2.2.21.
Title: Re: Wifi android device synching
Post by: Babydoll32 on September 18, 2019, 02:59:51 PM
The number is 1000 x too large ie. it appears to be milliseconds rather than seconds. I suggest you check with the GoneMad developer if he has changed anything intentionally

Hi Steven.
Did it and get this answer by GoneMad dev.

Quote
That date is the equivalent to 0 in "computer time" which is the default value in gmmp for songs not ever played. Musicbee should be ignoring 0s for last played when syncing

edit: looking further, when updating the last played time its using the current time

values.put(DBConstants.TRACK_LAST_PLAYED, new Date().getTime());
The other call that updates the field in the database wont update it back to 0 either:

if (lastPlayed != 0)
    values.put(DBConstants.TRACK_LAST_PLAYED, lastPlayed);
So the only way it could be 0 in the database would be if was never played. I dont speak what appears to be german, so i dont know all the fields in that screenshot.. but im guessing the column with all the 1s is playcount? I guess theoretically the playcount could have been synced back to gmmp with a 0 last played, so the restore updated the playcount but not the last played.

If you can find a way to reproduce this i can certainly look into it more
Title: Re: Wifi android device synching
Post by: Steven on September 18, 2019, 06:13:16 PM
what does any of this have to do with:
The number is 1000 x too large ie. it appears to be milliseconds rather than seconds. I suggest you check with the GoneMad developer if he has changed anything intentionally
the example you provided from the GoneMad stats.xml <LastPlayed>1568399940373</LastPlayed> must be milliseconds and not seconds ie. if its divided by 1000 a sensible date is derived. Normally the GoneMad values are expressed as seconds. Because the value is in milliseconds it is overflowing when converted to a windows date/time so you get stupid values for the date
Title: Re: Wifi android device synching
Post by: Babydoll32 on September 20, 2019, 08:05:53 AM
Normally the GoneMad values are expressed as seconds. Because the value is in milliseconds it is overflowing when converted to a windows date/time so you get stupid values for the date

That's what GoneMad dev wrote Back:
Quote
correct, gmmp stores anything time related in milliseconds since that works best with the java Date class:

https://docs.oracle.com/javase/8/docs/api/java/util/Date.html#Date-long-

https://docs.oracle.com/javase/8/docs/api/java/util/Date.html#setTime-long-

https://docs.oracle.com/javase/8/docs/api/java/util/Date.html#getTime--

edit: lastPlayed, dateAdded, and dateUpdated(gmmp 3.0 alpha) are all in milliseconds. I think thats the only time related fields that backup/restore deal with
Title: Re: Wifi android device synching
Post by: Steven on September 20, 2019, 08:22:26 AM
the point is usually the timestamps are expressed as seconds from 1970 but in some cases they are being expressed as milliseconds from 1970
Title: Re: Wifi android device synching
Post by: Babydoll32 on September 20, 2019, 08:55:06 AM
the point is usually the timestamps are expressed as seconds from 1970 but in some cases they are being expressed as milliseconds from 1970

Yes. Seems so. But not a big thing, like I said, as long as playcount syncs correctly. Thanks for good work!
Title: Re: Wifi android device synching
Post by: vpsaxman on September 25, 2019, 05:02:50 AM
I'm getting some "Files not matched in MusicBee. Playcount not changed" errors when I try sync them from within the Android app recently.


- MusicBee version 3.3.7165
- MusicBee Wifi Sync version 0.9
- Android 10 on a Pixel 3
- Poweramp version 3 Build 841

I've tried deleting the Android app and re-synching to no avail. How can I further investigate what's causing the issue? Thanks!
Title: Re: Wifi android device synching
Post by: splatt on October 19, 2019, 05:11:52 AM
I'm not sure if it's too late to say this, or if this is still the right place but I know that there's a number of people using an Android app called Black Player (and Black Player Ex) by FifthSource that use musicbee on their computers -- enough that the developers have been trying to make changes to the playlist formats to make syncing easier for musicbee.

Also, BlackPlayer has a free version, whereas the current options seem to only have free trials. (Not trying to say we shouldn't pay for apps, but it seemed like it might be something to consider).
Title: Re: Wifi android device synching
Post by: Phil Lloyd on November 20, 2019, 03:33:38 AM
I'm getting some "Files not matched in MusicBee. Playcount not changed" errors when I try sync them from within the Android app recently.


- MusicBee version 3.3.7165
- MusicBee Wifi Sync version 0.9
- Android 10 on a Pixel 3
- Poweramp version 3 Build 841

I've tried deleting the Android app and re-synching to no avail. How can I further investigate what's causing the issue? Thanks!

I got the error warnings, but the files are there ok - have not checked the actual playcounts.

- MusicBee version 3.3.7149P (older)
- MusicBee Wifi Sync version 0.9 (same)
- Android 8.0.0 on Moto Z2 Play  (older)
- PowerAmp 3 Version 3 build 853 (newer)

But if I just sync my playlists I get no error.
Playlists are found and play in PowerAmp fine, too.
Title: Re: Wifi android device synching
Post by: psychoadept on November 20, 2019, 04:58:01 AM
I'm getting some "Files not matched in MusicBee. Playcount not changed" errors when I try sync them from within the Android app recently.

I'm getting this message, too, and I don't think the file paths have changed in MusicBee or anything like that. It's ~30 tracks out of probably <300 that have played since my last sync so it's a pretty big percentage. Maybe we could get a list of tracks that didn't sync correctly that we can save as a text file at the end?
Title: Re: Wifi android device synching
Post by: Steven on November 20, 2019, 05:50:40 PM
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
Title: Re: Wifi android device synching
Post by: psychoadept on November 20, 2019, 06:07:44 PM
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!)
Title: Re: Wifi android device synching
Post by: SkyZippr on November 23, 2019, 03:06:37 AM
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?
Title: Re: Wifi android device synching
Post by: Steven on November 23, 2019, 06:06:43 PM
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
Title: Re: Wifi android device synching
Post by: SkyZippr on November 24, 2019, 12:07:54 AM
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.
Title: Re: Wifi android device synching
Post by: Steven on November 24, 2019, 11:19:40 AM
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
Title: Re: Wifi android device synching
Post by: vpsaxman on November 29, 2019, 05:56:52 AM
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.
Title: Re: Wifi android device synching
Post by: Steven on December 01, 2019, 03:58:58 PM
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
Title: Wifi sync tags issue
Post by: Cameron on December 10, 2019, 06:35:25 PM
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
Title: Re: Wifi android device synching
Post by: vpsaxman on December 11, 2019, 09:24:17 AM
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!
Title: Re: Wifi android device synching
Post by: SkyZippr on December 19, 2019, 01:58:57 PM
I'm running Musicbee Wifi app on a SONY ZX507 (an Android DAP), and I'd get this error:
Quote
Unable to retrieve statistics from GoneMad player. The unlocked version of GoneMad is required, otherwise the the GoneMad error log.
I do have unlocked version of GoneMad, and there's nothing recorded on GoneMad's error log.

Strangely though, if I restart the device and immediately run Wifi app, it would sync normally.
I play music on flight mode when I'm out in order to save battery, then come home to connect to Wifi before attempting a sync. Not sure if this has anything to do with the error though...

It's more likely that the problem is on DAP's side, but in case anyone else is having the same problem (I remember seeing one in this thread), try again after restarting your device.
Title: Re: Wifi android device synching
Post by: Steven on December 23, 2019, 09:24:26 PM
I'm running Musicbee Wifi app on a SONY ZX507 (an Android DAP), and I'd get this error:
Quote
Unable to retrieve statistics from GoneMad player. The unlocked version of GoneMad is required, otherwise the the GoneMad error log.
I do have unlocked version of GoneMad, and there's nothing recorded on GoneMad's error log.
That error can occur when GoneMad fails to generate the stats.xml file. It can happen when one of the filenames has an invalid character in it. It has been reported to the GoneMad developer but he didnt seem to be interested to look into it further.
Title: Re: Wifi android device synching
Post by: Steven on December 24, 2019, 06:06:44 PM
Sent you a PM with the debug log. Sorry it took so long. Thanks!
In your case, some of the filesnames gonemad is returning include an extra "primary/" prefix and hence not matched in MB. Can you confirm you whether you have given me your google play email so you can be added to the alpha track for the android app and that you are happy to run a debug version so i can confirm what is going on
Title: Re: Wifi android device synching
Post by: SkyZippr on December 25, 2019, 02:09:57 PM
I'm running Musicbee Wifi app on a SONY ZX507 (an Android DAP), and I'd get this error:
Quote
Unable to retrieve statistics from GoneMad player. The unlocked version of GoneMad is required, otherwise the the GoneMad error log.
I do have unlocked version of GoneMad, and there's nothing recorded on GoneMad's error log.
That error can occur when GoneMad fails to generate the stats.xml file. It can happen when one of the filenames has an invalid character in it. It has been reported to the GoneMad developer but he didnt seem to be interested to look into it further.
Thanks Steven, but I think the issue I'm having is more complicated. The stats.xml file is indeed in the gmmp folder.
I've also noticed that, somehow GMMP is unable to read the tags of the files transferred via wifi sync, and they all show up as 'Unknown Artist' with empty tags. What's even stranger is, the stock player app of SONY ZX507 (aka Walkman app) reads the tags of those files without any problem. Files transferred via wired sync seem to be handled with no problem by both apps mentioned.
I suspect that maybe there are some hidden restriction of storage handling or something in SONY ZX507, although it's supposed to be pure Android unlike Fiio's. Maybe wifi app is unable to properly write something, or maybe GMMP is unable to properly read something.

I've never experienced anything like this with my smartphone, so I guess this is a device-specific issue. I'll try contacting SONY's customer support.
Title: Re: Wifi android device synching
Post by: HerrMerkt on December 30, 2019, 09:39:38 PM
In the last few days, I was unable to start MusicBee Wifi Sync on my Galaxy S10. That's a bit puzzling because Wifi Sync works on my Galaxy Tab without any problems. Are there any known issues with Wifi Sync and the Galaxy S10?

I have already deleted the profile of the Galaxy S10 in my MusicBee settings as well as the appdata on the Galaxy S10 several times. Nothing helped.

Some more information for troubleshooting:
- I want to sync to a micro SD card in the Galaxy S10 (400GB). I have tested syncing the files to the phone storage and this seemed to work. However, this is not an option because I do not have enough storage on the phone.
- When I want to start syncing in the app and hit the sync button, nothing happens. There is no error message or whatsoever; however, the syncing process doesn't start.
Title: Re: Wifi android device synching
Post by: phred on December 30, 2019, 09:55:51 PM
You don't state if this is the first time you're using WiFi Sync to the S10, but if it is, you need to one wired sync first. Not even a full sync, but complete a preview. Once that's done, try a WiFi Sync.
Title: Re: Wifi android device synching
Post by: HerrMerkt on December 30, 2019, 11:02:55 PM
I ran the wired sync twice. I still cannot hit the Preview or Sync Buttons in the app, if I want to sync to the SD card.
I have granted the app the necessary access to the SD card, of course.

Interestingly, Wifi Sync works with a Galaxy Tab A, using a SD card.

Another piece of information that may be interesting:
Wifi Sync on the S10 used to work until 1-2 weeks ago. Then, I deleted the profiles of the devices and recreated them, because there were some issues with the device names that I wanted to resolve. However, these deletions also coincided with a firmware update for the S10.
Title: Re: Wifi android device synching
Post by: vpsaxman on January 01, 2020, 10:26:49 PM
Sent you a PM with the debug log. Sorry it took so long. Thanks!
In your case, some of the filesnames gonemad is returning include an extra "primary/" prefix and hence not matched in MB. Can you confirm you whether you have given me your google play email so you can be added to the alpha track for the android app and that you are happy to run a debug version so i can confirm what is going on

Glad you found what was causing the error. FWIW, I'm using poweramp, not gonemad.

I have no issue running a debug version. I'll pm you my google play email. Thanks!
Title: Re: Wifi android device synching
Post by: Roger M on January 02, 2020, 12:43:33 PM
I am also trying to set up Wifi synching on a Samsung S10. Although I have selected SD card in the app, the S10 App settings do not give me the option of the SD card as storage for the App - is this the problem? I get no reaction on the "preview" or "synch" buttons. How do I run a wired synch?
Title: Re: Wifi android device synching
Post by: phred on January 02, 2020, 01:02:53 PM
How do I run a wired synch?
Preferences > Devices > [select device] > Configure > Settings
Once the wired preview successfully completes you should be able to do a WiFi sync.
Title: Re: Wifi android device synching
Post by: Roger M on January 02, 2020, 02:56:51 PM
Thanks phred, but maybe I asked the wrong question - how do I run a wired preview? I'm generally pretty good at "intuitive" operation, but I can't see this one!
Title: Re: Wifi android device synching
Post by: phred on January 02, 2020, 04:38:11 PM
how do I run a wired preview?
Once you've got the device configured as I stated previously, save the configuration and you should see the device under Devices in the left side panel. Select it and in the mail panel you'll see Synchronize and Preview. Click Preview
Title: Re: Wifi android device synching
Post by: Steven on January 03, 2020, 05:54:06 PM
@vpsaxman and psychoadept,
could you try this patch version of musicbee:
https://getmusicbee.com/patches/MusicBee33_Patched.zip
Title: Re: Wifi android device synching
Post by: psychoadept on January 04, 2020, 07:32:04 PM
I just tried it, so far so good. Will let you know if anything comes up.
Title: Re: Wifi android device synching
Post by: vpsaxman on January 05, 2020, 05:41:46 AM
@vpsaxman and psychoadept,
could you try this patch version of musicbee:
https://getmusicbee.com/patches/MusicBee33_Patched.zip

I just tried it, so far so good. Will let you know if anything comes up.

Same here!! Sync count is getting updated. No more mismatched tracks. If anything comes up I'll post here as well. Thanks!
Title: Re: Wifi android device synching
Post by: kid on January 07, 2020, 05:50:27 PM
Hi all,
I'm a little behind on you all, and I might have overlooked a part of the topic so forgive me if there is a solution in the previous 50 pages.
TL;DR. I keep getting the Server not found error.

I cant get wifi sync to work (reliably, or at all).
I have been trying for a while and on occasions it has worked;
So I've tried the latest release from the site (3.3.7261) and also the latest release from the forums (3.3.7310)
I have used the Android app in both the release channel and the beta channel. All of them no luck.

I had everything working a week before christmas, however after pressing sync in the app it started syncing my entire collection even though I already did a full sync over USB (its about 60gb worth of music). I reset the app on the phone and couldn't get a connection anymore after, no matter what I tried. Gave up, I hardly have any additions to my collection and the playcount sync is nice to have but not a dealbreaker.

Yesterday I got an upgrade to Android 10. Did a hard reset on my phone, and after setting it up from scratch I though, lets give it another try. I also formatted my SD card btw.
I ran the app and tried to connect, and I got the "you have to do a wired sync first" error. Great news! that means it can connect to MB at least!.
I plugged in the USB cable, did a wired sync (remeber, wiped the card) so another 60gb of music and about 2 hours later tried the sync app again;
Server not found.

So maybe my firewall changed itself? so I installed the MusicBee Remote plugin, and didn't change my firewall settings. Works like a charm.
So the remote app can connect fine, and the windows firewall allows any incoming connection to MB over both UDP and TCP.

What am I doing wrong?.

p.s. I cant seem to figure out how to get a log out of the android app.

I've asked steven to add me to the alpha, as that seems to be able to output a log before connecting to the server.
Title: Re: Wifi android device synching
Post by: Cameron on January 07, 2020, 05:58:37 PM
Just to update this slightly, I rolled back to the first Musicbee with wifi syncing (7056) and the same thing happens, however I have recently bought a new phone so I think this is probably causing the problem somehow.
Title: Re: Wifi android device synching
Post by: psychoadept on January 11, 2020, 05:21:35 AM
So this doesn't explain why I was getting duplicate phone profiles in one version of MusicBee, but I often run two instances lately, one the regular install and one a portable version that I use specifically to manage my NAS.  At one point I tried to start a sync and suddenly the phone was giving me a message about needing to do a wired sync first (this is while the phone was plugged into the computer). Well, of course, it was trying to sync to the portable version instead of the regular, where the profile already exists.  I don't know if there's anything you can do about that. I'll just have to close one while I start the sync if it gets confused, I guess.
Title: Re: Wifi android device synching
Post by: SkyZippr on January 12, 2020, 10:47:33 AM
EDIT: Wifi sync issue disappeared after restarting the device. Editing my original post since my reply would be on another page.


I was having issue with GMMP not automatically scanning the library, so I formatted my SD card to see if it would fix it. Not only did formatting not fix the GMMP issue, but also Wifi Sync app is acting weird now. When I hit preview button it lists my entire library that's already been synched to the SD card. Wired sync works just fine.
Here's Wifi Sync app's error log:
Quote
2020-01-12: NW-ZX500Series;  9;  1.1.2
19:32:07: startSync: preview=true,iteration=0
19:32:08: command: action=SYNC_START
19:32:08: tryStart: connecting /10.165.2.114, attempt=0
19:32:08: tryStart: connected
19:32:08: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=NW-ZX500Series,2
19:32:08: storage: path=/storage/A3D2-0D51,root=A3D2-0D51:,uri=content://com.android.externalstorage.documents/tree/A3D2-0D51%3A
19:32:08: syncDevice: root=/storage/A3D2-0D51,ignoreErrors=false,playlists=false,ratings=true,playcount=true
19:32:08: syncDevice: command=SendStats
19:32:10: syncDevice: command=ShowResults
19:32:10: syncDevice: command=GetFiles
19:32:10: getFiles: Get: Music/,url=/storage/A3D2-0D51/Music/, inc=true
19:32:10: getFiles: count=4
19:32:10: syncDevice: command=GetFiles
19:32:10: getFiles: Get: Podcasts/,url=/storage/A3D2-0D51/Podcasts/, inc=true
19:32:10: getFiles: count=0
19:32:10: syncDevice: command=GetFiles
19:32:10: getFiles: Get: Music/Playlists/,url=/storage/A3D2-0D51/Music/Playlists/, inc=false
19:32:10: getFiles: count=0
19:32:10: syncDevice: command=ShowPreviewResults
19:32:10: syncDevice: exit

And here's my device setting from MB (installed ver 3.3.7310):
(https://i.imgur.com/f2Ypf5Z.png)
Title: Re: Wifi android device synching
Post by: Steven on January 12, 2020, 11:16:11 AM
I was having issue with GMMP not automatically scanning the library, so I formatted my SD card to see if it would fix it. Not only did formatting not fix the GMMP issue, but also Wifi Sync app is acting weird now. When I hit preview button it lists my entire library that's already been synched to the SD card. Wired sync works just fine.
i wont be able to help
Title: Re: Wifi android device synching
Post by: kid on January 12, 2020, 01:18:53 PM
Ok, small update on my connection issues.

If I connect through USB while connected to WIFI, I can get the sync app to connect.
immediately after the USB sync completes the WIFI sync app connects.
However it does nothing after that. The SYNC NOW and PREVIEW buttons seem unresponsive, and there are no additional entries in the log.

Quote
2020-01-12: H9436;  10;  0.9
13:22:42: locate: search=10.0.0.
13:22:42: locate: exclude=11
13:22:44: locate: search=10.170.143.
13:22:44: locate: exclude=183
13:23:58: locate: search=10.0.0.
13:23:58: locate: exclude=11
13:23:58: ping: socket ok=/10.0.0.10
13:24:02: ping: hello=MusicBeeWifiSyncServer/1.0
13:24:02: ping: matched=/10.0.0.10,status=OK
13:24:02: locate: search=10.170.143.
13:24:02: locate: exclude=183
13:24:04: ping: socket ok=/10.0.0.10
13:24:04: ping: hello=MusicBeeWifiSyncServer/1.0
13:24:04: ping: matched=/10.0.0.10,status=OK

When I close the sync app, and restart it, I get the connection errors again, however I am now inside the app and the logs are available.

There are no new entries in the log, even though the app gives an error. Enabling debug logging results in the buttons not responding again. Force closing the app clears the debug logging flag, and the loop starts again.

Both the "beta" and the normal release path are at version 0.9, so I assume they are both the same.
Title: Re: Wifi android device synching
Post by: SkyZippr on January 12, 2020, 03:19:27 PM
I was having issue with GMMP not automatically scanning the library, so I formatted my SD card to see if it would fix it. Not only did formatting not fix the GMMP issue, but also Wifi Sync app is acting weird now. When I hit preview button it lists my entire library that's already been synched to the SD card. Wired sync works just fine.
i wont be able to help

This is really embarrassing because the Wifi sync issue disappeared after restarting the device. Since this reply would be on another page, I'm editing my original post to make it easier to trace.
Title: Re: Wifi android device synching
Post by: kid on January 13, 2020, 09:30:12 PM
Ok, small update on my connection issues.

If I connect through USB while connected to WIFI, I can get the sync app to connect.
immediately after the USB sync completes the WIFI sync app connects.
However it does nothing after that. The SYNC NOW and PREVIEW buttons seem unresponsive, and there are no additional entries in the log.

Quote
...

When I close the sync app, and restart it, I get the connection errors again, however I am now inside the app and the logs are available.

There are no new entries in the log, even though the app gives an error. Enabling debug logging results in the buttons not responding again. Force closing the app clears the debug logging flag, and the loop starts again.

Both the "beta" and the normal release path are at version 0.9, so I assume they are both the same.

Update; I just tried it with an old (chinese, offbrand, Umidigi) android 6.0.1 phone I have laying around, and it works like a charm.
Though maybe it was an Android 10 issue, so I begged my better half to hold her phone (Xiaomi) for a sec, and it works fine too.

Seems to be an issue with my Sony phone then? Any one else experiencing issues with Sony Xperia devices? (XZ2 or XZ3 in particular).

Edit: There seems to be a connection between the phone and MB, when I select playlist sync and I add a new playlist in MB it immediately shows up in the android app. But for some reason the sync or preview buttons are non-responsive.
I think there might be an issue with read/write rights on the phone? There have been some changes in Android 10, however since it works on the Xiaomi phone with A10 that doesn't explain it.

Any of you guys know how I can do some more diagnostic?
Here is what I found on "scoped storage" on android 10
https://developer.android.com/training/data-storage#scoped-storage (https://developer.android.com/training/data-storage#scoped-storage)
Title: Re: Wifi android device synching
Post by: Madmaxneo on January 16, 2020, 01:24:04 AM
Wifi Syncing has stopped entirely for me now. The "Sync Now" button is grayed out and does not do anything at all, neither does the "Preview" button. I started having this issue a few days ago but then this morning I got an update for my phone and had hopes itt would fix the issue with the wifi sync and the other issue I have, but it did not. I even restarted my phone a few times (to no success) hoping that would help resolve the issue. This is compounds on top of the other issue that none of my playlists sync anymore from MusicBee to my phone.
Title: Re: Wifi android device synching
Post by: kid on January 16, 2020, 06:04:58 PM
Wifi Syncing has stopped entirely for me now. The "Sync Now" button is grayed out and does not do anything at all, neither does the "Preview" button. I started having this issue a few days ago but then this morning I got an update for my phone and had hopes itt would fix the issue with the wifi sync and the other issue I have, but it did not. I even restarted my phone a few times (to no success) hoping that would help resolve the issue. This is compounds on top of the other issue that none of my playlists sync anymore from MusicBee to my phone.
Did you try to clear app data and setup sync again? Anything in the log?
What device are you using? android 10?
Title: Re: Wifi android device synching
Post by: Madmaxneo on January 17, 2020, 12:43:09 AM
Wifi Syncing has stopped entirely for me now. The "Sync Now" button is grayed out and does not do anything at all, neither does the "Preview" button. I started having this issue a few days ago but then this morning I got an update for my phone and had hopes itt would fix the issue with the wifi sync and the other issue I have, but it did not. I even restarted my phone a few times (to no success) hoping that would help resolve the issue. This is compounds on top of the other issue that none of my playlists sync anymore from MusicBee to my phone.
Did you try to clear app data and setup sync again? Anything in the log?
What device are you using? android 10?
Yes, that was one of the first things I tried. I have also uninstalled and reinstalled the wifi sync program on my phone a few times and the wifi sync still does not work at all on my phone.

I have a Galaxy Note 10 + and I am on Android version 10.
Title: Re: Wifi android device synching
Post by: frankz on January 17, 2020, 06:22:50 AM
Yes, Galaxy S10 and Android 10 here, and Wifi Sync recently started spectacularly failing for me too. This was weeks after the Android 10 update.  Now MB Wifi Sync acts like it can't access the SD card although permissions are granted and double-checked. Cleared data for the app to no effect, uninstalled the app rebooted the phone and reinstalled to no effect.  Deleted the device profile and recreated it to no effect.

Buttons are not even clickable in the app for me. I can press them all day and nothing happens. Only when I change to "Internal Storage," run a preview, and then go back to "SD Card" can I click anything. But then I get the errors like it has no access to the SD card.

This started mid-sync for me.  It partially sync'd, then the errors started and now I can't do anything.  I don't know if it's an Android issue or an issue with an overnight Windows update or what, but it worked one day and then not the next.

Back to wired sync for me.  It takes 45 minutes to scan, but at least it works.
Title: Re: Wifi android device synching
Post by: kid on January 17, 2020, 06:01:17 PM
Yes, Galaxy S10 and Android 10 here, and Wifi Sync recently started spectacularly failing for me too. This was weeks after the Android 10 update.  Now MB Wifi Sync acts like it can't access the SD card although permissions are granted and double-checked. Cleared data for the app to no effect, uninstalled the app rebooted the phone and reinstalled to no effect.  Deleted the device profile and recreated it to no effect.

Buttons are not even clickable in the app for me. I can press them all day and nothing happens. Only when I change to "Internal Storage," run a preview, and then go back to "SD Card" can I click anything. But then I get the errors like it has no access to the SD card.

This started mid-sync for me.  It partially sync'd, then the errors started and now I can't do anything.  I don't know if it's an Android issue or an issue with an overnight Windows update or what, but it worked one day and then not the next.

Back to wired sync for me.  It takes 45 minutes to scan, but at least it works.

just checked again after I read your post.
Cleared app storage, so I could start from a "blank slate".
Selected "internal storage" from the start (even though I have hardly any space left on internal and want to keep my music on SD).
BAM!

Worked like a charm. Didn't even do a wired sync or selected internal storage in MB on my PC, Just changed my sync settings from a configured device to include only the single playlist, did a preview and synced it to the internal storage with no problems

Cleared app storage again, started anew, selected "removable SD card", and preview/sync buttons stopped working again.
repeated steps to sync internal storage, worked again.
Tried back and forth about five times. Now going to see if it still works after rebooting PC and Phone

I'm willing to place a small bet there is some sort of issue with SD card acces in Android 10.

Edit: Confirm it still works like described above after rebooting several times and setting up the app. also reinstalling has the same effect as clearing app storage.
Reverse sync doesn't work due to the GMMP unlocked version error (even though I have it unlocked) but that seems like something else entirely so don't care bout that now at all.

I would like to carefully draw two conclusions;

1. I think the issue exists on the phone side of syncing. Nothing to do with network or MB on the desktop.
2. The issue only seems to manifest when syncing to SD card for me

I can vaguely find something about storage acces being a little bit different in Android 10, so that might also be something to look at, although I have several other old apps, some not updated for over a year, that can read/write to SD card just fine.
Title: Re: Wifi android device synching
Post by: Madmaxneo on January 17, 2020, 06:34:53 PM

just checked again after I read your post.
Cleared app storage, so I could start from a "blank slate".
Selected "internal storage" from the start (even though I have hardly any space left on internal and want to keep my music on SD).
BAM!

Worked like a charm. Didn't even do a wired sync or selected internal storage in MB on my PC, Just changed my sync settings from a configured device to include only the single playlist, did a preview and synced it to the internal storage with no problems

Cleared app storage again, started anew, selected "removable SD card", and preview/sync buttons stopped working again.
repeated steps to sync internal storage, worked again.
Tried back and forth about five times. Now going to see if it still works after rebooting PC and Phone

I'm willing to place a small bet there is some sort of issue with SD card acces in Android 10.

Edit: Confirm it still works like described above after rebooting several times and setting up the app. also reinstalling has the same effect as clearing app storage.
Reverse sync doesn't work due to the GMMP unlocked version error (even though I have it unlocked) but that seems like something else entirely so don't care bout that now at all.

I would like to carefully draw two conclusions;

1. I think the issue exists on the phone side of syncing. Nothing to do with network or MB on the desktop.
2. The issue only seems to manifest when syncing to SD card for me

I can vaguely find something about storage acces being a little bit different in Android 10, so that might also be something to look at, although I have several other old apps, some not updated for over a year, that can read/write to SD card just fine.
That makes sense. I do have a decent sized storage for my Note 10 + but I know in the future when I get a new phone I would rather just transfer my SD card then have to resync everything.... maybe they will figure out how to get this to work....
Title: Re: Wifi android device synching
Post by: HerrMerkt on January 19, 2020, 11:46:23 AM
I came to the same conclusion as Kid after trying everything to make Wifi Sync to SD work again. I hope that this issue can be fixed in the next version of the Android app. Cable sync is much slower for me.
Title: Re: Wifi android device synching
Post by: skeevesmith on January 22, 2020, 06:57:44 PM

just checked again after I read your post.
Cleared app storage, so I could start from a "blank slate".
Selected "internal storage" from the start (even though I have hardly any space left on internal and want to keep my music on SD).
BAM!

Worked like a charm. Didn't even do a wired sync or selected internal storage in MB on my PC, Just changed my sync settings from a configured device to include only the single playlist, did a preview and synced it to the internal storage with no problems

Cleared app storage again, started anew, selected "removable SD card", and preview/sync buttons stopped working again.
repeated steps to sync internal storage, worked again.
Tried back and forth about five times. Now going to see if it still works after rebooting PC and Phone

I'm willing to place a small bet there is some sort of issue with SD card acces in Android 10.

Edit: Confirm it still works like described above after rebooting several times and setting up the app. also reinstalling has the same effect as clearing app storage.
Reverse sync doesn't work due to the GMMP unlocked version error (even though I have it unlocked) but that seems like something else entirely so don't care bout that now at all.

I would like to carefully draw two conclusions;

1. I think the issue exists on the phone side of syncing. Nothing to do with network or MB on the desktop.
2. The issue only seems to manifest when syncing to SD card for me

I can vaguely find something about storage acces being a little bit different in Android 10, so that might also be something to look at, although I have several other old apps, some not updated for over a year, that can read/write to SD card just fine.
That makes sense. I do have a decent sized storage for my Note 10 + but I know in the future when I get a new phone I would rather just transfer my SD card then have to resync everything.... maybe they will figure out how to get this to work....


I have the same issue with my s10 / android 10 update.  Seems to be several large threads on reddit along the same subject:

https://www.reddit.com/r/galaxys10/comments/eakikd/cant_import_playlists_in_samsung_music_player/

Title: Re: Wifi android device synching
Post by: Madmaxneo on January 24, 2020, 02:11:59 AM


I have the same issue with my s10 / android 10 update.  Seems to be several large threads on reddit along the same subject:

https://www.reddit.com/r/galaxys10/comments/eakikd/cant_import_playlists_in_samsung_music_player/

There is fix someone listed. But it takes time as you have to manually create every playlist in a text editor like Notepad++. I wonder if the fix is something that the developer can implement into the MusicBee Program.
Title: Re: Wifi android device synching
Post by: skeevesmith on January 24, 2020, 01:30:45 PM


I have the same issue with my s10 / android 10 update.  Seems to be several large threads on reddit along the same subject:

https://www.reddit.com/r/galaxys10/comments/eakikd/cant_import_playlists_in_samsung_music_player/

There is fix someone listed. But it takes time as you have to manually create every playlist in a text editor like Notepad++. I wonder if the fix is something that the developer can implement into the MusicBee Program.

That would be great!  *bump* for an update?
Title: Re: Wifi android device synching
Post by: phred on January 24, 2020, 01:54:03 PM
That would be great!  *bump* for an update?
https://getmusicbee.com/forum/index.php?topic=30597.0
Title: Re: Wifi android device synching
Post by: skeevesmith on January 24, 2020, 04:20:32 PM
That would be great!  *bump* for an update?
https://getmusicbee.com/forum/index.php?topic=30597.0

Thank you for sharing.
Title: Re: Wifi android device synching
Post by: funcat on February 02, 2020, 02:50:45 PM
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 !
Title: Re: Wifi android device synching
Post by: Steven on March 02, 2020, 07:58:47 AM
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
Title: Re: Wifi android device synching
Post by: kid on March 02, 2020, 05:49:12 PM
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.
Title: Re: Wifi android device synching
Post by: Steven on March 03, 2020, 07:26:09 AM
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
Title: Re: Wifi android device synching
Post by: frankz on March 03, 2020, 12:30:41 PM
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.
Title: Re: Wifi android device synching
Post by: kid on March 03, 2020, 12:53:01 PM
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.
Title: Re: Wifi android device synching
Post by: Steven on March 04, 2020, 08:16:29 AM
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
Title: Re: Wifi android device synching
Post by: funcat on March 14, 2020, 05:12:49 PM
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
Title: Re: Wifi android device synching
Post by: phred on March 14, 2020, 06:53:11 PM
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.
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 05, 2020, 12:09:47 PM
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.
Title: Re: Wifi android device synching
Post by: phred on April 05, 2020, 01:33:04 PM
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.
Title: Re: Wifi android device synching
Post by: Babydoll32 on April 05, 2020, 04:20:57 PM
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.
Title: Re: Wifi android device synching
Post by: Anti on April 11, 2020, 03:57:33 AM
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).
Title: Re: Wifi android device synching
Post by: Steven on April 11, 2020, 05:34:51 AM
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
Title: Re: Wifi android device synching
Post by: railfan-eric28 on April 12, 2020, 04:10:31 AM
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?
Title: Re: Wifi android device synching
Post by: frankz on April 12, 2020, 04:20:44 AM
It works just fine here with a desktop wired connection to the router.

You can set a static IP address for your computer either in your computer's network settings or your router's DHCP reservation settings.
Title: Re: Wifi android device synching
Post by: Steven on April 12, 2020, 04:32:43 AM
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?
Did you update the Android app when it was updated last month? I was hoping that would be more robust in re-connecting when the ip address changes
Title: Re: Wifi android device synching
Post by: railfan-eric28 on April 12, 2020, 08:11:29 AM
I haven't noticed if it updated or not.   Usually it's automatic.   Last updated on March 4th. I'm on the beta testing. 
Title: Re: Wifi android device synching
Post by: Madmaxneo on April 13, 2020, 02:59:53 AM
FYI, the wired syncing is not working anymore either.
Title: Re: Wifi android device synching
Post by: thed0g195 on April 13, 2020, 10:07:35 AM
Hello,

I'm in the final stage to switch from iTunes/iSyncr to MusicBee since Wi-Fi syncing is important to me. Device is Samsung Galaxy A50, Android 9, I sync to internal storage.

I sync selected playlists. The tracks are synced fine, also changes to the playlists, but I noticed that when I uncheck a certain playlist (so it'll get deleted from device), the tracks are deleted but not the playlist file. That means that an empty playlist gets displayed in the music player (Poweramp in my case). Am I doing something wrong or is there a setting for that? Tracks are put into /Internal storage/Music then respective folders based on Artist, Playlists are put into Music/ but I also tried making a separate folder like Playlists with no change regarding deletion.

Here's a screenshot of my Devices/Configure/Settings configuration : https://imgur.com/a/ikoTw0E

I've synced one test playlist first, then unselected it for removal and selected a 2nd playlist for syncing. The tracks of the first playlist were removed, but not the playlist file itself. The 2nd playlist tracks and playlist file was copied as expected.

Here's a Debug log of the sync:

Code
2020-04-13: SM-A505FN;  9;  2.0.0
11:14:58: ping: socket ok=/192.168.1.10
11:14:58: ping: hello=MusicBeeWifiSyncServer/1.0
11:14:58: ping: matched=/192.168.1.10,status=OK
11:15:05: startSync: preview=true,iteration=0
11:15:05: command: action=SYNC_START
11:15:05: tryStart: connecting /192.168.1.10, attempt=0
11:15:05: tryStart: connected
11:15:05: tryStart: hello=true,fromMB=false,custfiles=true,preview=true,dev=SM-A505FN,1
11:15:05: storage: path=/storage/emulated/0,root=null
11:15:05: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=false,playcount=false
11:15:05: syncDevice: command=GetFiles
11:15:05: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
11:15:05: getFiles: count=2
11:15:05: syncDevice: command=GetFiles
11:15:05: getFiles: Get: Music/Podcasts/,url=/storage/emulated/0/Music/Podcasts/, inc=true
11:15:05: getFiles: count=0
11:15:05: syncDevice: command=GetFiles
11:15:05: getFiles: Get: Music/Playlists/,url=/storage/emulated/0/Music/Playlists/, inc=false
11:15:05: getFiles: count=0
11:15:05: syncDevice: command=ShowPreviewResults
11:15:05: syncDevice: exit
11:15:08: startSync: preview=false,iteration=1
11:15:08: command: action=SYNC_START
11:15:08: tryStart: connecting /192.168.1.10, attempt=0
11:15:08: tryStart: connected
11:15:08: tryStart: hello=true,fromMB=false,custfiles=true,preview=false,dev=SM-A505FN,1
11:15:08: storage: path=/storage/emulated/0,root=null
11:15:08: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=false,playcount=false
11:15:08: syncDevice: command=GetFiles
11:15:08: getFiles: Get: Music/Playlists/,url=/storage/emulated/0/Music/Playlists/, inc=false
11:15:08: getFiles: count=0
11:15:08: syncDevice: command=ShowDeleteConfirmation
11:15:10: syncDevice: command=DeleteFiles
11:15:10: deleteFiles: Delete: Music/2weiraumwohnung/Wir Werden Sehen/03 - Wir werden sehen (Paul kalkbrenner remix).mp3
11:15:10: syncDevice: command=DeleteFiles
11:15:10: deleteFiles: Delete: Music/Evanescence/Fallen (Retail)/02 - Bring Me To Life.mp3
11:15:10: syncDevice: command=ReceiveFile
11:15:10: receiveFile: Receive: Music/Evanescence/Fallen (Retail)/01 - Going Under.mp3
11:15:12: syncDevice: command=ReceiveFile
11:15:12: receiveFile: Receive: Music/Evanescence/Fallen (Retail)/Evanescence - Fallen (Retail).jpg
11:15:12: syncDevice: command=ReceiveFile
11:15:12: receiveFile: Receive: Music/Playlists/Test2.m3u
11:15:12: syncDevice: command=DeleteFolders
11:15:12: deleteFolder: Delete: Music/2weiraumwohnung/
11:15:12: syncDevice: command=Exit
11:15:12: exitSync: fails=0
11:15:12: waitScanFiles: start
11:15:13: waitScanFiles: done
11:15:13: syncDevice: exit

This part is what's odd for me:

Code
11:15:05: getFiles: Get: Music/Playlists/,url=/storage/emulated/0/Music/Playlists/, inc=false
11:15:05: getFiles: count=0

It returns count 0 despite there's a .m3u playlist file in there. Shouldn't this be detected and shown on the preview for removal and remove it after sync?

Also a feedback on the MusicBee Wifi Sync app, not such a big of a deal, but I noticed it when testing. When you want to remove a single synced playlist on the device, it won't let you if you just uncheck it, unless you sync another playlist. So if I sync Test1 to device, then want to remove it, I have to sync at least one another. I guess this doesn't matter much later on when having multiple playlists, but it kinda confused me at the beginning.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on April 16, 2020, 04:46:48 PM
This is weird but i had this problem before.  I went to sync after a few days and it was in the middle of a sync doing nothing.   so i cancelled and then it reset the settings again on it's own even though i just had to clear data the other day to get it to work.   So i had to redo the settings again.   I don't understand why it randomly does this.
edit
In addition it's not syncing my new playlist.  under devices i have a third device for the same phone.   So i have two for SD card sync.
Title: Re: Wifi android device synching
Post by: Madmaxneo on April 17, 2020, 01:54:08 AM
Yeah, I have been having the sync issue again now for more than a week. I had the issue back in Feb (I think) but an update to the Android system fixed it. For some reason the sync issue has returned yet again.
Title: Re: Wifi android device synching
Post by: thed0g195 on April 17, 2020, 09:50:57 PM
So is this topic of the possibility deleting playlists at sync (https://getmusicbee.com/forum/index.php?topic=28093.msg172945#msg172945) somehow a taboo topic or is it a choice by design ?

I've found a similar question without any answers: https://getmusicbee.com/forum/index.php?topic=25075.0
Title: Re: Wifi android device synching
Post by: railfan-eric28 on April 26, 2020, 04:40:38 AM
just did it to me again.    &gt;:(   Also it's messed up on my tablet and i couldn't get it to work and I hadn't took the time to fix it on there too now of course it just did it to my phone. 
Steven any word yet on an update to fix the app?
Title: Re: Wifi android device synching
Post by: frankz on April 26, 2020, 05:30:20 AM
I use the app every day.  I don't think the app itself is the problem.
Title: Re: Wifi android device synching
Post by: railfan-eric28 on April 26, 2020, 05:37:30 AM
I use the app every day.  I don't think the app itself is the problem.

Does yours reset itself often?  Either mine resets itself or can't find the server and has the be reset as in clear data.   either way it sucks.  and if we were to use the playlist settings on the app itself it would be awful to have to figure out what playlists the select and which ones are on the phone since a person like me probably has a list of 50 playlists and only half of them get synced.  fortunately I have it set to sync the playlists that are selected via the computer software.  Unless i put in a new memory card and it has to be done from scratch.
Title: Re: Wifi android device synching
Post by: frankz on April 26, 2020, 06:20:34 AM
I have not reset the app or cleared data since the latest update.  I hit "sync now" and it syncs.  Don't know what to tell you. The app works. You are doing something that makes it not work.
Title: Re: Wifi android device synching
Post by: Steven on April 26, 2020, 06:52:10 AM
The source code is on github for anyone who has android experience to look at and potentially make changes. Its simply the case that I don't have enough socket or android experience to solve the more unusual cases.

https://github.com/mayallst/MusicBeeWifiSync
Title: Re: Wifi android device synching
Post by: railfan-eric28 on April 26, 2020, 08:39:53 PM
The source code is on github for anyone who has android experience to look at and potentially make changes. Its simply the case that I don't have enough socket or android experience to solve the more unusual cases.

https://github.com/mayallst/MusicBeeWifiSync

I hope someone can help you.  I don't have any experience.    It just did it again since my last sync.  What gets me is when i get done syncing I have the sync button for "sync more"  i just hit the home button or task switcher to go to something else.   then go back a day or days later and then it shows it's in the middle of a sync.   A phantom sync if you will.   I cancel it to start syncing and that's when it goes back to the settings like a fresh install and i have to do the settings again and give permissions to the memory card as if it's the first time it's run. 
Title: Re: Wifi android device synching
Post by: SkyZippr on April 27, 2020, 01:49:55 AM
I cancel it to start syncing and that's when it goes back to the settings like a fresh install and i have to do the settings again and give permissions to the memory card as if it's the first time it's run.  
Does your phone/tablet have any auto-cleanup function? For example, Huawei phones have a built-in function that periodically cleans up old cache files of any apps, and the function is on by default. As a result some of my game apps had to re-download all the data almost every time I start them, so I turned the cleaner off. Not sure about Galaxy's, though.
Also, Huawei is notorious for its aggressive battery optimization, which automatically turns off background apps. If I remember correctly, Samsung does the similar to their phones as well, so you might want to look into that as well.
Title: Re: Wifi android device synching
Post by: misterhh on May 26, 2020, 04:29:55 AM
I've been syncing my phone for a while using USB and found this wifi feature/app today. Seems to work for the most part, but doesn't detect the music already on my phone so it can skip syncing it. I only ever sync my "recently added" playlist. On the app, I chose sync playlists, and it copied everything over to my SD card. Then I added some more music to my PCs library, which got added to my recently added playlist. When I went back to the phone to sync again, it copied over the some (not all) of the new stuff, then it appeared to start to copy over the rest of the songs on the playlist, which had already been transferred previously. I don't see any duplicates on my phone, so maybe something else was going on, but either way it was taking just as long as the initial large sync was taking. Is this normal? I have reverse-sync unchecked in the app by the way.
Title: Re: Wifi android device synching
Post by: The T on June 15, 2020, 10:29:03 PM
I keep getting the error "file not matched in musicbee" when syncing... I am not sure if it is every single file or just a subset of them; I have noticed some ratings carrying over from GoneMad to MusicBee, but the playcounts are definitely not going up; so I'm honestly not sure if these are ratings I already did in MusicBee but just forgot (although I don't feel that's the case).

My first guess as to what might be causing is an issue is having "replace artist tag with Display artist", but I've noticed the issue occurring even on artists who match the display artist, so I don't think that's it.

What else should I be checking that's causing it? I looked through this thread but none of the other solutions seem to apply.
Title: Re: Wifi android device synching
Post by: The T on June 21, 2020, 04:19:05 AM
An update on above: if I choose "Sync Preview", over and over, with only 'Reverse Sync" selected, the number of files it lists that won't sync changes each time. Many files are consistently there, while some only show up sometimes.

What's the deal?
Title: Re: Wifi android device synching
Post by: The T on June 23, 2020, 03:20:27 AM
I can confirm it is completely broken.

1. Syncing issues does not occur with the files themselves, when adding or removing files.

2. I did an experiment: Rated a single file, and clicked sync preview over and over. Sometimes it would sync, sometimes it wouldn't. When it showed that it would sync, I clicked Sync, and immediately said sync failed.

Error Log:
Code
2020-06-22: SM-G950U;  9;  2.0.2
21:16:30: ping: socket ok=/192.168.1.6
21:16:30: ping: hello=MusicBeeWifiSyncServer/1.0
21:16:31: ping: matched=/192.168.1.6,status=OK
21:16:31: startSync: preview=true,iteration=0
21:16:31: command: action=SYNC_START
21:16:31: tryStart: connecting /192.168.1.6, attempt=0
21:16:31: tryStart: connected
21:16:31: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SM-G950U,1
21:16:31: storage: path=/storage/emulated/0,root=null
21:16:31: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:31: syncDevice: command=SendStats
21:16:31: syncDevice: command=ShowResults
21:16:31: syncDevice: command=GetFiles
21:16:31: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
21:16:31: getFiles: count=200
21:16:31: syncDevice: command=GetFiles
21:16:31: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
21:16:31: getFiles: count=0
21:16:31: syncDevice: command=ShowPreviewResults
21:16:31: syncDevice: exit
21:16:35: startSync: preview=true,iteration=0
21:16:35: command: action=SYNC_START
21:16:35: tryStart: connecting /192.168.1.6, attempt=0
21:16:35: tryStart: connected
21:16:35: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SM-G950U,1
21:16:35: storage: path=/storage/emulated/0,root=null
21:16:35: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:35: syncDevice: command=SendStats
21:16:35: syncDevice: command=ShowResults
21:16:35: syncDevice: command=GetFiles
21:16:35: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
21:16:35: getFiles: count=200
21:16:35: syncDevice: command=GetFiles
21:16:35: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
21:16:35: getFiles: count=0
21:16:36: syncDevice: command=ShowPreviewResults
21:16:36: syncDevice: exit
21:16:37: startSync: preview=true,iteration=0
21:16:37: command: action=SYNC_START
21:16:37: tryStart: connecting /192.168.1.6, attempt=0
21:16:37: tryStart: connected
21:16:37: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SM-G950U,1
21:16:37: storage: path=/storage/emulated/0,root=null
21:16:37: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:37: syncDevice: command=SendStats
21:16:37: syncDevice: command=ShowResults
21:16:37: syncDevice: command=GetFiles
21:16:37: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
21:16:37: getFiles: count=200
21:16:37: syncDevice: command=GetFiles
21:16:37: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
21:16:37: getFiles: count=0
21:16:37: syncDevice: command=ShowPreviewResults
21:16:37: syncDevice: exit
21:16:38: startSync: preview=true,iteration=0
21:16:38: command: action=SYNC_START
21:16:38: tryStart: connecting /192.168.1.6, attempt=0
21:16:38: tryStart: connected
21:16:38: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SM-G950U,1
21:16:38: storage: path=/storage/emulated/0,root=null
21:16:38: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:38: syncDevice: command=SendStats
21:16:38: syncDevice: command=ShowResults
21:16:38: syncDevice: command=GetFiles
21:16:38: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
21:16:38: getFiles: count=200
21:16:38: syncDevice: command=GetFiles
21:16:38: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
21:16:38: getFiles: count=0
21:16:38: syncDevice: command=ShowPreviewResults
21:16:38: syncDevice: exit
21:16:39: startSync: preview=true,iteration=0
21:16:40: command: action=SYNC_START
21:16:40: tryStart: connecting /192.168.1.6, attempt=0
21:16:40: tryStart: connected
21:16:40: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SM-G950U,1
21:16:40: storage: path=/storage/emulated/0,root=null
21:16:40: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:40: syncDevice: command=SendStats
21:16:40: syncDevice: command=ShowResults
21:16:40: syncDevice: command=GetFiles
21:16:40: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
21:16:40: getFiles: count=200
21:16:40: syncDevice: command=GetFiles
21:16:40: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
21:16:40: getFiles: count=0
21:16:40: syncDevice: command=ShowPreviewResults
21:16:40: syncDevice: exit
21:16:41: startSync: preview=true,iteration=0
21:16:41: command: action=SYNC_START
21:16:41: tryStart: connecting /192.168.1.6, attempt=0
21:16:41: tryStart: connected
21:16:41: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SM-G950U,1
21:16:41: storage: path=/storage/emulated/0,root=null
21:16:41: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:41: syncDevice: command=SendStats
21:16:41: syncDevice: command=ShowResults
21:16:41: syncDevice: command=GetFiles
21:16:41: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
21:16:41: getFiles: count=200
21:16:41: syncDevice: command=GetFiles
21:16:41: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
21:16:41: getFiles: count=0
21:16:41: syncDevice: command=ShowPreviewResults
21:16:41: syncDevice: exit
21:16:43: startSync: preview=false,iteration=1
21:16:43: command: action=SYNC_START
21:16:43: tryStart: connecting /192.168.1.6, attempt=0
21:16:43: tryStart: connected
21:16:43: tryStart: hello=true,fromMB=false,custfiles=false,preview=false,dev=SM-G950U,1
21:16:43: storage: path=/storage/emulated/0,root=null
21:16:43: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:43: syncDevice: command=SendStats
21:16:43: syncDevice: command=ShowResults
21:16:43: syncDevice: command=Exit
21:16:43: exitSync: fails=0
21:16:43: waitScanFiles: start
21:16:43: waitScanFiles: done
21:16:43: syncDevice: exit
21:16:45: ping: socket ok=/192.168.1.6
21:16:45: ping: hello=MusicBeeWifiSyncServer/1.0
21:16:45: ping: matched=/192.168.1.6,status=OK
21:16:46: startSync: preview=true,iteration=0
21:16:46: command: action=SYNC_START
21:16:46: tryStart: connecting /192.168.1.6, attempt=0
21:16:46: tryStart: connected
21:16:46: tryStart: hello=true,fromMB=false,custfiles=false,preview=true,dev=SM-G950U,1
21:16:46: storage: path=/storage/emulated/0,root=null
21:16:46: syncDevice: root=/storage/emulated/0,ignoreErrors=false,playlists=false,ratings=true,playcount=true
21:16:46: syncDevice: command=SendStats
21:16:46: syncDevice: command=ShowResults
21:16:46: syncDevice: command=GetFiles
21:16:46: getFiles: Get: Music/,url=/storage/emulated/0/Music/, inc=true
21:16:46: getFiles: count=200
21:16:46: syncDevice: command=GetFiles
21:16:46: getFiles: Get: Podcasts/,url=/storage/emulated/0/Podcasts/, inc=true
21:16:46: getFiles: count=0
21:16:46: syncDevice: command=ShowPreviewResults
21:16:46: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on June 23, 2020, 10:37:10 AM
i wont be able to help with this
Title: Re: Wifi android device synching
Post by: The T on June 23, 2020, 10:35:03 PM
i wont be able to help with this

who is responsible for this software?
Title: Re: Wifi android device synching
Post by: frankz on June 23, 2020, 10:51:26 PM
(https://qph.fs.quoracdn.net/main-qimg-cdca39eb3f778d4a6a38d2b1d8596519)
Title: Re: Wifi android device synching
Post by: hiccup on June 23, 2020, 10:58:32 PM
img

Thanks frankz, now I have beer over my keyboard.
Title: Re: Wifi android device synching
Post by: phred on June 23, 2020, 11:10:23 PM
who is responsible for this software?
Steven is responsible for the software. And he does this as a hobby, in his own spare time, and asks for nothing in return.

When he says he won't be able to help, it could be because he truly doesn't know how to fix it. Or he doesn't have the time to fix it. Or any other reason he may have for not addressing it.

Keep in mind a) how much you paid for the software, and b) no one is forcing you to continue using it.
Title: Re: Wifi android device synching
Post by: The T on June 24, 2020, 01:34:07 AM
wow frankz, you're an asshole.

I appreciate phred answering the question. I was asking because I didn't understand why Steven was responding; Steven made it sound like he wasn't the person who wrote this software (which I was already confused about), so I was trying to find out who did, if I was posting about this in the wrong place, I don't know.

I still don't understand why you advertise that you have a feature you don't have, though?

And I did have to waste money on GoneMad Music Player, so yeah, maybe update the topic post to state you aren't going to support this software anymore.
Title: Re: Wifi android device synching
Post by: frankz on June 24, 2020, 01:37:34 AM
wow frankz, you're an asshole.
Guilty as charged.
Title: Re: Wifi android device synching
Post by: Steven on June 24, 2020, 01:49:19 AM
I still don't understand why you advertise that you have a feature you don't have, though?
And I did have to waste money on GoneMad Music Player, so yeah, maybe update the topic post to state you aren't going to support this software anymore.
I believe this functionality works fine for most people so I wont be changing the status of it.
When issues arise, there are 3 parties involved - MusicBee, Gonemad and Android.
What I have found in the past is that the Gonemad developer while being a helpful person in general, I feel does tend to brush off issues with answers that dont involve any further digging on his part or willingness to investigate working around and solving an issue. Perhaps he has felt he already knows the answers and its not worth his time.
And Android itself as far as I am concerned is a complete mess for storage functionality and has poor documentation.
So unless an issue is something I feel is likely to be caused by MusicBee, I am not willing to spend time where I am banging my head against a brick wall
Title: Re: Wifi android device synching
Post by: hiccup on June 24, 2020, 07:54:11 AM
...

Some quotes from you:

Quote
I can confirm it is completely broken.
Which is an incorrect statement and it sounds accusing.
If you have read the thread which I assume you have, you know it works for others.

Quote
who is responsible for this software?
That brief post triggered me in a negative way also.
It could the very economic use of words and choosing the word 'responsible'.
If you have read the thread which I assume you have, you know who is putting his time and effort in all this.
To me it sounded accusing again, and you perhaps 'playing dumb' here.

Quote
wow frankz, you're an asshole.
He replied in a humorous way that probably saved you from some harsher replies from others who took your posts/assumed attitude in the same way.

Maybe you should read back how you may have been coming across on the forum until now.
Title: Re: Wifi android device synching
Post by: viktorrko on September 20, 2020, 08:43:28 PM
Hello,
I stopped using the Wifi sync some time ago because it was really unreliable and slow with my weak wifi signal (it worked fine when I was near the router), now my situation with that has changed and I decided to set it up again. I sucessfully did the first time setup, but it looks like my songs aren't properly scanned/the Android app doesn't use naming preset from MusicBee on PC. It always starts copying all of the songs, instead of just those that are missing. I made sure my devices are set up properly on PC. Is it broken right now, or am I just missing something?

DEVICE: COL-L29
ANDROID 10
APP VERSION: 2.0.2
Title: Re: Wifi android device synching
Post by: frankz on September 20, 2020, 10:15:54 PM
I made sure my devices are set up properly on PC. Is it broken right now, or am I just missing something?
It's not broken right now and hasn't changed for some time.  If you made sure your devices are set up properly on the PC I'm not sure what you could be missing.

Usually this would mean it's not set up properly on the PC, but you've checked.  Strange.

Is "as configured in Musicbee" checked in the app?

Title: Re: Wifi android device synching
Post by: viktorrko on October 13, 2020, 12:16:35 PM
I made sure my devices are set up properly on PC. Is it broken right now, or am I just missing something?
It's not broken right now and hasn't changed for some time.  If you made sure your devices are set up properly on the PC I'm not sure what you could be missing.

Usually this would mean it's not set up properly on the PC, but you've checked.  Strange.

Is "as configured in Musicbee" checked in the app?



Thanks for the reply. I eventually forgot about it and continued to use the wired syncing. Since then my PC have been restarted multiple times. I tried it again today and it worked straight away. Probably something with Windows and it's typical network issues  :D
Title: 2-way sync of playlists with GMMP
Post by: psychoadept on October 20, 2020, 02:34:08 AM
I know there's supposed to be 2-way sync with playlists in GMMP, but I'm not sure how this works. Will it only sync changes to a playlist that first came from MusicBee? Will it sync playlists that were created with GMMP?

I have my MusicBee files, including audio files and playlists, on the SD card, but MusicBee has the internal GMMP playlists folder by default, and if I try to change it and then do a sync preview, I get an "unrecoverable error" message. If I go straight to doing a sync, the sync works but the folder is not actually changed.
Title: Re: 2-way sync of playlists with GMMP
Post by: Steven on October 20, 2020, 08:32:07 AM
for the reverse sync action, the wifisync app will look on the device in the playlists folder path as specified in the MusicBee device sync settings and also the /gmmp/playlists folder (or as overriden in the wifi app settings panel)
So as long as the gone mad created playlist is in one of those folders, it should be considered for synching back to MusicBee (if the modification date on the playlist file is more recent or the playlist is new).

But you are saying you are doing a wired sync initiated from MusicBee?
In that case it will only consider the playlist path as specified in MusicBee. I would need more details on the "unrecoverable error" message eg. did you check the error log, can you post a screenshot
Title: Re: 2-way sync of playlists with GMMP
Post by: psychoadept on October 20, 2020, 09:10:14 AM
No, I'm not doing a wired sync, the error is in the app. But since you say that MusicBee is looking at both folders, it seems less important that I can't change that one.

I will still check the error log and see what I find
Title: Re: Wifi android device synching
Post by: frostbyte on October 24, 2020, 02:18:08 PM
Could someone give a full guide on how to use Musicbee and the app properly together to sync playlists and ratings together with gmmp pro? Either I am doing it wrong or it's broken. The only thing I managed to work is retrieving playlists and containing music from my PC with the app using "Playlist Sync".
Title: Re: 2-way sync of playlists with GMMP
Post by: psychoadept on October 26, 2020, 10:18:50 AM
On my latest sync, I had added some tracks to a playlist in GMMP that also exists in MusicBee, but the playlist on the phone was overwritten with the blank playlist from MB.
Title: Re: 2-way sync of playlists with GMMP
Post by: Steven on October 27, 2020, 08:19:39 AM
it will take a bit of time to review the code but my hunch is the playlist will be copied from musicbee as the first action, and if that is correct then it also needs to consider the modification date
edit: infact the reverse sync is done first, so as long as you have playlists ticked in the reverse sync options it should have copied the playlist over to your computer first and updated the computer playlist if the device playlist is more recent. However I had put in a 90 minute buffer in case the clock on the device is out of sync with the computer but on reflection thats not a good idea. So if the device and computer playlists were created/ updated within 90 minutes of each other, the reverse sync would not have updated the computer playlist. I will remove that buffer for the next update.

If you dont think that was the reason, what does sync preview show as the actions?
Title: Re: 2-way sync of playlists with GMMP
Post by: psychoadept on October 27, 2020, 03:03:25 PM
Yeah, 90 minutes doesn't seem like the problem. I update the playlist during the day, and then sync when I get home at night.

I'm actually getting that non-recoverable error message any time I try to do a preview with playlists, not just from changing the folder. If I turn off playlists, it's fine.
Title: Re: 2-way sync of playlists with GMMP
Post by: psychoadept on October 28, 2020, 04:47:43 AM
Oh, error message from phone (I'd been looking on the desktop, doh...)

2020-10-27: SM-G950U;  9;  2.0.2
09:01:09: sendPlaylists: java.lang.IllegalArgumentException: Failed to determine if 6162-6433:gmmp/playlists is child of 6162-6433:: java.io.FileNotFoundException: Missing file for 6162-6433:gmmp/playlists at /mnt/media_rw/6162-6433/gmmp/playlists
Title: Re: 2-way sync of playlists with GMMP
Post by: Steven on October 28, 2020, 08:34:47 AM
I wont be able to create a debug version until the weekend. If you have not already sent me your google play store email, can you do so and I will add you to the Internal testing list
Also have you recently changed the card used for the device external memory?
Title: Re: 2-way sync of playlists with GMMP
Post by: psychoadept on October 28, 2020, 10:08:37 AM
No, I've had the same card at least as long as I've had the phone, which is about two years.  I thought I was on the testing list but I'll pm you my email. Thanks.
Title: Re: Wifi android device synching
Post by: thezyth on October 29, 2020, 07:52:42 AM
Hey, I seem to having trouble with syncing my playlists back from my mobile device to the PC. I can't seem to figure out why. I will post the error log below. The playlists from musicbee are being stored in the SD card in different folder than all the music.

Path to music: /storage/9C33-6BBD/Music/
Path to playlists: /storage/9C33-6BBD/playlists/

Music Wifi Sync Url Changed to: /storage/9C33-6BBD/playlists/

Code
2020-10-28: SM-G988W;  10;  2.0.0
23:47:21: startSync: preview=true,iteration=0
23:47:21: command: action=SYNC_START
23:47:21: tryStart: connecting /192.168.0.10, attempt=0
23:47:22: tryStart: connected
23:47:22: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=SM-G988W,2
23:47:22: storage: path=/storage/9C33-6BBD,root=9C33-6BBD:,uri=content://com.android.externalstorage.documents/tree/9C33-6BBD%3A
23:47:22: syncDevice: root=/storage/9C33-6BBD,ignoreErrors=false,playlists=true,ratings=false,playcount=false
23:47:22: syncDevice: command=SendPlaylists
23:47:22: sendPlaylists: java.lang.IllegalArgumentException: Failed to determine if 9C33-6BBD:storage/9C33-6BBD/playlists/ is child of 9C33-6BBD:: java.io.FileNotFoundException: Missing file for 9C33-6BBD:storage/9C33-6BBD/playlists/ at /mnt/media_rw/9C33-6BBD/storage/9C33-6BBD/playlists
23:47:22: android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:170)
23:47:22: android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:140)
23:47:22: android.content.ContentProviderProxy.query(ContentProviderNative.java:423)
23:47:22: android.content.ContentResolver.query(ContentResolver.java:951)
23:47:22: android.content.ContentResolver.query(ContentResolver.java:887)
23:47:22: android.content.ContentResolver.query(ContentResolver.java:843)
23:47:22: com.getmusicbee.musicbeewifisync.FileStorageAccess.getFiles(WifiSyncService.java:1720)
23:47:22: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.sendPlaylists(WifiSyncService.java:1056)
23:47:22: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.syncDevice(WifiSyncService.java:472)
23:47:22: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.tryStartSynchronisation(WifiSyncService.java:359)
23:47:22: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.run(WifiSyncService.java:245)
23:47:22: java.lang.Thread.run(Thread.java:919)
23:47:22: syncDevice: command=GetFiles
23:47:22: getFiles: Get: Music/,url=/storage/9C33-6BBD/Music/, inc=true
23:47:22: getFiles: count=14553
23:47:22: syncDevice: command=GetFiles
23:47:22: getFiles: Get: Podcasts/,url=/storage/9C33-6BBD/Podcasts/, inc=true
23:47:22: getFiles: count=0
23:47:22: syncDevice: command=GetFiles
23:47:22: getFiles: Get: playlists/,url=/storage/9C33-6BBD/playlists/, inc=false
23:47:22: getFiles: count=0
23:47:22: syncDevice: command=ShowPreviewResults
23:47:22: syncDevice: exit
Title: Re: Wifi android device synching
Post by: Steven on October 29, 2020, 08:56:56 AM
Someone else reported the same so i am going to create a debug version of the android app on the weekend. PM me your google play store email and i will add you to the distribution list if you can help out
Title: Re: Wifi android device synching
Post by: Madmaxneo on October 29, 2020, 04:52:47 PM
Someone else reported the same so i am going to create a debug version of the android app on the weekend. PM me your google play store email and i will add you to the distribution list if you can help out
I reported a similar issue awhile back but it was syncing the playlist from PC to mobile.
Title: Re: Wifi android device synching
Post by: thezyth on October 29, 2020, 08:29:43 PM
Someone else reported the same so i am going to create a debug version of the android app on the weekend. PM me your google play store email and i will add you to the distribution list if you can help out

email sent via PM :)
Title: Re: Wifi android device synching
Post by: Steven on October 31, 2020, 06:04:01 AM
debug version for reverse playlist sync:
https://play.google.com/apps/internaltest/4700978781087552506

After doing a sync preview, open the error log and send me the info
Title: Re: Wifi android device synching
Post by: thezyth on October 31, 2020, 12:50:39 PM
I can't sync preview it errors out for me something

Code
2020-10-31: SM-G988W;  10;  2.0.0
04:49:16: sendPlaylists: java.lang.IllegalArgumentException: Failed to determine if 9C33-6BBD:gmmp/playlists is child of 9C33-6BBD:: java.io.FileNotFoundException: Missing file for 9C33-6BBD:gmmp/playlists at /mnt/media_rw/9C33-6BBD/gmmp/playlists
Title: Re: Wifi android device synching
Post by: psychoadept on October 31, 2020, 02:18:52 PM
I can't sync preview it errors out for me something

2020-10-31: SM-G988W;  10;  2.0.0

You may not have the debug version yet, the one I have reports version 2.0.3.  it still errors, but the error message is longer:

Code
2020-10-31: SM-G950U;  9;  2.0.3
08:13:20: settings: card path=/storage/6162-6433,permissions=6162-6433:
08:13:21: ping: socket ok=/10.0.0.39
08:13:21: ping: hello=MusicBeeWifiSyncServer/1.0
08:13:21: ping: matched=/10.0.0.39,status=OK
08:14:48: startSync: preview=true,iteration=0
08:14:49: command: action=SYNC_START
08:14:49: tryStart: connecting /10.0.0.39, attempt=0
08:14:49: tryStart: connected
08:14:49: tryStart: hello=true,fromMB=true,custfiles=false,preview=true,dev=SM-G950U,2
08:14:49: storage: path=/storage/6162-6433,root=6162-6433:,uri=content://com.android.externalstorage.documents/tree/6162-6433%3A
08:14:49: syncDevice: root=/storage/6162-6433,ignoreErrors=false,playlists=true,ratings=false,playcount=true
08:14:49: syncDevice: command=SendPlaylists
08:14:49: getFiles: permissions path=content://com.android.externalstorage.documents/tree/6162-6433%3A,folderpath=MusicBee/Playlists/,id=6162-6433:MusicBee/Playlists/
08:14:49: getFiles: folderUri=content://com.android.externalstorage.documents/tree/6162-6433%3A/document/6162-6433%3AMusicBee%2FPlaylists%2F/children
08:14:50: getFiles: permissions path=content://com.android.externalstorage.documents/tree/6162-6433%3A,folderpath=/gmmp/playlists,id=6162-6433:gmmp/playlists
08:14:50: getFiles: folderUri=content://com.android.externalstorage.documents/tree/6162-6433%3A/document/6162-6433%3Agmmp%2Fplaylists/children
08:14:50: sendPlaylists: java.lang.IllegalArgumentException: Failed to determine if 6162-6433:gmmp/playlists is child of 6162-6433:: java.io.FileNotFoundException: Missing file for 6162-6433:gmmp/playlists at /mnt/media_rw/6162-6433/gmmp/playlists
08:14:50: android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:165)
08:14:50: android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
08:14:50: android.content.ContentProviderProxy.query(ContentProviderNative.java:418)
08:14:50: android.content.ContentResolver.query(ContentResolver.java:809)
08:14:50: android.content.ContentResolver.query(ContentResolver.java:759)
08:14:50: android.content.ContentResolver.query(ContentResolver.java:717)
08:14:50: com.getmusicbee.musicbeewifisync.FileStorageAccess.getFiles(WifiSyncService.java:1728)
08:14:50: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.sendPlaylists(WifiSyncService.java:1056)
08:14:50: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.syncDevice(WifiSyncService.java:472)
08:14:50: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.tryStartSynchronisation(WifiSyncService.java:359)
08:14:50: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.run(WifiSyncService.java:245)
08:14:50: java.lang.Thread.run(Thread.java:764)
08:14:50: syncDevice: command=GetFiles
08:14:50: getFiles: Get: MusicBee/Music/,url=/storage/6162-6433/MusicBee/Music/, inc=true
08:14:50: getFiles: count=12929
08:14:52: syncDevice: command=GetFiles
08:14:52: getFiles: Get: MusicBee/Music/Podcasts/,url=/storage/6162-6433/MusicBee/Music/Podcasts/, inc=true
08:14:52: getFiles: count=0
08:14:52: syncDevice: command=GetFiles
08:14:52: getFiles: Get: MusicBee/Playlists/,url=/storage/6162-6433/MusicBee/Playlists/, inc=false
08:14:52: getFiles: count=0
08:14:52: syncDevice: command=ShowPreviewResults
08:14:52: syncDevice: exit
Title: Re: Wifi android device synching
Post by: HannibAlBundy on October 31, 2020, 10:21:44 PM
Hi,

I'm also trying to have a 2 way sync running for playlists with GMMP and I'm facing another issue. Not sure if it's related to what psychoadept and thezyth are experiencing...

Basically, MB to GMMP works fine but weirdly, as soon as a change is initiated from GMMP, the reverse sync causes a lot of empty duplicates on existing playlists renamed with HTML ASCII encoding and other duplicates with "playlists" as a prefix. Those duplicates don't exists before I run the MB Wifi Sync app or before I click Preview. Furthermore, empty playlists are copied in but changes are not actually reflected in MB.

Device conf:
Synchronise all music + Synchronise all playlists
Playlist storage gmmp\playlists\
Save as format M3U

GMMP Playlist conf: UTF-8

MB Playlist conf: Tried both MBP and M3U just in case it would change something

MB Wifi Sync conf: Sync from computer as configured in MusicBee / Reverse sync to computer playlists only /gmmp/playlists / from player GoneMad

Is it a config mistake or a misbehavior?

Many thanks,
Adrien.
Title: Re: Wifi android device synching
Post by: Steven on November 01, 2020, 12:14:20 AM
it still errors, but the error message is longer:
I thought it might be some problem with the root path's but
MusicBee%2FPlaylists%2F/children
works and
gmmp%2Fplaylists/children
doesnt

So assuming gmmp/playlists exists (for that exact letter casing), try changing the path in the settings to: gmmp/playlists/
Title: Re: Wifi android device synching
Post by: psychoadept on November 01, 2020, 01:49:21 AM
It still won't let me change the playlist path. It looks like the problem might be that it's looking for /gmmp/playlists on the card (that's 6162-6433), which is where all the MusicBee folders are. But /gmmp/playlists is in internal storage and not movable. I can tell it somewhere else to look for playlists, but I can't change its own playlists folder.

I don't think this is related, but I noticed that it reports MusicBee/Playlists/ as having 0 files, which is not true. Some other issue? Though if it's looking for audio files, no, there aren't any there.
Title: Re: Wifi android device synching
Post by: Steven on November 01, 2020, 03:41:36 AM
It still won't let me change the playlist path. It looks like the problem might be that it's looking for /gmmp/playlists on the card (that's 6162-6433), which is where all the MusicBee folders are. But /gmmp/playlists is in internal storage and not movable. I can tell it somewhere else to look for playlists, but I can't change its own playlists folder.

I don't think this is related, but I noticed that it reports MusicBee/Playlists/ as having 0 files, which is not true. Some other issue? Though if it's looking for audio files, no, there aren't any there.
Yes the app will only look at the sd card the music files are located so thats why it cant find the gmmp playlists. Unfortunately with the awful file permission requirements with android 10+, it wont be straight-forward for me implement.
For the MusicBee/Playlists/ folder, i am finding the same
Title: Re: Wifi android device synching
Post by: psychoadept on November 01, 2020, 04:22:11 AM
I don't need to use the gmmp/playlists folder at all, so if you can just ignore it that's fine with me.  Might not be true for everybody, though.
Title: Re: Wifi android device synching
Post by: Steven on November 01, 2020, 04:38:26 AM
I don't know gonemad well enough, so could you tell me how it works with playlists that are sourced from MB. Does it import them into gmmp/playlists/ or leave them in the MusicBee/Playlists folder ie. when you update that playlist in gonemad, does it update the playlist file in MusicBee/Playlists ?
If thats right then gmmp/playlists is just for playlists created in gonemad?

I realise now, trying to sync playlists created in the gmmp/playlists folder is not going to work well because when MB sync's back to the device it will send those playlists to MusicBee/Playlists, so you end up with 2 copies of the playlist in gonemad

edit:
never mind - editing a playlist in gonemad that was sourced from MB does update the playlist in the musicbee/playlists folder and it does sync back (with the fixed version)
I think i will remove the gmmp/playlists folder from the sync for the reason stated
Title: Re: Wifi android device synching
Post by: Steven on November 01, 2020, 05:11:02 AM
v2.0.4 - internal testers only
- fixed reverse sync of playlists from the device MusicBee/Playlists folder
- reverse sync of /gmmp/playlists folder is no longer supported

https://play.google.com/apps/internaltest/4700978781087552506
Title: Re: Wifi android device synching
Post by: psychoadept on November 01, 2020, 07:38:53 AM
Hey, something happened! Not quite as desired, but a big step!

I can do a sync preview now, and it will show me the playlists. What's not working right:

* It's reporting some of my auto-playlists as missing files (like, all the files). It probably shouldn't be trying to sync back the auto-playlists anyway. (I realize this could get a little tricky, with the playlists arriving on the phone as M3U.)

* It's syncing other auto-playlists back to the computer as static playlists with weird characters in the name (the playlists are named
correctly on the phone, but one has a space and one has a plus sign - lost in translation?)

* It doesn't see a playlist that I updated with GMMP as needing to sync. I checked that the file modification time was updated. Might be the 90 minute thing?
Title: Re: Wifi android device synching
Post by: Steven on November 01, 2020, 09:20:18 AM
The reverse sync now skips auto-playlists and if you haven't updated musicbee.exe since I made the comment about the 90 minute buffer then that would explain the file modification time not working

https://getmusicbee.com/patches/MusicBee34_Patched.zip
i will have a look at the other issues later

edit:
i can reproduce the unexpected characters in the filenames when using android 10 and should be able to fix that
Title: Re: Wifi android device synching
Post by: psychoadept on November 01, 2020, 07:35:40 PM
The reverse sync now skips auto-playlists and if you haven't updated musicbee.exe since I made the comment about the 90 minute buffer then that would explain the file modification time not working

We have liftoff! Successful reverse sync of the playlist I edited on the phone. The correct tracks appeared on it in MusicBee. Woohoo!
Title: Re: Wifi android device synching
Post by: phred on November 01, 2020, 10:01:52 PM
v2.0.4 - internal testers only
Should those of us not experiencing those issues download this version?
Title: Re: Wifi android device synching
Post by: Steven on November 02, 2020, 08:09:27 AM
v2.1 - internal testers only
- fixed reverse sync of playlists from the device MusicBee/Playlists folder
- reverse sync of /gmmp/playlists folder is no longer supported
- fixed unexpected characters/ duplicate playlists when reverse syncing playlists for some android versions

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

also make sure you update musicbee
https://getmusicbee.com/patches/MusicBee34_Patched.zip
unzip and replace the existing musicbee application files
Title: Re: Wifi android device synching
Post by: Steven on November 02, 2020, 08:51:34 AM
v2.0.4 - internal testers only
Should those of us not experiencing those issues download this version?
I will roll it out to beta and production over the next week or so. You only need it if you reverse sync playlists from GoneMad
Title: Re: Wifi android device synching
Post by: phred on November 02, 2020, 12:40:39 PM
I will roll it out to beta and production over the next week or so. You only need it if you reverse sync playlists from GoneMad
Good to know - thanks.
Title: Re: Wifi android device synching
Post by: Terry Walker on November 04, 2020, 10:01:38 AM
Thanks, @Steven. I'm delighted to know it too.
Title: Re: Wifi android device synching
Post by: Mephisto on November 05, 2020, 02:44:03 PM
Hi everyone,

I'm posting this here just in case, but my situation is such an edge case that I don't really expect a solution.

I'm using my android phone as a wifi hotspot, and my computer running the latest portable version of MB (3.4.7586 P) is connected to said hotspot. I'm also using the beta version (2.1) of MusicBee Wifi Sync.

My problem: after going through the wired sync, the android app can't locate the MB server. Looking at the error log, it seems the app is scanning the 0.0.0.XX IP range instead of 192.168.XX.XX, where my computer IP is located. If I use another phone as my wifi hotspot, and connect both my computer and my android phone as regular wifi clients, I can get the wifi sync to work as expected, so I don't think the problem comes from the firewall or Windows.

The reason why I'm still trying despite failing miserably each and every time is that I remember getting the wifi sync working once or twice despite the hotspot, but it happened several months ago and didn't last.

Anybody got an idea on how to solve this, or a way to manually input/override the computer IP in the android app?
Title: Re: Wifi android device synching
Post by: HannibAlBundy on November 11, 2020, 04:38:51 PM
Hi,

Just wanted to say thank you as the last update of the MusicBee Wifi Sync app on the beta channel solved all my reverse sync issues with playlists!
Title: Re: Wifi android device synching
Post by: DNaz on November 18, 2020, 06:41:35 PM
Hi there,



I'm new to Musicbee and loving it. Thank you for all your work. I'm using GMMP and hoping to get access to 2-way syncing between PC and Android. Is it possible to get added on as having tester access, or should I just wait (as I think you mention, Steven) the new version gets rolled out for reals?

Thanks so much.
Title: Re: Wifi android device synching
Post by: psychoadept on November 18, 2020, 07:00:04 PM
I'm using GMMP and hoping to get access to 2-way syncing between PC and Android. Is it possible to get added on as having tester access, or should I just wait (as I think you mention, Steven) the new version gets rolled out for reals?

Howdy!

Except for playlists, all the functionality should be available in the public version. It looks like Steven hasn't updated that since the playlist fix, but I would expect it soon.
Title: Re: Wifi android device synching
Post by: loripod on November 18, 2020, 08:21:00 PM
Hi, i using musicbee+poweramp on my pc and android phone and works very well  :D
i have only one question about to playcount. On my musicbee library i have a lot of playcount on many tracks, but if i check info tag on poweramp (synced by "Musicbee Wifi Sync 2.0.0) the playcount is zero like as the screenshot (https://imgur.com/a/pXNkfDK).
Sorry for my bad english and thanks for help  ::)
Title: Re: Wifi android device synching
Post by: Maestro30k on November 18, 2020, 11:12:47 PM
Hello

Starting using musicbee and WiFi sync to replace itunes and isync.

I'm using power amp to perform 2way syncs and noticed that it very sensitive. Everything i open poweramp it starts a track which I eventually skip which then eventually registers as play via WiFi sync.

Is this a player issue or an issue with wifiapp? Power amp tag don't seem to update the playcount on there end which is weird.

Edit: just realised that playcounts from musicbee don't transfer over to the device, The plays from power amp must be from when I skipped the tracks.
Title: Re: Wifi android device synching
Post by: phred on November 19, 2020, 01:53:20 AM
Everything i open poweramp it starts a track which I eventually skip which then eventually registers as play via WiFi sync.
This is a PowerAmp issue. MB has nothing to do with creating or incrementing play counts on the device player.
Title: Re: Wifi android device synching
Post by: Maestro30k on November 20, 2020, 11:17:47 AM
Hi

I know this issue was mentioned previously but I am unsure if someone ever managed to fix it.

I decided to give Gonemad player a go. Whenever I try to sync playscount the app gives error say unable to read stats. The stats file is present and I am using the unlocked version but for some reason unknown to me it does not work.

Any help is appreciated
Title: Re: Wifi android device synching
Post by: Quwanti on November 27, 2020, 01:45:53 PM
So lately I've been having trouble syncing. The app claims the server is not found. It doesn't seem like Musicbee is blocked by my firewall. This has been happening after the most recent beta update.
Title: Re: Wifi android device synching
Post by: phred on November 27, 2020, 02:17:59 PM
This has been happening after the most recent beta update.
How are you attempting to sync? Wired (USB)? WiFi?
Beta update of what? The WiFi app? MB?
What version of MB are you using? (Help > About)
How was MB installed? (Installer, Portable, Store)
Title: Re: Wifi android device synching
Post by: Quwanti on November 27, 2020, 08:11:26 PM
How are you attempting to sync? Wired (USB)? WiFi?
Beta update of what? The WiFi app? MB?
What version of MB are you using? (Help > About)
How was MB installed? (Installer, Portable, Store)
I'm trying to sync through wifi. The Musicbee Wifi Sync's latest beta update (November 2nd), which was installed on my phone (Huawei P20 lite) a few days later. I wasn't able to synch before or after the latest Musicbee update (v3.4.7625). I just noticed there was a small update (v3.4.7628) which I installed with the .exe file in the Musicbee 3.4 thread.

I tried uninstalling and clearing the cache for the wifi app.

Trying to do just a playlist sync does give an error log, which might be useful(?).

Code
2020-11-27: ANE-LX2J;  9;  2.1
14:51:24: loadPlaylists: java.net.ConnectException: failed to connect to /192.168.1.2 (port 27304) from /192.168.1.2 (port 56022) after 10000ms: isConnected failed: ECONNREFUSED (Connection refused)
Title: Re: Wifi android device synching
Post by: phred on November 27, 2020, 08:39:16 PM
Does a wired (USB) sync work?
In order to use the WiFi sync you must do a one-time wired preview or sync.
Has the WiFi sync ever worked for you?

From the error message you posted, I'd say it's a firewall issue as MB is refusing the connection. In your previous post you said "It doesn't seem like Musicbee is blocked by my firewall." If I'm reading the error correctly, it does seem like something is prevent the connection to be made. I suggest instead of guessing about your firewall, you actually confirm that MB is allowing connections.

Title: Re: Wifi android device synching
Post by: Quwanti on November 27, 2020, 10:51:55 PM
Does a wired (USB) sync work?
In order to use the WiFi sync you must do a one-time wired preview or sync.
Has the WiFi sync ever worked for you?

From the error message you posted, I'd say it's a firewall issue as MB is refusing the connection. In your previous post you said "It doesn't seem like Musicbee is blocked by my firewall." If I'm reading the error correctly, it does seem like something is prevent the connection to be made. I suggest instead of guessing about your firewall, you actually confirm that MB is allowing connections.



I had tried disabling the firewall, but nothing changed. I just now removed musicbee from the incoming connections so I could accept the prompt again, though nothing has changed yet. I also once again tried to re-install the Wifi Sync app. It doesn't seem like I'm getting a "locate server" prompt, although to my knowledge I removed all the files related to the app from my phone.

The IPv4 address for my computer (ether) would be 192.168.1.3, while wireless would be 192.168.1.4. I have tried switching the connection from ethernet to wireless wifi, but nothing changed.

As for wired sync: After I connected the phone to the computer, Musicbee (app) does recognize the phone. Wired syncing doesn't appear to work either, however.

EDIT: I can confirm wired syncing does in fact work. Does playcount syncing work through this as well, though?

EDIT2: Got it to work after setting a static IP for my computer.
Title: Re: Wifi android device synching
Post by: Bee-liever on December 11, 2020, 04:46:03 AM
Could Musicolet be added as a Reverse Sync player option please.

(I couldn't find an official plugin support page as yet, so unfortunately I've posted this in bug reports  :(  )
Title: Re: Wifi android device synching
Post by: Steven on December 11, 2020, 04:51:27 AM
Could Musicolet be added as a Reverse Sync player option please.
It depends if they have a way of exposing the play counts, ratings and playlists. Do they have a support forum (quick google search didnt find anything)
Title: Re: Wifi android device synching
Post by: Bee-liever on December 11, 2020, 05:51:08 AM
Do they have a support forum (quick google search didnt find anything)
Only on Facebook https://www.facebook.com/musicolet/ (https://www.facebook.com/musicolet/)
or email to the developer Maulik Raviya: [email protected]
Title: Re: Wifi android device synching
Post by: Steven on December 11, 2020, 07:01:31 AM
Unfortunately no ratings or playcount api. You could try requesting it (I think the request is better coming from a user)
Title: Re: Wifi android device synching
Post by: Bee-liever on December 12, 2020, 09:56:37 AM
Unfortunately no ratings or playcount api. You could try requesting it (I think the request is better coming from a user)
Have made the request.  Will see what the outcome is.
Title: Re: Wifi android device synching
Post by: phildg on December 31, 2020, 05:06:18 PM
I am new to MusicBee from MediaMonkey but I just can't seem to get two way sync working updating playcounts and last played

I have tried both PowerAmp and gonemad and in both cases I can sync music onto my Samsung S10 but not 2 way

I am getting an error wirh GoneMad: It looks like the file /storage/emulated/0/gmmp/stats.xml doesn't exist although the error says permission denied. I check the folder and there is no sign of it

Any Ideas?

2020-12-31: SM-G975F;  10;  2.1
17:01:10: ping: socket ok=/192.168.86.245
17:01:10: ping: hello=MusicBeeWifiSyncServer/1.0
17:01:10: ping: matched=/192.168.86.245,status=OK
17:01:14: startSync: preview=false,iteration=0
17:01:14: command: action=SYNC_START
17:01:14: tryStart: connecting /192.168.86.245, attempt=0
17:01:14: tryStart: connected
17:01:14: tryStart: hello=true,fromMB=true,custfiles=false,preview=false,dev=SM-G975F,2
17:01:14: storage: path=/storage/17DC-13B8,root=17DC-13B8:,uri=content://com.android.externalstorage.documents/tree/17DC-13B8%3A
17:01:14: syncDevice: root=/storage/17DC-13B8,ignoreErrors=false,playlists=true,ratings=true,playcount=true
17:01:14: syncDevice: command=SendPlaylists
17:01:14: syncDevice: command=SendFile
17:01:14: syncDevice: command=SendStats
17:01:14: sendStats: java.io.FileNotFoundException: /storage/emulated/0/gmmp/stats.xml: open failed: EACCES (Permission denied)
17:01:14: libcore.io.IoBridge.open(IoBridge.java:496)
17:01:14: java.io.FileOutputStream.<init>(FileOutputStream.java:235)
17:01:14: java.io.FileOutputStream.<init>(FileOutputStream.java:186)
17:01:14: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.loadGoneMadStats(WifiSyncService.java:1225)
17:01:14: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.sendStats(WifiSyncService.java:1114)
17:01:14: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.syncDevice(WifiSyncService.java:477)
17:01:14: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.tryStartSynchronisation(WifiSyncService.java:361)
17:01:14: com.getmusicbee.musicbeewifisync.WifiSyncService$SynchronisationWorker.run(WifiSyncService.java:247)
17:01:14: java.lang.Thread.run(Thread.java:919)
17:01:14: syncDevice: command=GetFiles
17:01:14: getFiles: Get: Music/,url=/storage/17DC-13B8/Music/, inc=true
17:01:14: getFiles: count=25
17:01:14: syncDevice: command=GetFiles
17:01:14: getFiles: Get: Podcasts/,url=/storage/17DC-13B8/Podcasts/, inc=true
17:01:14: getFiles: count=0
17:01:14: syncDevice: command=GetFiles
17:01:14: getFiles: Get: Music/Playlists/,url=/storage/17DC-13B8/Music/Playlists/, inc=false
17:01:14: getFiles: count=1
17:01:14: syncDevice: command=ReceiveFile
17:01:14: receiveFile: Receive: Music/Pearl Jam/1994 - Vitalogy/02 Spin the Black Circle.mp3
17:01:14: syncDevice: command=ReceiveFile
17:01:14: receiveFile: Receive: Music/Pearl Jam/1994 - Vitalogy/Pearl Jam - Vitalogy.jpg
17:01:14: syncDevice: command=ReceiveFile
17:01:14: receiveFile: Receive: Music/Playlists/Top 25 Most Played.m3u
17:01:14: syncDevice: command=Exit
17:01:14: exitSync: fails=0
17:01:14: waitScanFiles: start
17:01:15: waitScanFiles: done
17:01:15: syncDevice: exit
Title: Re: Wifi android device synching
Post by: frankz on December 31, 2020, 05:31:46 PM
This is not a Musicbee issue

You need to backup your stats in GMMP and set that to happen automatically.
Title: Re: Wifi android device synching
Post by: phildg on December 31, 2020, 06:07:22 PM
Thank you - I knew someone else must have seen the issue before
Title: Re: Wifi android device synching
Post by: phildg on December 31, 2020, 06:57:30 PM
Sorry for raising another issue but I'm now getting an error saying 'Unable to retrieve statistics from GoneMad player. The unlocked version of GoneMad is required, otherwise check the GoneMad error log.'

I have nothing in the GoneMad log and I definitely have the unlocked version, and I checked. The xml file is being created and looks like a standard xml file.

I did a search and noticed this was raised about a year ago but couldn't see an answer and it seemed to be on older versions of MB.
Title: Re: Wifi android device synching
Post by: highstrung on January 01, 2021, 02:18:54 AM
I am working through a similar issue (also a recent refugee from monkey-land).  I suspect it's an Android permissions issue.  I'm running Android 10 on a Galaxy S9.

If I manually trigger a 'backup stats' from GMMP, that creates the stats.xml file; after that, attempting a reverse sync shows me the "backup stats succeeded" popup (indicating it was able to trigger GMMP's backup) but nothing is actually updated in MB.

If I go into the gmmp folder on my phone, and delete that stats.xml file, then I get the same EACCESS error as appears in your logs, and never see the "backup stats succeeded" message.  Looking at the source on github, this is because if the file doesn't exist, the app tries to create it before triggering the GMMP backup, and if the creation errors out it never gets as far as the triggering.  

So my guess is that the app can neither read nor write in the /gmmp/ folder.  App permissions shows it having permissions on "Storage" but perhaps there's some further nuance to the android permissions.
Title: Re: Wifi android device synching
Post by: phildg on January 01, 2021, 02:56:00 PM
I went back to PowerAmp and can now sync play counts and last played dates without issues. Although it seems you have to play another song before the last play gets synced back to musicbee but that could well be a PowerAmp issue.
Would be nice to find out more about the GoneMad issue but at least I have a solution and can continue my migration from media monkey
Title: Re: Wifi android device synching
Post by: phildg on January 01, 2021, 07:37:29 PM
I'm getting very inconsistent results syncing back.
First I do a preview and it tells me 4 files are not matched and then I click the back button and re-select preview and it tells me 5 files are not matched. And doing it again gives me different files that are not matched which is very odd. See the two attached screenshots.


https://i.imgur.com/89zwv7K.jpg (https://i.imgur.com/89zwv7K.jpg)

https://i.imgur.com/JMxabDj.jpg (https://i.imgur.com/JMxabDj.jpg)
Title: Re: Wifi android device synching
Post by: highstrung on January 01, 2021, 09:29:15 PM
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 (https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage)  option would offer a short term workaround, but for android 11+ it would require GMMP to store the stats.xml in a different location.
Title: Re: Wifi android device synching
Post by: SuperMrBlob on January 10, 2021, 05:17:39 PM
Bug report: at least for me, this feature does not work with .cue files, at least when they need to be converted to mp3. It says it works, but it only converts the first song in the cue file. The cue file is copied (so Poweramp THINKS all the songs are there) but they are not.

Otherwise really enjoying this feature. Thank-you! Hopefully you can fix this.
Title: Re: Wifi android device synching
Post by: billouparis on January 29, 2021, 05:42:28 PM
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
Title: Re: Wifi android device synching
Post by: psychoadept on January 29, 2021, 05:53:37 PM
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.
Title: Re: Wifi android device synching
Post by: derTyp on February 02, 2021, 10:17:42 PM
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.

Title: Re: Wifi android device synching
Post by: Steven on February 03, 2021, 08:12:04 AM
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
Title: Re: Wifi android device synching
Post by: highstrung on February 03, 2021, 10:49:48 PM
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).
Title: Re: Wifi android device synching
Post by: derTyp on February 03, 2021, 10:55:09 PM
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.
Title: Re: Wifi android device synching
Post by: Steven on February 04, 2021, 06:56:34 AM
i have uploaded the latest files
Title: Re: Wifi android device synching
Post by: Calabrel on February 04, 2021, 08:16:03 PM
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
Title: Re: Wifi android device synching
Post by: psychoadept on February 04, 2021, 09:21:03 PM
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).
Title: Re: Wifi android device synching
Post by: phred on February 04, 2021, 10:16:59 PM
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.
Title: Re: Wifi android device synching
Post by: derTyp on February 04, 2021, 10:55:44 PM
i have uploaded the latest files

Thanks I sent you a pull request https://github.com/mayallst/MusicBeeWifiSync/pull/5
Title: Re: Wifi android device synching
Post by: Calabrel on February 05, 2021, 02:05:44 PM
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.
Title: Re: Wifi android device synching
Post by: SkyZippr on February 05, 2021, 02:49:35 PM
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 (https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage)  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?
Title: Re: Wifi android device synching
Post by: Steven on February 05, 2021, 10:58:19 PM
Thanks I sent you a pull request https://github.com/mayallst/MusicBeeWifiSync/pull/5
Thanks - I have sent you a PM as having some issues with the build
Title: Re: Wifi android device synching
Post by: ucynml on March 14, 2021, 03:49:03 PM
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

(https://i.imgur.com/u26rWg9.jpg)

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?
Title: Re: Wifi android device synching
Post by: frankz on March 20, 2021, 07:34:40 PM
Something I noticed that started recently (I think when I got upgraded to Android 11).

When an album with a folder.jpg is completely removed from sync and therefore deleted from the device, the music files get deleted OK at the beginning of the sync process but at the end, when MB Wifi Sync goes to delete the folder, the sync hangs and needs to be stopped with the stop button.  This leaves a folder with just a folder.jpg on the device.  I'm pretty sure, also that playlists get synched after the folder deletion, so that doesn't happen when you stop the sync with the stop button. 

Maybe a check for album art or other files in folders that are set to be deleted so they can be deleted first would solve this? It seems Android (11 at least) is preventing non-empty folders from being deleted.
Title: Re: Wifi android device synching
Post by: gvps1580 on March 30, 2021, 08:53:07 PM
Hi,

Does anyone know how to unsync a playlist from updating onto an android? I made a few playlists and had already set up the wireless sync to my phone from my PC. I've since decided I don't want some playlists automatically syncing...how do I go about removing this sync function from my phone? I've checked both PC and phone app settings (musicbee and Poweramp). Any help or feedback would be appreciated.

Thanks!
Title: Re: Wifi android device synching
Post by: phred on March 30, 2021, 09:35:31 PM
I'm a little confused. First you say you want to unsync the playlist. Then you say you want to remove the sync function from the phone.
Which is it?
If you want to remove the sync function from the phone, uninstall the app.
If you want to remove the playlist from being synced, uncheck the box next to the playlist in MB's device properties.
Title: Re: Wifi android device synching
Post by: Kenda81 on April 03, 2021, 10:05:21 AM
Hi,
I'm trying to use the MusicBee Wifi Sync (Beta) App on Android. My problem is that I can only select between internal or SD card storage. However, I need to specify a specific subfolder on the SD card which is not possible. The result is that the sync is assuming all folders and playlists are residing in the root of the SD card which is not the case, so a sync is of no use this way.

When using the app the first time, I thought I had seen the option to specify a subfolder, but currently there is no option for that. I cleared the app's data and cache which didn't help.

Thanks for looking into this or any hints.
Title: Re: Wifi android device synching
Post by: Steven on April 03, 2021, 11:28:31 AM
in the device settings you can set a sub-folder in each of the music files, audiobook files, etc
eg. music files defaults to: Music\<Album Artist>\<Album>\<Artist> - <Title>
but could be changed to: Music\folder\<Album Artist>\<Album>\<Artist> - <Title>
Title: Re: Wifi android device synching
Post by: Kenda81 on April 05, 2021, 09:47:44 AM
Hi Steven,
thanks for the quick reply. That worked! The problem was, that the storage path already contained the mentioned subfolder G8231\SD card\Music, however it must be G8231\SD card\ whereas the folder Music has to be contained in music files (Music\<Playlist>\...). Nonetheless, problem solved.

Now that it's working, I encountered two more problems.
1. When syncing playcount and rating from GoneMAD music player, I get the message that the unlocked version of GoneMAD is needed to access these. I definitely have the unlocked version and can't find any hint in the GoneMAD log as mentioned in the message. Do you have any idea?

2. When syncing playlists changed in GoneMAD back to MusicBee I get the following errors. It seems to work, as the changed playlist appears in MusicBee, however something must be not right.
Code
createFile: Invalid filename: World Music.m3u
reveiveFile: java.io.InvalidObjectExeption: Invalid filename: World Music.m3u: file=World Music.m3u
Title: Re: Wifi android device synching
Post by: phred on April 05, 2021, 01:14:56 PM
1. When syncing playcount and rating from GoneMAD music player, I get the message that the unlocked version of GoneMAD is needed to access these. I definitely have the unlocked version and can't find any hint in the GoneMAD log as mentioned in the message. Do you have any idea?
This sounds like something you should bring to GoneMad's developer.

Quote
2. When syncing playlists changed in GoneMAD back to MusicBee I get the following errors. It seems to work, as the changed playlist appears in MusicBee, however something must be not right.
Code
createFile: Invalid filename: World Music.m3u
reveiveFile: java.io.InvalidObjectExeption: Invalid filename: World Music.m3u: file=World Music.m3u
Might there be an accent or other character in the file name that's not showing here when you copied over the error message?
Title: Re: Wifi android device synching
Post by: Kenda81 on April 05, 2021, 02:54:21 PM
1. When syncing playcount and rating from GoneMAD music player, I get the message that the unlocked version of GoneMAD is needed to access these. I definitely have the unlocked version and can't find any hint in the GoneMAD log as mentioned in the message. Do you have any idea?
This sounds like something you should bring to GoneMad's developer.

If nothing helps, sure, however it's an option of the app, so I wanted to ask here first, maybe it's a general problem which looks more like it to me.

2. When syncing playlists changed in GoneMAD back to MusicBee I get the following errors. It seems to work, as the changed playlist appears in MusicBee, however something must be not right.
Code
createFile: Invalid filename: World Music.m3u
reveiveFile: java.io.InvalidObjectExeption: Invalid filename: World Music.m3u: file=World Music.m3u
Might there be an accent or other character in the file name that's not showing here when you copied over the error message?

I just typed the error message and didn't copy it. However I just double-checked that it's the exact text from the app's error log.

Thanks so far!
Title: Re: Wifi android device synching
Post by: frankz on April 05, 2021, 03:09:29 PM
1. When syncing playcount and rating from GoneMAD music player, I get the message that the unlocked version of GoneMAD is needed to access these. I definitely have the unlocked version and can't find any hint in the GoneMAD log as mentioned in the message. Do you have any idea?
This sounds like something you should bring to GoneMad's developer.
It apparently is: https://getmusicbee.com/forum/index.php?topic=28093.msg185756#msg185756

If nothing helps, sure, however it's an option of the app, so I wanted to ask here first, maybe it's a general problem which looks more like it to me.

If you search the thread for "unlocked," you'll see that the first suggestion is to manually trigger the backup to stats.xml from within GoneMAD.  This will create the file that android permissions are preventing MB from creating on its own.  However, it seems that on Android 11+ this won't matter because MB won't even be allowed to read the file in the location where GMMP wants to put it.

That's my interpretation anyway, coming to it as someone who uses PowerAmp and isn't interested in reverse sync so hasn't been following the matter too closely.

Searching for the issue in the thread might bring more info but that's what I remember.
Title: Re: Wifi android device synching
Post by: phred on April 05, 2021, 03:21:35 PM
I just typed the error message and didn't copy it. However I just double-checked that it's the exact text from the app's error log.
In the future you'd be better off using copy/paste for error messages. It eliminates the possibility of creating a typo. Or using a O when it should be a 0. Which would then send someone on a wild goose chase.
Title: Re: Wifi android device synching
Post by: Kenda81 on April 05, 2021, 05:54:43 PM
1. When syncing playcount and rating from GoneMAD music player, I get the message that the unlocked version of GoneMAD is needed to access these. I definitely have the unlocked version and can't find any hint in the GoneMAD log as mentioned in the message. Do you have any idea?
This sounds like something you should bring to GoneMad's developer.
It apparently is: https://getmusicbee.com/forum/index.php?topic=28093.msg185756#msg185756

If nothing helps, sure, however it's an option of the app, so I wanted to ask here first, maybe it's a general problem which looks more like it to me.

If you search the thread for "unlocked," you'll see that the first suggestion is to manually trigger the backup to stats.xml from within GoneMAD.  This will create the file that android permissions are preventing MB from creating on its own.  However, it seems that on Android 11+ this won't matter because MB won't even be allowed to read the file in the location where GMMP wants to put it.

That's my interpretation anyway, coming to it as someone who uses PowerAmp and isn't interested in reverse sync so hasn't been following the matter too closely.

Searching for the issue in the thread might bring more info but that's what I remember.

Thanks, I should have searched myself in the first place. :-X The post https://getmusicbee.com/forum/index.php?topic=28093.msg188582#msg188582 shows exactly my problem. Seems there is nothing more I can do at the moment than just to wait if the MusicBee app get's a fix or workaround for reading the stats.xml from GoneMAD.

If it's not possible due to Android permissions, a workaround could be to load the file from another folder when copied there.
Title: Re: Wifi android device synching
Post by: bkev on April 15, 2021, 10:03:39 AM
Yes, I'm gutted about this. I love the fact I can listen to songs on my phone and then sync the ratings and play counts back to my computer.

I've recently got an Android 11 phone and I get an error about "sendStats: java.io.FileNotFoundException: /storage/emulated/0/gmmp/stats.xml: open failed: EEXIST (File exists)"

Or  "sendStats: java.io.FileNotFoundException: /storage/emulated/0/gmmp/stats.xml: open failed: EEXIST (Permission denied)" if I manually do a backup of the stats from GoneMad player.

I've tried deleting the file, manually creating a backup but it just doesn't seem to work.

I'd really like to sync my ratings and play counts back to MusicBee from my phone.

Is there any workaround for this?
Title: Re: Wifi android device synching
Post by: bkev on April 21, 2021, 01:24:24 PM
I've checked on Google Play and the sync tool hasn't been updated for over a year - I'm not sure if it's still supported or not?

Other than the options that have already been discussed (file picker - manually move the stats.xml on the phone to a different folder and select it from there), another option is to manually copy the stats.xml to the computer where MusicBee is.

But, I don't know what the sync tool does to actually import or update the stats from the file into MusicBee.

I'd be happy ,as a work around, to copy the stats.xml to my computer but what do I need to do in MusicBee to import or update the information in the MusicBee database from the stats.xml file (play count/ratings)?
Title: Re: Wifi android device synching
Post by: phred on April 21, 2021, 08:19:22 PM
The WiFi Sync app does playcount and ratings syncing to MB on the PC only when using GoneMad Media Player or PowerAmp. If you're using a different Android player, you'll need to figure out you're own work-around.
Title: Re: Wifi android device synching
Post by: bkev on April 22, 2021, 08:20:50 AM
I'm using Gone Mad player but the WiFi sync app no longer works as it doesn't have access to the stats.xml file on my phone due to restrictions in Android 11.

I was wondering until (if?) the app is fixed if I can manually do something with the stats.xml to import the ratings and play counts into MusicBee.
Title: Re: Wifi android device synching
Post by: mgray on May 22, 2021, 11:31:52 PM
I agree with bkev. A way to directly use the stats.xml file would be ideal.
Title: Re: Wifi android device synching
Post by: Steven on May 23, 2021, 12:01:32 AM
I dont have time to look at it for quite a while, but the source code is here:
https://github.com/mayallst/MusicBeeWifiSync
if anyone with java development skills can add support for reading the stats.xml file from an additional configurable location
Title: Re: Wifi android device synching
Post by: foxgguy2001 on May 23, 2021, 04:19:12 PM
I don't have any coding experience, but I have created an issue that outlines the Android 11 permission issue.  Hopefully someone can help!  
https://github.com/mayallst/MusicBeeWifiSync/issues/6

It appears permissions for MANAGE_EXTERNAL_STORAGE is needed
https://developer.android.com/training/data-storage/manage-all-files

However, looks like that may be difficult given restrictions on apps requesting these elevated permissions:
"You should request the MANAGE_EXTERNAL_STORAGE permission only when your app cannot effectively make use of the more privacy-friendly APIs, such as Storage Access Framework or the Media Store API. Additionally, the app's usage of the permission must fall within permitted uses, and must be directly tied to the core functionality of the app. If your app includes a use case that's similar to the following examples, it's likely to be allowed to request the MANAGE_EXTERNAL_STORAGE permission:

File managers
Backup and restore apps
Anti-virus apps
Document management apps
On-device file search
Disk and file encryption
Device-to-device data migration"

I don't think it'd be feasible to ask the Gonemad dev to save the backups to the shared media locations since that information is not media, and this would fall under the 'Device-to-device data migration' use case mentioned in the list above.  May just be as 'simple' as a little permissions tweak.  I put that in quotes only because I'm not sure what that entails...
Title: Re: Wifi android device synching
Post by: thed0g195 on June 08, 2021, 09:16:12 PM
Is it normal that the App keeps syncing same files over and over, despite they've just been synced already? Are there any file changes being done when you play music in musicbee and it registers that as a file change so it wants to sync it?

Or I'll ask like this: how does Musicbee Wifi Sync know which file was synced or not, or if there are changes?
Title: Re: Wifi android device synching
Post by: frankz on June 08, 2021, 10:28:45 PM
Is it normal that the App keeps syncing same files over and over, despite they've just been synced already? Are there any file changes being done when you play music in musicbee and it registers that as a file change so it wants to sync it?

Or I'll ask like this: how does Musicbee Wifi Sync know which file was synced or not, or if there are changes?

There are files in your MB AppData folder for each device.  One of these is a MBL file - MusicBee Library.  This keeps track of what's been put on the device and when the version on the device was updated.

Each time you change a file in any way - change a tag, add or edit artwork, add or edit lyrics,etc (even automatically if your settings do this)  - it updates the "Date Modified" date of the file in Windows.  MB compares the "Date Modified" of the file on your computer to the date of the version on the device.  If the "Date Modified" on your computer is more recent than the version on the device, the file will be resynched.
Title: Re: Wifi android device synching
Post by: phred on June 08, 2021, 11:28:05 PM
Excellent explanation, frankz.
Title: Re: Wifi android device synching
Post by: frankz on June 08, 2021, 11:31:25 PM
Why thank you!
Title: Re: Wifi android device synching
Post by: SkyZippr on June 10, 2021, 01:43:27 AM
Are there any file changes being done when you play music in musicbee and it registers that as a file change so it wants to sync it?
Play count and Last played are updated when you play it in MB. In my case, anything I play on my PC gets re-synced onto my Android.
And yes, since Play count and Last played are updated, Last modified is also updated in Windows.
Title: Re: Wifi android device synching
Post by: frankz on June 10, 2021, 01:50:11 AM
And yes, since Play count and Last played are updated, Last modified is also updated in Windows.
Unless you're specifically writing these to a tag, I don't see why this would be the case.  In general those are database fields, not tagged to the file.  Nothing I listened to today that wasn't updated in some other way has today as date modified either in MB or in Windows.

Auto-tagging ratings, lyrics, artwork - these things are generally the reason a file will get modified just from being played.
Title: Re: Wifi android device synching
Post by: SkyZippr on June 11, 2021, 04:05:11 AM
Unless you're specifically writing these to a tag, I don't see why this would be the case.  In general those are database fields, not tagged to the file.
My bad. I must have altered something then, hopefully on purpose.
Title: Re: Wifi android device synching
Post by: bkev on June 16, 2021, 11:53:18 AM
The guy that maintains GoneMad said this about the sync not working:

"The legacy storage option works up to and including android 11 as long as the app targets android 10. Once targeting 11 it stops working for Android 11+

It's a simple flag in the manifest and what gmmp currently is using for storage access"

Hopefully it seems like it can be fixed by someone that understand the current code and how to add in this flag.
Title: Re: Wifi android device synching
Post by: christmw2503 on June 22, 2021, 02:16:57 PM
Just need a clarification. Wifi sync doesn't work if my PC is connected to my phone's wifi hotspot? Because sharing my phone internet to my PC, I get the error "Server Not Found". But if I connect both PC and phone to the same router, the sync works fine.
Title: Re: Wifi android device synching
Post by: phred on June 22, 2021, 08:09:02 PM
That's correct.

The PC with MB, and the portable device with the MB Sync App have to be on the same (WiFi) network.  Connecting to a hot spot is not the same as being on your own network.
Title: Re: Wifi android device synching
Post by: christmw2503 on June 23, 2021, 08:39:14 AM
Something must've changed. Earlier when the app launched, syncing with mobile Hotspot worked. I used it multiple times, even when mobile data was off on the phone. I think it was using Wi-Fi direct protocol.
Title: Re: Wifi android device synching
Post by: phred on June 23, 2021, 12:15:48 PM
Something must've changed. Earlier when the app launched, syncing with mobile Hotspot worked. I used it multiple times, even when mobile data was off on the phone. I think it was using Wi-Fi direct protocol.
From the very first post in the thread:
Instructions:
- only connections from your private network are supported

Hotspots are not part of your local (private) network.
Title: Re: Wifi android device synching
Post by: thed0g195 on June 26, 2021, 09:46:19 PM
Is it normal that the App keeps syncing same files over and over, despite they've just been synced already? Are there any file changes being done when you play music in musicbee and it registers that as a file change so it wants to sync it?

Or I'll ask like this: how does Musicbee Wifi Sync know which file was synced or not, or if there are changes?

There are files in your MB AppData folder for each device.  One of these is a MBL file - MusicBee Library.  This keeps track of what's been put on the device and when the version on the device was updated.

Each time you change a file in any way - change a tag, add or edit artwork, add or edit lyrics,etc (even automatically if your settings do this)  - it updates the "Date Modified" date of the file in Windows.  MB compares the "Date Modified" of the file on your computer to the date of the version on the device.  If the "Date Modified" on your computer is more recent than the version on the device, the file will be resynched.

Thank you, I've thought about that being the case, but the thing is I don't edit ID3 tags of those files, nor even play them. The "modified date" hasn't been changed for over a year. And yet they're always resynced. I've also tried unsyncing (deleting) all playlists from the phone (samsung a50) and then trying to sync playlists one by one. It doesn't happen with all playlists, just specific ones, but have no idea why.
Title: Re: Wifi android device synching
Post by: frankz on June 26, 2021, 10:56:24 PM
The only other thing I can think of is a change that would alter the file names for those files on the device then.  

For this to be the case only with certain playlists, you'd have to have "create a sub-folder for each playlist and its tracks" selected under the device's playlist storage settings on the settings tab of the device page.  When a playlist changes, the file names on the device will be different because they are in numbered order (to avoid duplicate file names when there are intentional duplicates in the list).  This will be the case for shuffled playlists always because the order of the tracks is different each time.

The only way to avoid this would be to not set that or to not change the playlist between synchs (using the shuffle scenario, you'd have to shuffle play on the device rather than send the device a pre-shuffled playlist).

Other than that I'm out of ideas.
Title: Re: Wifi android device synching
Post by: bkev on June 29, 2021, 08:46:06 AM
I dont have time to look at it for quite a while, but the source code is here:
https://github.com/mayallst/MusicBeeWifiSync
if anyone with java development skills can add support for reading the stats.xml file from an additional configurable location

It looks like someone has tried to add the code to at least be able to access the original file location for gmmp:. https://github.com/mayallst/MusicBeeWifiSync/pull/7
Title: Re: Wifi android device synching
Post by: Hiphopopotamus on July 07, 2021, 02:19:41 PM
Hi all. How do I get reverse sync working when using the GoneMad app on my phone? When I remove a song from a playlist in my GoneMad app and reverse sync it (checking the 'playlists' box under 'Reverse Sync to computer') to my MusicBee app on my laptop - the song is not removed.. Then, if I sync my music from my laptop to my phone - the song I removed from GoneMad reappears on my GoneMad app..

Any idea how to fix this? Ideally, the song I remove from my phone playlist is also removed from my laptop playlist.
Title: Re: Wifi android device synching
Post by: phred on July 07, 2021, 02:38:59 PM
What version of MB are you using? (Help > About)
How was MB installed? (Store, Installer, Portable)
What version of the WiFi Sync app are you using?
Title: Re: Wifi android device synching
Post by: Hiphopopotamus on July 07, 2021, 03:55:50 PM
Hi Phred :)

What version of MB are you using? 3.4.7805 Store
How was MB installed? It says 'store' next to the version number, so I guess it's that?
What version of the WiFi Sync app are you using? 2.0.0
Title: Re: Wifi android device synching
Post by: phred on July 07, 2021, 04:06:11 PM
Hmmm ... you might try updating the WiFi Sync to the latest - 2.1 although I'm not sure what changed since 2.0.
Also you might try the Portable installation and ditch the Store version. The Portable gets updated quite frequently via patches and is much easier to move should you get a new PC. Backups are very easy as you just copy the entire MB directory to a backup destination. Be sure to place the Portable in a non-Windows controlled directory. Use something like C:\MusicBee.

No guarantee that either of my suggested changes will fix your issue, but the first step in troubleshooting is to always make sure you're on the latest versions.
Title: Re: Wifi android device synching
Post by: frankz on July 07, 2021, 05:48:12 PM
In Android 11+ (is there a plus, I don't know), the MB app cannot get the necessary permissions to read the stats.xml file from GoneMad that it would need to reverse sync.  Therefore, this will not work.

https://getmusicbee.com/forum/index.php?topic=28093.msg189673#msg189673
Title: Re: Wifi android device synching
Post by: phred on July 07, 2021, 06:28:38 PM
In Android 11+ (is there a plus, I don't know)
Ahhh - that's correct. I had forgotten about the OS 11 issue. And not, there's no plus.
Title: Re: Wifi android device synching
Post by: Hiphopopotamus on July 07, 2021, 08:20:20 PM
Cheers frankz. I only have the Android OS S9 -   does that have the same problem?
Title: Re: Wifi android device synching
Post by: phred on July 07, 2021, 08:25:39 PM
Cheers frankz. I only have the Android OS S9 -   does that have the same problem?
OS 9 presents no issues. That's what I'm using.
Title: Re: Wifi android device synching
Post by: Kanobis on July 08, 2021, 09:44:26 AM
I just tried the sync app for the first time (into GoneMad). Brand new device (FiiiO M11) and brand new downloads of MB, GoneMad, and the Sync App. Did a test run of 2GB before I put my (massive) music collection on my device. The 2GB took nearly 30 minutes to transfer. That seems very slow to me, but not having done this before, I don't know. Is that a normal speed for wifi? I tried a wired sync first, and while it was much, much faster, half of my metadata didn't copy over within the files (or at least it didn't show up in GoneMad) and my music library in GoneMad was a mess as a result, so I deleted everything and did a new sync with the wifi app. I read somewhere that wifi sync is more reliable in that regard and indeed it was and my GoneMad library is nice and clean now. But at this speed, it's going to take me a year to transfer a couple terabytes.
Title: Re: Wifi android device synching
Post by: phred on July 08, 2021, 12:15:47 PM
Just about every report I've read states that WiFi sync is substantially faster than a USB sync. I too find it to be much faster.

If I recall correctly, my last 'full' sync of about 140gb took about six hours.
Title: Re: Wifi android device synching
Post by: Hiphopopotamus on July 08, 2021, 08:46:33 PM
Hi Phred. Looks like reverse sync could work on my current phone then (using the portable version) as I have OS 9, but not on the phone I'll be getting next week as it'll be the Galaxy S10 and from what I can see it'll have OS 11  :'(
Title: Re: Wifi android device synching
Post by: phred on July 08, 2021, 09:01:10 PM
Hi Phred. Looks like reve