Nikolaj Hald Nielsen

Subskrybuj zawartość RSS: Amarok Blog - freespirit - Amarok developers at work
Amarok developers at work
Zaktualizowano: 14 min. 31 sek. temu

Plotting Total World Domanation

August 9, 2008 - 21:50
The wolf has once again descended on Akademy. Last year there were 6 of us, this year that has more than doubled. Come the hacking marathon on monday, this will hopefully lead to a great amount of code, technical discussions, bugfixes and general coolness.


( there are a few people missing from this picture )

Tonight was the social event, with great food and great ( and strong... ) Belgian beer. As should be evident from the above picture, the Amarok'ers were making the most of this and having a great time ( I am sure some of them are still going strong as I am typing this... )

An event like this is, as Aaron illustrated, also the perfect place to ponder the needed steps for KDE to achieve ultimate and inevitable goal of total world domination.

Kategorie: Planet Amarok

Velocity

July 13, 2008 - 13:02
About 4 days ago, the Amarok team released the first Alpha of Amarok 2. For an alpha, it actually seems to run very well, but of course it still has crashes, bugs and lots of rough edges.

Since this release, the pace of development has been absolutely astounding. In those 4 days, we have so far had well over 150 commits, including 13 bugs closed. We have not been moving forwards this fast since the very first few days when we started porting Amarok to Qt4 and KDE4, and I am not even sure that sprint quite matched this one.

One of the main causes for this speedup is, in my opinion, the constructive feedback we have received on the alpha release. So I would like to extend a big Thank You to all the people taking the time to test our alpha release and offering feedback and bug reports.

And just to give you something to look at, here is a post alpha screenshot from today. Even though most of the fixes we have done are below the surface, there are still a few visible changes. And yeah, the new applets need to blend with the system colors, which they currently do not at all :-)



As a reminder for those wanting to try out the very latest version, or who are tracking the status of a particular bug, there is always the excellent Project Neon
Kategorie: Planet Amarok

Amarok 2 now supports uploading to personal Mp3Tunes locker

June 20, 2008 - 12:16
Thanks to Casey Link, my GSoC student ( whose blog unfortunately is not on planetkde yet ), it is now possible to upload your tracks directly from Amarok 2 to your personal Mp3Tunes.com locker. How cool is that? :-)

Much more info and screenshots at Casey's Blog
Kategorie: Planet Amarok

Mp3tunes GSoC project status

June 17, 2008 - 20:25
This summer, I am mentoring Google summer of Code student Casey Link ( aka Ramblurr on IRC ). Casey is working on improving the Mp3Tunes service in Amarok 2, updating it to use Mp3Tunes brand new GPL C lib instead of using their REST API directly, allowing up and download of music, and finally complete automatic synchronization of content.

Casey has been blogging a weekly progress report detailing the work he has done. As his blog is ( not yet ) on planetkde, I thought I would post the links to his first 3 reports here:

GSoC Report - Week 1
GSoC Report Week 2: libmp3tunes goodness
GSoC Report Week 3: Tanstaafl

Overall I am very pleased with Casey's progress. He has approached his project with great enthusiasm and has already committed a lot of working code. I just hope he does not end up completely reversing his daily rhythm because he has a European mentor in a very different time zone! :-)
Kategorie: Planet Amarok

Return of the playlist browser

June 15, 2008 - 09:16
One of the key pieces still missing from Amarok 2 has long been a usable playlist browser.

So last weekend, as my girlfriend was busy studying for an exam anyway ( how come I always seem to get so much code done when she has exams? ) I decided to do something really simple that would fulfill my own immediate use cases, and still be flexible enough for expanding on later.

We had previously discussed that we wanted Amarok 2 to keep its own playlist in the database, as this would allow us to easily tailor the way we store them to our needs. Of course, it should also be possible to import and export playlists from files. So after 2 days of intense hacking, and a little cleanup over the last week or so, we now have a simple playlist browser that supports arbitrary grouping through virtual "folders" that can be created and organized, using drag and drop, anyway the user likes.

So here is the obligatory screenshot:



Below the main playlist area to the right, there are now two "save" buttons, a save and an export ( I need to find a better icon for one of them ). The export button does what the save button previously did, it saves the playlist to an external file, while the save button now adds the playlist to the playlist browser and starts a rename operation so the user can quickly give it a sane name.

In time, this playlist browser will be expanded to show playlists from media devices and potentially many other places, but for now, it works great despite being very simple.
Kategorie: Planet Amarok

Greater than the sum of parts ( Video podcast support )

June 4, 2008 - 08:46
Yesterday something really cool happened. It is not something that was planned or that we even really thought about at the time.

It all started with me trying to add a few fixes to the podcast browser in the playlist tab, as I could not get it to show the actual podcast episodes. Although managing to get in a few fixes for related errors, I could not get it to work. I then sang my song of woe to Bart, who, even though he is really busy with preparations for Akademy, sat down and beat the code into shape. So now the podcast view works, even though it still does not save subscriptions between sessions.

