Sync back ratings & play counts (MSC) v1.9.3 2013-12-03

Download and get help for different MediaMonkey Addons.

Moderators: Peke, Gurus

Re: Sync back ratings from portable device (MSC) v0.7 2011-0

Postby Aff » Sun Oct 16, 2011 6:09 pm

dricardo wrote:Question---Any way to make it so that it only syncs the most recently updated ID3 tags to your pc? (ie: some ratings from your phone sync back, but some that have been updated more recently on your pc remain) (...)
I'm with you...I think new files on the pc with blank ratings should get overridden with the phone rating if it exists..
Keep up the great work man!

Implemented in v0.8.1! Now by default the script only syncs back if the rating was changed on the device, so when you only changed the rating on the PC it wouldn't get overwritten anymore. Additionally there is an option to not sync back even if the rating was changed on the device, but the file date is newer on the PC and there is a rating on the PC.
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings from portable device (MSC) v0.8 2011-1

Postby threehills » Tue Oct 18, 2011 11:44 am

PM sent!
threehills
 
Posts: 9
Joined: Sun Aug 09, 2009 1:44 pm

Re: Sync back ratings from portable device (MSC) v0.8 2011-1

Postby Aff » Fri Nov 04, 2011 5:29 pm

threehills wrote:I'm also getting the sync back error mentioned previously "you have no syncronized devices".

The problem was that WMDM instead of USBMass was used. SyncBackRatings only supports USB Mass Storage Devices, not Windows Media Device Manager (see the OP please).

The reason is that the Android implementation of WMDM/MTP doesn't support ratings (see http://code.google.com/p/android/issues/detail?id=12433). Otherwise MM would be able to read and sync back ratings by itself.

And here comes a short description on how to set up a mobile phone or any device as MSC:
1. Mount your device in USB mode
2. In MM you will see it as a drive letter
3. Maybe there are 2 or 3 drive letters, so check which is the one with the music on your device
3. Go to Tools > Options > Portable/Audio Devices and check whether the device has been detected by MediaMonkey's WMDM plugin. Uncheck that device.
4. Select the 'Generic Portable/Audio Device' plug-in and press 'Configure'
5. On the 'Device Configuration' tab, enter the Drive Letter and a Drive Label (e.g. "SPH-D710"). (Find the USB Device ID if you are sure). Press 'OK'. Once this is done, when the device is plugged in in the future, it will be recognized by the Generic Portable/Audio Device plugin instead of the WMDM plugin.
6. Configure the device (storage locations, conversions etc.)
7. Auto-Sync
If you have several MSC devices you can simply create a copy of Plugins\d_USBMass1.dll for every device.
You may read some more in the help:
http://www.mediamonkey.com/sw/webhelp/frame/index.html?mtpdevices.htm
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings from portable device (MSC) v0.7 2011-0

Postby Aff » Mon Nov 21, 2011 6:50 pm

wtanksleyjr wrote:(...) can't wait for the play count sync (...)

gege wrote:But what really caught my attention was the ability to import/export play statistics (...). If you add support for this, then we could get a real sync between device and MM, like what MM already does with iPods and iPhones.(...)

Done! :D 8)

Aff wrote:At the moment, the export of play statistics from PlayerPro in iTunes format doesn't seem to work. (...) The Songbird format works, but it has no file path, only title, artist and album. If you change one of those tags in MM, the track can't be matched anymore.

I was able to use the existing logic where I match a track by MM ID and Auto-Sync file path, which then gives me the current title, artist and album on the device. This is quite a safe way to determine a track independent of changed tags (but of course double identical tags may be an issue where only the first matching track would be synced back).
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings from portable device (MSC) v0.7 2011-0

Postby petermgates » Tue Nov 22, 2011 8:11 am

Aff wrote:I was able to use the existing logic where I match a track by MM ID and Auto-Sync file path, which then gives me the current title, artist and album on the device. This is quite a safe way to determine a track independent of changed tags (but of course double identical tags may be an issue where only the first matching track would be synced back).


This is great! Am I right in saying that in order to sync play counts, you would need to export that data to a songbird format xml file (in the playerpro settings menu) beforehand? [EDIT - Just read the first post again and my question is answered].

There is a slight issue for devices that have both internal and external storage. Playerpro saves its data on internal storage by default and if the user syncs media to the external SD card (as I do) then the script has no access to the exported xml file (unless it is manually copied to a \playerpro\stats folder on the external SD).

There's not really much that can be done about this other than perhaps make a note for people wishing to use the script.
petermgates
 
Posts: 7
Joined: Wed Aug 17, 2011 12:53 pm
Location: London

Re: Sync back ratings from portable device (MSC) v0.7 2011-0

Postby Aff » Tue Nov 22, 2011 5:04 pm

petermgates wrote:There is a slight issue for devices that have both internal and external storage. Playerpro saves its data on internal storage by default and if the user syncs media to the external SD card (as I do) then the script has no access to the exported xml file (unless it is manually copied to a \playerpro\stats folder on the external SD).

