Wednesday, 11 September 2013

GSoC: Weeks 10 and 11

So here's what you can do with Amarok scripting now:

Theming Scripts :)
You can now theme Amarok with stylesheets and QPalettes ( it should have been possible with the existing API too, via QCoreApplication.instance(), but hey )
Perhaps not the best my Amarok has looked, but you get the idea

New Script Console
Here's the new scripting console with QtScriptDebugger components, though I'm yet to diagnose a nasty crash...

Some GUI Access
You now have scripted access to the collection view and the main window, so you can add collection view actions, scripted docks etc.

There's other random stuff, like a convenient setTimeout function with the option of specifying this object and arguments, a mode which lists object names (and copies them to clipboard) for stylesheeting, and a random experiment with a QScriptEngine hooked to a the code completion model (not too useful for now), and some fixes.

Plus, there's a new script in the works, but more on that later.

Sorry, I've been irregular again, but I've had a lot going on these past two weeks :|

This week though there are more serious plans: script access to the context view, tags and podcasts (I seem to have missed this :/).

You can find all of this on my gsocScripting2 branch on Thanks for reading :)


  1. It is great to see your very nice progress! Scripted Docks will be fantastic in combination with scripts like "Rating Statistics".

  2. Can Amarok be made look and behave like iTunes/Banshee? It is much more easier for me to have playlists on one side and all my music on the second panel.

    1. You can change the layout to make it look quite differently since quite some time already: View menu -> Unlock Layout and then move the panes around to your liking. As for the behavior I can't tell, as I never used any of the other players.

  3. Is it posible to play a track directly from the collection instead of first adding it to the playlist? It's really handy being able to do that.

    1. No, but if you double-click a track in the collection, it's going to be added to the playlist and it will also start playing instantly. So it's effectively the same result.

  4. A good educational portal tutorial you like to shared with us.
    Education of refugees is very necessary for all of us. Because they need a lot of support in every field of life to stand. We should love such people and fully try to no complain regarding the behavior of us. Now here i must say above teacher is doing great. I have read some stories of teachers at which may good to acknowledge the actual situation of such people.

  5. I should say thank you very much for this thought. It gives me more knowledge on this issue. tik tok video

  6. So, the second last week of the official coding period is over now. During the last two weeks, I was mostly occupied with on-campus placement drives,