Author Topic: Enhancements to device synching  (Read 1116 times)

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4010
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.
The latest MusicBee v3.2 patch is available here.
The latest MusicBee v3.3 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7716
SWEET, looking forward to this!
MusicBee Wiki
Use & improve MusicBee's documentation!

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

railfan-eric28

  • Jr. Member
  • **
  • Posts: 28
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.
I'm using a Galaxy S7, a Galaxy Tab S 8.4, Poweramp, and Musicbee.

zkhcohen

  • Jr. Member
  • **
  • Posts: 71
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.

frankz

  • Hero Member
  • *****
  • Posts: 1055
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!

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4010
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.
The latest MusicBee v3.2 patch is available here.
The latest MusicBee v3.3 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files

klint

  • Sr. Member
  • ****
  • Posts: 381
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

Babydoll32

  • Jr. Member
  • **
  • Posts: 50
Hi, Steven.
Great news!!! GMMP and Rocket Player are good ones. My favourite is Rocket Player. Hope you're successful!

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 28595
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

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4010
I'm certainly willing to give it a run around the block. PM sent with play store email address.

The latest MusicBee v3.2 patch is available here.
The latest MusicBee v3.3 BETA patch is available here.
Download & unzip into your MusicBee folder, overwriting existing files

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 28595
i'll delay this to the weekend as i realise there are a couple more things i want to test

Freddy Barker

  • Sr. Member
  • ****
  • Posts: 365
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.
Last Edit: February 14, 2019, 09:42:02 AM by Freddy Barker
MB Portable v3.3.6982
Last FM: Fred_Barker
Wordpress: Diversity FM

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 28595
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

klint

  • Sr. Member
  • ****
  • Posts: 381
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

zkhcohen

  • Jr. Member
  • **
  • Posts: 71
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