Thanks a lot for your feedback. I just didn't have the time yet to cover this case, but in a next version there will be an option to choose a different drive for the XML.
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings from portable device (MSC) v0.7 2011-0

Postby Aff » Sun Nov 27, 2011 2:23 pm

Aff wrote:
petermgates wrote:There is a slight issue for devices that have both internal and external storage.(...)

(...)there will be an option to choose a different drive for the XML.

No option needed, as the new version 1.1 automatically scans all available removable drives for the newest XML statistics file!

In the very rare case that the folder and file could be found on several attached removable drives (e.g. from a backup or another attached phone) it would be enough to make sure that the one you'd like to sync back has the newest file date (i.e. was the last export).
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings from portable device (MSC) v0.7 2011-0

Postby petermgates » Mon Dec 05, 2011 6:15 am

Aff wrote:No option needed, as the new version 1.1 automatically scans all available removable drives for the newest XML statistics file!


Fantastic. This script really has made me happy. I now have a decent workflow for rating my music on the move and playcount sync is the icing on the cake! Now I need to press the dev of PlayerPro for a simpler or automatic way of exporting the stats.

Is there a way I can support your great work or perhaps just buy you a beer to say thanks?
petermgates
 
Posts: 7
Joined: Wed Aug 17, 2011 12:53 pm
Location: London

Re: Sync back ratings & play counts (MSC) v1.1 2011-11-27

Postby Aff » Sun Dec 11, 2011 9:55 am

Thank you very much for your kind words and appreciation. I'm really happy if the script is useful and makes other people happy! :) :)
To support just comment here as you did or maybe recommend it at other places. I may be looking for beta-testers as well for a next version. If download figures exploded I would think about a donate button, but surely there are better ways to get rich. :wink:
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings & play counts (MSC) v1.1 2011-11-27

Postby gpzbc » Mon Dec 12, 2011 9:50 am

I hate that when I play my songs on my Android, the play count does not change. So I love the idea of this script, but unfortunately I use PowerAMP for my music player on Android. It is actually a very good player. Is there any chance of supporting other players besides PlayerPro?

Thanks for your work.
--
The gpzbc
gpzbc
 
Posts: 1223
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: Sync back ratings & play counts (MSC) v1.1 2011-11-27

Postby Aff » Mon Dec 12, 2011 5:06 pm

If a music player somehow creates a file containing the necessary information (play count, album, artist, title), there is a chance of supporting it.
As far as I know PowerAMP has no ability to do this. You may contact the author of PowerAMP to propose an export functionality similar to PlayerPro.
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings & play counts (MSC) v1.1 2011-11-27

Postby gpzbc » Tue Dec 13, 2011 10:52 am

Thanks, I will request it.

EDIT: Here is the link to my feature request in the forum: http://forum.powerampapp.com/index.php? ... playcount/
--
The gpzbc
gpzbc
 
Posts: 1223
Joined: Sat Sep 13, 2008 12:02 am
Location: Colorado, USA

Re: Sync back ratings & play counts (MSC) v1.1 2011-11-27

Postby rexrod » Thu Dec 15, 2011 2:25 pm

Just curious, would it be possible to have this script sync back skip counts as well? I'm using this along with PlayerPro and it works great. However, it would help me out if they skip counts also could be sync'd back to MM. I believe PlayerPro keeps track of these. I was browsing through the script file to see if I could add this myself, but it is way beyond my knowledge level to try to do this change on my own.

Great add-on to MM! This has made using my phone for playing music much easier.
rexrod
 
Posts: 2
Joined: Thu Dec 15, 2011 2:19 pm

Re: Sync back ratings & play counts (MSC) v1.1 2011-11-27

Postby Aff » Fri Dec 16, 2011 3:10 pm

rexrod wrote:(...) sync back skip counts (...)
Thanks for your suggestion, I will implement this in the next version.
Aff
 
Posts: 300
Joined: Sun Oct 05, 2008 4:46 pm
Location: Switzerland

Re: Sync back ratings & play counts (MSC) v1.1 2011-11-27

Postby pdbc » Fri Dec 16, 2011 7:49 pm

Great script...if only I succed in making it works :-(

HTC Desire, Cyanogen 7.1, PlayerPro, MM 4.0
I synced a trial playlist with MM. I listened and rated some songs. Then, I did an "Export statistics" in Songbird format and I connected my mobile to my laptop (d_USBMass1.dll). I launched on MM "Sync Back ratings", and all I receive is a "No songs found to be updated". But I checked the stats made by PlayerPro, and everything is correct. Here is an extract:
<mediaitem>
<last-played>1324082126273</last-played>
<artist>Catherine Zeta-Jones, Susan Misner, Deidre Goodwin</artist>
<track>Cell Block Tango</track>
<album>Chicago OST</album>
<duration/>
<rating>4</rating>
<play-count>1</play-count>
<skip-count/>
</mediaitem>


So, where is my mistake (I suppose is an error of mine, obviously)?

Thanks, and keep on updating this!!! You are doing the work which should be done by Android developers!!!
pdbc
 

PreviousNext

Return to Need Help with Addons?

Who is online

Users browsing this forum: No registered users and 14 guests