Then later in the evening it hit me. Between the podcast view working, the Podcast directory service I did a while back, and Mark's brand new video applet we now have this:



How cool is that? :-)

As is obvious from the screenshots, the metadata of the podcast episodes is a bit lacking still, and there are other minor annoyances as well, but the basics of video podcast support is there and working quite well.

EDIT: Oh, and I obviously forgot to switch to an antialiased font when I completely wiped and rebuilt my KDE4 the other day! :-)

- Nikolaj
Kategorie: Planet Amarok

A Cool little hack! ( Free, public domain, audio books in Amarok 2 )

May 28, 2008 - 09:43
A little while back, Amarok's very own Lydia Pintscher, aka. Nightrose, blogged about a session on free culture at FOSSCamp. Among the comments to that blog entry was a suggestion to integrate free, public domain audio books from Librivox.org into Amarok 2. This spurred a bit of a discussion which resulted in someone coming up with a link to a nice XML api for searching their catalog.

Now, regular readers of my blog will well know what happens when I see a nice API for searching free content.... :-)

So, after about an hour and a half of hacking, I give you the brand new Librivox.org service script:



As it is implemented as a ruby script, and not as a native C++ service, it is quite limited in its functionality, but it works great for searching for and streaming audio books. The scriptable service framework is turning out to be quite useful. It allows for very rapid prototyping of new services, that are very usable, even if some of them would benefit from being ported to native services. I also think that having a few good scripted services ship with Amarok 2.0 will inspire other people to write new interesting services, and provide examples on how to do so.

Kategorie: Planet Amarok

Magnatune, everywhere!

May 26, 2008 - 08:56
This post has little to do with Amarok. In fact it is quite blatantly beating my own drum and that of my employer, but I thought it was worth mentioning here anyway as it is something I am quite exited about and something that might be of interest to all you bloggers out there. ( And it will give me an excuse to actually try it out myself ) :-)

Now, with that out of the way....

Over the last few days, we have implemented support for embedding every single album at Magnatune into blogs and web pages. On every album page there is now an "Embed this album" link that leads to a page where you can configure a small embedded player and then copy paste a bit of code into your own page. The player comes in two major varieties ( with and without a visible playlist ) and the ability to start playing automatically or require the user to press play ( I much prefer the latter option ). The size of the player can also be configured. Of course, the player plays full versions of each track, only interrupted by a small add nag add at the end of each track.

So, to give you a taste, here is one of my long time favorite albums from Magnatune.com:

( EDIT: Ok, so it seems this blog plays a bit of havoc with the layout.... )
( EDIT 2: The planet does not like the player, so to see it, you will have to go to the actual blog )





I hope people will find this fun and useful, and that we will see these players pop up all over the place.
Kategorie: Planet Amarok

A wolf in designer clothing

May 20, 2008 - 11:07
Ok, so I kinda liked the latter iterations of the Graywolf look for Amarok 2. Apparently, not many others did though. So Lee Olson ( our main artist at the moment ) and I have been thinking of alternatives for a while. And It would seem we have finally come up with something that has managed to get most of the Amarok team excited. It is still in the initial phase and a lot of work is needed still, but so far it is already a huge improvements to the overall look of Amarok 2, at leasts in my humble opinion. This new look is much more clean, and actually a lot closer to our initial idea of what Amarok 2 should look like.

But all this text really does not give an idea of what this looks like, so here goes:



Besides just updated SVGs and a new way of rendering the background, it is also worth noting that a great number of redundant borders and frames have been removed. Of course, the theme still uses the system palette to blend in, even though, it at the moments adds just a touch of color. So on other themes, it looks quite drastically different:




I personally find the black one quite striking, although the highlights in the background would likely benefit from being "tuned down" just a little bit.


On the technical side of things, all the SVG graphics has been moved into a single file and a DBus command has been added to load a different SVG file without restarting Amarok. This, along with out new nightly build service NEON, makes it a lot easier for artists to contribute, as it is no longer necessary to build Amarok 2 and dependencies from source, or rebuild Amarok 2 just to try out some changes in the SVG file. Hopefully, this will allow more artists to contribute in the near future.
Kategorie: Planet Amarok

Magnatune memberships launched, Amarok 2 offers full support

May 8, 2008 - 18:06
Finally, after hacking on it on and off for over 6 months, Magnatune has officially unveiled the 2 new membership options "stream" and "download". So as not to sound like a bad commercial, I will let John tell the story about these services.

What I would like to spend a little time on, even though I have touched on it before, is the cool way in which Amarok 2 already offers full integration for these 2 new memberships.

