getmusicbee.com

Support => Portable Devices => Topic started by: Uri on July 08, 2017, 05:51:26 PM

Title: 2 way syncing on android
Post by: Uri on July 08, 2017, 05:51:26 PM
Hi Steven,

I am trying to find a way to do 2-way sync with an android app, and I saw that you mentioned that android developers aren't using the database correctly and that is why it doesn't work.

After reaching out to a developer, he can't seem to find the proper way to use the database assuming it still exists.

Can you please help with this, or clarify? https://github.com/kabouzeid/phonograph-issue-tracker/issues/234#issuecomment-313865421
Title: Re: 2 way syncing on android
Post by: Steven on July 08, 2017, 06:21:02 PM
i am afraid i dont know anything about how to access the MTP file data values from the android device side.
For ratings this is the MTP field that is written to/ read from by MusicBee:
WPD_MEDIA_USER_EFFECTIVE_RATING:
                WPD_MEDIA_USER_EFFECTIVE_RATING.fmtid = New Guid(785955333, 2771, 17116, 176, 208, 188, 149, 172, 57, 106, 200)
                WPD_MEDIA_USER_EFFECTIVE_RATING.pid = 17

a more common field might be the track title which i would expect an android media player to be retrieving some how
                WPD_MEDIA_TITLE.fmtid = New Guid(785955333, 2771, 17116, 176, 208, 188, 149, 172, 57, 106, 200)
                WPD_MEDIA_TITLE.pid = 18
Title: Re: 2 way syncing on android
Post by: Uri on July 08, 2017, 08:13:20 PM
The developer does not think it will be possible to write to MTP file through Android and closed the Github issue.

https://github.com/kabouzeid/phonograph-issue-tracker/issues/234

I suppose I will have to make a last.fm account to do this and deal with all of the weird issues that causes, if I want a smart playlist without recently played songs.