Woho! I finally have a new toy in Amarok worth blogging about!
Today I want to introduce the first draft of the Playlist Layout Editor for Amarok 2.1. In an earlier
post, I discussed the new customizable playlist rendering engine and the underlying configuration system. I also hinted that there would be a simple and easy way of customizing your playlist layout. This is exactly what I have been working on for a little while now. And while the results are still mainly at the prototype stage, I think it is far enough along that it is worth giving a sneak peak at.
So lets get some screenshots on the table!
Building on the "Token Dragging" code crated by our GSoC student
Teo Mrnjavac we now have an easy to use editor where the layout of a playlist item can be created and modified using drag and drop and a simple config menu. Currently saving these layouts back to xml (loading from xml into the editor works fine ) is not implemented yet, but it is possible to apply a modified layout to the playlist by pressing the "preview" button.
As can be seen, a playlist layout basically consists of 3 configs, one for each major element in the playlist. Album Heads, Album Body, and Single Tracks. The editor has a tab for each of these, but the way they are edited and created are exactly the same. In the last screenshot can be seen how an illusion of ungrouped tracks can be obtained by making the Album Head item have 0 rows and making the Album Body and Single Track items have the same layout.
Enough for now, I had better get back to playing with... uhm... working on this thing!