Author Topic: 2 way syncing on android  (Read 2858 times)

Uri

  • Newbie
  • *
  • Posts: 9
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

Steven

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

Uri

  • Newbie
  • *
  • Posts: 9
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.