I've posted a few things over the years about android device sync with mediamonkey. Well... i think I may well be on the cusp of a complete playcount/skip count/auto playlist function!
What I want:
I want to be able to sync my android device with MM, but also retrieve information back from the device re: playcount, skips etc. This information can then be put back into the MM db and Autorate accurate can take this info into account when rating. I can then use playlists to resync based on the rating applied by autorate accurate.
What I can't have and why:
I cant have the bit that collects data on the phone and moves this back to MM (skip count etc). I can however collect the data from lastfm and bring that back to MM, which when used with a scrobbler that only scrobbles after 50% of the track is played, sort of allows me to influence the results of Autorate Accurate. There is currently no way of collecting this data from the android device as no players support such a bespoke development.
What i've now got:
I have modified a lastfm sync script (found on this forum) so that it collects the last 10 pages of my history and directly updates the play count of the scrobbled tracks. This works well, and after sync I can see my MM matches lastfm history. I use a scrobbler on the phone that only scrobbles (read: logs the play) if over 50% is played. I can't record skip count on the phone, nor can I flag for deletion.
What I plan to do:
I'm working with the developer of the MusicMod player (based on stock) for android. He is producing me a version that will create a log file of track played, skip count, flag for delete etc. This is the missing bit as far as i'm concerned. Once I have this information, I plan on importing this during the sync process in MM, deciphering the content and adding it into the MM db. After this process, i'm hoping I will be able to replicate the "play" on the mobile device exactly as if it had been played in MM.
for this to work in a sensible fashion I need some help from those of you who know MM development. If you could please post your comments/opinions on the idea as a whole and the following points:
1. I would like to have MM "pick up" the log file from the phone during sync. I'm not sure how this would/could work in the current sync environment of MM. Could the existing process be adjusted via script?
2. Once I pick up the file, I think there's enough in the last.fm script for me to rework some updates to post the data back into the db. Is there an internal skip counter in MM or is that something that's unique to the Autorate Accurate script? If this is the latter, I think i need to adjust the custom field ARA uses for storing its ratings. Does anyone have any ideas on this?
If anyone would like to help develop this then I think this could be the missing link between MM & Android....
comments please?