With a stream membership, all of the preview streams from the Magnatune service become available in high quality ( 160kbs ) ogg with no nagging speaker announcement at the end of each. ( if configured to use oggs, the mp3 files are also nag free but the same quality as the non member version ). This makes all the Magnatune service content almost indistinguishable from local content. Configured with a download membership, not only are all the streams high quality and nag-free, but the "purchase" option turns into "download" and lets you download as many albums as they like for free ( basically just skips the credit card screen and goes straight to the download dialog ). With a download membership, Amarok 2 essentially turns into the world's first music player with an integrated, unlimited, DRM free music download subscription service ( as far as I can tell ).

Another, slightly more obscure way these memberships affects Amarok 2 is that it can automatically convert Magnatune streaming urls from other sources into membership streams ( if configured to use a membership ). So, for instance, a stored playlist of non-membership mp3 streams can automatically be transformed into high quality membership oggs by Amarok. This makes it possible to do a cool Magnatune service front page in Amarok 2 that just links to "normal" mp3 streams and still ensure that the members get to hear the nag free streams.

Ok, so I am excited ( can you tell? ), but I have been working on these memberships for a long time and has taken great care to ensure that Amarok 2 would be ready to use them when they were launched. So now we just need to get Amarok 2.0 out the door...
Kategorie: Planet Amarok

Amarok recieves first Magnatune sales commision

April 29, 2008 - 07:12
This is something as rare as a non-technical blog post from me, but I though this was worth posting!

yesterday Magnatune and Amarok decided that it was time Amarok received its first payout of the money earned as commission by selling Magnatune albums through Amarok. This came out to $1155.70 which is 10% of the $11,557 (!!) in sales that Amarok has generated so far. That is actually really good I think! This money will be used to cover hosting and conference costs of the Amarok project and thus will help further improve Amarok.

Besides giving Amarok a 10% commission, Magnatune also employs me, and allow me to spend about half my time Hacking on Amarok, so they truly are a very big supporters of Amarok, and we are delighted to be working with someone who really "gets" free software and free culture.

With the greatly improved Magnatune integration in the upcomming Amarok 2, and the eventual release of Amarok 2 on Windows and Mac, it will be really interesting to see how far we can take this in the future. For now, I hope that the Amarok users will continue to buy music through Amarok, as it is a great way of supporting Amarok development, at the same time as supporting independent artists, who get a full 50% of the purchase price.

John Buckman ( the founder of Magnatune) blogged about this here
Kategorie: Planet Amarok

GSoC: One Intro with a side order of awesome ( Full MP3Tunes support )

April 25, 2008 - 07:20
In this years Google Summer of Code, I will be mentoring Casey Links project "Amarok: MP3Tunes Service Enhancements". I asked Casey to write a small introduction about himself and his project:

Hey everyone! My name is Casey Link and I am an undergraduate Computer
Science and Philosophy major at Virginia Tech in Blacksburg, VA. As a
part of Google Summer of Code I will be tightly integrating the
MP3Tunes service with Amarok 2 as well as implementing a generic
synchronization framework between Collections. In Amarok 2, collections
have been abstracted, allowing Amarok to treat a local SQL collection the
same as an online Web Service based collection. Why is this awesome?
With the addition of the service architecture (thanks to Nikolaj) it is now
possible to plug in remote, local, and soon portable collections without
having to differentiate between their interfaces.

Not convinced yet? Here is a real example of just how cool this is.

Enter MP3Tunes. MP3Tunes provides an "online music space" for its
users to store their entire music collection so they can listen to
their music anywhere. Using their API and client libraries,
applications can be developed for just about any device, so you can
literally listen to your music anywhere! This summer I will implement
full MP3Tunes functionality into Amarok so you can seamlessly
synchronize your local music collection with your MP3Tunes Locker. Not
only will you be able to upload your local music collection, but if
you add music to your MP3Tunes Locker via other methods - such as
buying music from an online store - the new tracks will be added to
your collection. This is just the beginning. Technology is seeing a
trend towards ubiquitous connectivity and information storage in 'the
Cloud'. It won't be long before "local" and "remote" are terms of the
past as you are able to seamlessly access your information everywhere.
Amarok and MP3Tunes will be on the forefront of this technological
shift. I hope you'll be there with us.

I am really exited about this project, as this is one of the initial ideas I had when creating the MP3Tunes service, but unfortunately never had time to implement ( Anyone knows where I can get 10 clones made cheaply? ). I also think that some of the less visible framework stuff that this project will complete will be really usefull for other cool things, such as downloading an album from Magnatune or Jamendo straight to a media device or online locker without storing it in your local collection. So lets give Casey a warm welcome and hope this project turns out as great as I think it has potential to.


On a related note, you might be aware that MP3Tunes is currently engaged in a lawsuit with EMI over the legality of storing your own, legally acquired music online. Their CEO has published a letter about this, describing why he sees this as an attack on the concept of digital ownership. I think this battle is worth following as it is not about piracy or file sharing, but really about what you can do with your own music. And here I thought that EMI was at least starting to come around...

Kategorie: Planet Amarok