Bug 147596

Summary: [patch] mtp device ratings and usecount support
Product: [Applications] amarok Reporter: Michael Ralston <michael>
Component: Collections/MTP playerAssignee: Andy Kelk <andy>
Status: RESOLVED UNMAINTAINED    
Severity: wishlist CC: aikawarazuni, amarok-bugs-dist
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: patch to read ratings and usecount from a mtp device
mtp-rating_usecount.diff

Description Michael Ralston 2007-07-06 04:47:47 UTC
Version:           svn (using KDE KDE 3.5.7)
Installed from:    Ubuntu Packages
OS:                Linux

added some code to sync ratings and read of mtp usecount, enables submitting last.fm data for songs played on a mtp device.
Comment 1 Michael Ralston 2007-07-06 04:48:30 UTC
Created attachment 21068 [details]
patch to read ratings and usecount from a mtp device
Comment 2 Michael Ralston 2007-07-06 08:01:39 UTC
Created attachment 21069 [details]
mtp-rating_usecount.diff

fixed absent 'const' declaration on methods.

confirmed this works with half stars.
Comment 3 Andy Kelk 2007-07-06 23:16:11 UTC
Hi Michael,

Thanks for the updated patch. Could you add the code to make this a user-selectable function?
The ipod code should give you pointers on this. It's basically adding a config option to set the m_syncStats property.

Comment 4 Myriam Schweingruber 2009-08-13 13:28:34 UTC
Alejandro, this has somehow slipped form our attention, can you use this?
Comment 5 Mikko C. 2009-11-28 10:54:06 UTC
this patch is for amarok 1.4, I don't think it's of any use for amarok 2 :(