Improved device support, syncing, mtp, last.fm

Jeff Mitchell kde-dev at emailgoeshere.com
Thu Jan 10 11:48:04 UTC 2008


Not in stable.  libmtp allows you to get access to the number of times a track 
has been played, although I thought I once heard that this is broken on some 
players.  Regardless, you'd have to store information in the database linking 
some unique identifier on the device to a usecount.  You could probably use 
the item_id attribute, although I don't know if these get recycled or not.

--Jeff

On Wednesday 09 January 2008, Nicholas Arehart wrote:
> Okay. Well, is there any way to implement what he was talking about.
> Specifically, submitting tracks played by an MTP device to last.fm?
>
> On Jan 9, 2008 5:25 PM, Jeff Mitchell <kde-dev at emailgoeshere.com> wrote:
> > Nicholas--
> >
> > There's no patch attached.  According to the email, it says "a non-text
> > attachment was scrubbed"...it looks like it was interpreted as a binary
> > file.
> >
> > Also, I assume these changes are against trunk.  Changes like this cannot
> > go
> > into the stable branch.
> >
> > --Jeff
> >
> > On Sunday 06 January 2008, Nicholas Arehart wrote:
> > > Helps if I attach the patch...
> > >
> > > Sorry
> > >
> > > MR
> > >
> > > On 7/6/07, Michael Ralston <michael at ralston.id.au
> > >
> > > <https://mail.kde.org/mailman/listinfo/amarok>> wrote:
> > > >* Attached is my changes to the mtp device code to provide access to
> > >
> > > *>* ratings and usecount.
> > > *>*
> > > *>* I see that this patch should be submitted to kde bugzilla but the
> >
> > link
> >
> > > *>* on http://amarok.kde.org/wiki/Hacking_On_Amarok_HowTo to kde's
> > > *>* bugzilla is broken.
> > > *>*
> > > *>* Can somebody review this?
> > > *>*
> > > *>* Michael R (StratPlayedBlue)
> > > *>*
> > > *-------------- next part --------------
> > > A non-text attachment was scrubbed...
> > > Name: mtp-rating_usecount.diff
> > > Type: text/x-patch
> > > Size: 2436 bytes
> > > Desc: not available
> > > Url :
> >
> > http://mail.kde.org/pipermail/amarok/attachments/20070706/624cd8fe/attach
> >me
> >
> > >nt.bin
> > >
> > > Hi. I would like to ask the author if this patch works and how I would
> > > go about implementing it. I am very interested, please write back and
> > > let me know.





More information about the Amarok mailing list