[Tomahawk Integration] GSoC Report

Lucas Lira Gomes x8lucas8x at gmail.com
Mon Jul 9 21:15:44 UTC 2012


Hi everyone,

i've been fixing bugs and improving overall performance of the tomahawk
service. It's a bit lazy to load big collections(50k tracks) and I haven't
figured yet how I can make its loading faster. And yes, I'm running track
loading and removal in the background using Threadweaver jobs. By the way,
I modified the database integrator to use SqlCollection QueryMaker, instead
of a full scan, to sync tomahawk db for the first time.

Although Amarok is successfully sending, to other peers, the info about
what the user is listening, I still need to create a menu to change privacy
modes. I guess the best way to show what others peers we're listening is in
an applet. But since there are more urgent matters for now, then I'll
postpone its creation.

Another problem is that tracks in playlists aren't playable anymore after I
restart Amarok. I've been looking for possible solutions with no success,
The thing is that tomahawk tracks needs their source and it's only
available when the user is connected. Does anybody know how to force
playlists to "solve" their tracks again when a new peer becomes online?
This part is for after midterm, so no hurry ^^.

Last but not least, I'm writing a new blog post to show the current state
of the Tomahawk service.

My tomahawk repo: https://github.com/x8lucas8x/tomahawk (amarokready branch)
My amarok repo:
http://quickgit.kde.org/index.php?p=clones%2Famarok%2Fgomes%2Fmaskmaster-amarok.git&a=summary
(tomahawk
branch)

Regards, Lucas Lira Gomes.


----------------------------------------------------------------------------------
Lucas Lira Gomes (llg)
Linux User #533002
Tel.: (81) 9235-0916

www.about.me/lucasliragomes


On 26 June 2012 23:09, Lucas Lira Gomes <x8lucas8x at gmail.com> wrote:

> Hi everyone,
>
> Last two weeks weren’t the most productive of all, since some tests and a
> project consumed a lot of my time.
> In spite of that, I finally managed to play tomahawk streams in Amarok. To
> query others collections is working too.
> For those curious, tomahawk service is using capabilities, since it's the
> less intrusive way to play tomahawk streams
> in the EngineController.
>
> Right now I'm coding some logic(Creating a wrapper to AclRegistry class)
> to allow amarok to display dialogs showing
> other users requests to be able to listen to your streams. Next steps
> include the following:
>
> - Display tomahawk service connectivity information in the amarok
> diagnostics dialog.
> - Make other peers aware of what you're listening to.
> - Add a menu with options to disconnect tomahawk sips, listen music in
> private and etc.
> - Use SqlCollection QueryMaker, instead of a full scan, to sync tomahawk
> db for the first time. (More elegant approach ^^)
>
> The four steps above are relatively easy to implement, so no need to worry
> about the time line ;}.
>
> Obs.: The source in my repo will be updated as soon as I finish the
> AclRegistry wrapper.
>
> Regards, Lucas Lira Gomes(MaskMaster).
>
>
> ----------------------------------------------------------------------------------
> Lucas Lira Gomes (llg)
> Linux User #533002
> Tel.: (81) 9235-0916
>
> www.about.me/lucasliragomes
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/amarok-devel/attachments/20120709/41521888/attachment.html>


More information about the Amarok-devel mailing list