Bug 147596 - [patch] mtp device ratings and usecount support
Summary: [patch] mtp device ratings and usecount support
Status: RESOLVED UNMAINTAINED
Alias: None
Product: amarok
Classification: Applications
Component: Collections/MTP player (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: HI wishlist
Target Milestone: ---
Assignee: Andy Kelk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-06 04:47 UTC by Michael Ralston
Modified: 2011-12-20 11:45 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch to read ratings and usecount from a mtp device (2.38 KB, patch)
2007-07-06 04:48 UTC, Michael Ralston
Details
mtp-rating_usecount.diff (2.18 KB, patch)
2007-07-06 08:01 UTC, Michael Ralston
Details

Note You need to log in before you can comment on or make changes to this bug.
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 :(