Jump to content

Amarok/Archives/AmarokInsider15

From KDE Community Wiki

Amarok Insider #15

In This Issue

   * What's New in Amarok
   * Spread Amarok Love!
   * Interview with a Developer: Leo Franchi
   * Podcasts on your Mobile Device
   * Automated Playlist Generator - Control Your Collection
   * Weekly Windows Build Now Available
   * Editorial: Organizing a Music Collection
   * Show us your Amarok

What's New in Amarok

  • Did you notice a lovely tune loaded into your playlist? It is Art Of Nations (Amarok Theme), written just for you, our beloved Amarok users, by allMeadow & Rob Costlow. To share it with your friends, either turn them on to Amarok (of course!) or send them here: [1]
  • The Handbook returns, beginning with the Quick Start Guide. For now, available in UserBase while translations are under way: [2] . Soon in Danish, German, English, Spanish, Finnish, Italian, Ukrainian, Chinese (China), Chinese (Taiwan)! Thanks so much to the Amarok Documentation Team and the KDE Translation team for their hard work. If you are interested in helping with the ongoing work on the Amarok Handbook, please contact us on [email protected] or talk to us in #rokymotion on irc.freenode.net
  • Dynamic Collections have been upgraded; external hard drives and USB mass storage will now properly refresh once they have been scanned by Amarok.
  • Collection Browser caching bug has been found and squashed flat. Restarting Amarok should no longer be necessary to get some changes in your collection to be properly displayed.
  • Cover fetching has some more improvements. More sophisticated fetching options, and ability to search not just Last.fm, but also Google and Yahoo images, as well as Discogs. (note: Discogs support may or may not get into the next release, depending on Discogs)
  • Two new applets, Similar artists and Upcoming events.
  • The mysterious bug some experienced with the Info applet has been fixed.
  • More improvements on the file browser, including the ability to paste in an Amarok URL. This makes it easier for you to share tracks you have found in Magnatune or Jamendo with your friends. In fact, pasting in AmarokUrls is possible in any category now, not just the file browser. The breadcrumb can be put in edit mode anywhere.
  • Our excellent new Automated Playlist Generator, to join your saved playlists, and our Dynamic Playlist. See article below.
  • Amarok 1.4 Database Importer: added support for importing labels.
  • Podcasts can now be filtered on provider and grouped in folders. They also can be transferred to a UMS device; see article below.

Spread Amarok Love!

http://amarok.kde.org/en/node/760 is now online, thanks to Abhi. Connect with us, and spread the word. Follow and re-tweet/dent, blog about Amarok and your favorite music, contribute help and advice on the Forum and list, help us at the booth when we're at a local con or free software meeting.

And I can't believe I never noticed this before, but Amarok has a shop, at [3]. Really, two shops, one for the European Union, and one for the US. I've just bought two T-shirts, so I'm ready for the next F/OSS event!

Interview with a Developer

Leo Franchi (lfranchi in IRC) was cornered in IRC recently, and graciously granted us an interview. I asked, Why are you an Amarok devel? What drew you to the project; what interests you, and what parts are you working on?

L: "I was originally drawn to the Amarok project back in 2004 because it was the only player that had good support for Last.fm. I had been fighting Rhythmbox with an unofficial plugin that was flaky and frustrating, and decided to give Amarok a try even though I didn't use KDE or any other KDE apps."

V: Interesting, Amarok is what kept drawing me back to KDE also.

L: "After a while I began to be more interested in contributing, and helped out with the Amarok Live project, a short-lived project designed to provide livecds running Amarok and, more important to me, the ability to create custom Amarok LiveCDs with new music to bring to friends or parties. I then participated in the Google Summer of Code as a student, working on the Context View in the upcoming Amarok 2, and the rest is history...

"I haven't done much Amarok work recently though. Right now I'm working on libechonest. It could be used for Amarok, and it makes sense for me to port it, but I have other projects I want to use it in. I didn't feel like re-writing the support manually, hence the need for libechonest. To explain just a bit, libechonest is a small C++/Qt library that wraps the API provided by The Echo Nest [4], including a collection of music analysis and similarity functions." [Ed.: You can use Echo Nest right now, in the Dynamic Playlist Custom Bias.]

V: So you were already interested in developing when you got involved in Amarok?

L: "Yeah, I was in high school but interested in CS and programming in general."

V: Someone was discussing bringing back the LiveCDs; that would be fun, and could be on flashdrives.

L: "Yeah, should be a lot easier now, especially with SuseStudio [5]. That isn't a programming job. Interested users could do it." [Ed.: Music lovers, now you know whom to ping for help with this!]

V: How does your development work fit in with the rest of your life? Discuss other hobbies/activities if you like.

L: "My day job is Qt development, as I work for KDAB [6]. So though at times some KDE work of mine is directly related to work, it is usually separate. I contribute to KDE/Amarok when I find some free time and the dedication to spend more time in front of my monitors :)

"Other hobbies and activities - mostly cycling right now, though I'm trying to get back into doing more film photography and rock climbing."

V: Those fit together nicely! How can readers best help you in your development tasks?

L: "Hmmm. Learn a scripting language and write cool amarok scripts? :D

"Or filing good bugs! And helping triage bugs especially."

V: Is Amarok progressing as you like? What do you see ahead?

L: "Amarok is progressing; its pulse ebbing and flowing as an open source project's pulse will. I hope to see a few annoying bugs fixed in the upcoming release and the cool features that will emerge from the various Summer of Code students that worked on Amarok this summer."

V: I'm really looking forward to that as well!

L: "Thanks for the interview."

V: Thank YOU for taking the time.

Podcasts on your Mobile Device

Bart Cerneels (Stecchino in IRC), one of our Amarok developers, explains that it is possible to move podcasts onto portable devices if they will run as USB Mass Storage, which not all players will do. He says,

It is available in 2.3 but could be hard to figure out. Here is how:

  1. Plug in the device running as USB Mass Storage
  2. Click on Open with File Manager when KDE gives you the option to mount the device
  3. There will now be an extra entry in Media Sources > Local Music for your player
  4. Right-click this item and go to Collection -> Configure [player's volume name]
  5. Configure the podcast folder and, for ease of use, check the box to automatically use when connected.

Now an extra entry will be visible in the Podcast section. Make sure Merged View is off to see it. Any podcast episode you downloaded now can be copied to the player using drag and drop.

What is currently not working yet is automatic transfer to your media player. This depends on playlist synchronization support and is a work in progress.

Automated Playlist Generator - Control Your Collection

Amarok 2.3.1 brings with it the Automated Playlist Generator. Now you can use your collection to its fullest extent, to burn CDs, help you study for an hour, or party all night long. You can see a few playlists being generated here on Youtube [7]. In the first example shown, there are no constraints given, and you see that when the "Run APG with the Selected Presets" icon is clicked, the playlist is filled with random tracks.

Using the APG is a two-step process; first you set up and name your conditions, then you add all the conditions you want met for your playlist. You can be very specific about what sort of music you are automatically selecting, whether you are sorting by genre, artist, rating, when the tracks were added, etc. So, where do we find this magic APG?

[screenshot of Playlists, and APG opened]

You've seen the video, and we have 5 example playlists you can play with. So select the first example, and then click the Edit icon. This pops open the APG Preset Editor.

[screenie of APG Preset Editor]

Example one is "new tracks added this week." The first Tag match isn't set, so let's set it. Once you click on Match Tag: Added to Collection on $DATE you will be able to set the date. If instead you click the next Tag match, Play Count less than zero, you can then adjust the playcount constraint you want -- less than, equal to, or greater than a number.

If you want to use this Playlist Generator again, change the name, and click OK. Before you generate a playlist, be sure you have saved the one you are presently playing if that's important to you, because it will be replaced! The blue arrow will generate your playlist. Have fun!

Weekly Windows Build Now Available

Amarok as long been truly cross-platform, available not only in Linux, but also Windows and Mac OS. See these links [8], [9] for more information. These require some knowledge, and are rather daunting for the beginner.

Daniel from Australia has created an alternative approach, a weekly build with installer (and uninstaller) included. He's available in our regular #amarok channel as Nitrostemp, or Nitrosfm. Daniel is looking for testers, so please talk to him in IRC, or drop him an email. See the ReadMe: [10]. Sceenshot of Installer: [11]. Download: [12].

Editorial: Organizing a Music Collection

If I had to do it all over again, how would I organize my collection?

First, if I had it all to do again, I would make sure that I found the perfect ripping application, set it up exactly as I want it, and use nothing else. I've mentioned the difficulties of this bit before, [13] here. In any case, a perfect ripping app will find the proper track numbers, titles properly spelled, capitalized and punctuated, write ALL the tags correctly, including the correct year, artist, composer, track and or album artist, and CD number if it is a multi-CD album. So far I've not found this paragon, but Kaudiocreator does a pretty good job. And when it doesn't, SoundJuicer is a good backup.

If I had it to do all over again, I probably would have ripped into FLAC rather than ogg, and the old mp3s. Hard-drives keep getting cheaper, and it's relatively easy to transcode for transfer onto a mobile device. Amarok will be able to do that on the fly, very soon. :-)

However, I'm happy with the quality of my oggs, since I mostly listen to my music through the speakers of my laptop. Even with my wonderful earphones on, tracks sound good. A few of the old mp3s need to be re-ripped, or bought from Amazon, once Amarok gets a music store. I've been trying to label them as I notice tracks with skips, pops, crackles or other problems. (Context/right-click menu: Edit Track Details -> Labels tab)

If I was going to start again with my huge pile of CDs next to me, I better choose how the tracks are named. The artist/album/track scheme is part of your file organization. Some people like to add an alpha level as well, but I can generally find anything I want very fast in Amarok's collection search bar. Some like to have the year as part of the album title, either Album: year or Album - year. I prefer to have the year in tags, and have Amarok display the year in the Collection browser automatically.

Finally, how specifically to name the track? I like Artist or Track Artist - track # - Title.ogg. However, [14] Picard, my favorite tagger, automatically writes them Track #. Artist/Track Artist - Title.ogg. So if I was going to do it all over again, I would go with Picard's system, so it could auto-fix both the tags AND the titles if necessary. As it is now, sometimes I have to fix the titles so they fit into my system, and that's a bit of a chore.

Of course, I've side-stepped the question -- who is the artist? In the case of classical music, the artist is the composer. If there were only Composer and Performer tags which were used consistently everywhere! But they are not, not even in [15] MusicBrainz. So we have to make the best of a crazy world. So classical works are Composer/CD Title/Composer - Track # - Major work: movement.ogg. Whereas most modern music doesn't mention the composer of the music, or lyric-writer, only the band or other performer. Oh, and on a track with a guest artist, I use (feat. Guest Artist).ogg as the end of the track name. Again, not perfect, but at least I can find artist information in a search.

I should mention Various Artists, too. Compilations, splits, etc. are never handled perfectly. I sort all the soundtracks, compilations, collections and such into the Various Artist folder (rather than Artist). But still, I sometimes have to search for the album name in my collection, right-click and choose Display in Various Artists -- FOR EACH TRACK! A bit of a pain, but some prefer all tracks to be sorted by artist, and Amarok isn't a mind-reader. Maybe I would do away with VA, if I had it to do all over again. My way, some albums by Yo-Yo Ma, for example, are in VA, because he's playing a selection of composers, whereas other albums are sorted with Ma as the Artist, because he is both composer and performer. Oh, for more perfect tagging!

If I was going to do it all again now, I probably would figure out Amarok's CD ripping system first, and use it for everything. It uses K3B as a ripping backend, which is marvelous. It automatically tags, using MusicBrainz as Picard does. And Amarok File Tracking (AFT)[16] is then done at the same time, so one less step for Amarok to do as it catalogues my music.


Show us your Amarok

We know you love to customize Amarok your way, and why keep that a secret? Show it to the rest of the world by simply sending us a screenshot of your Amarok, and we'll upload it to our official [17] Flickr account, giving you appropriate credit. Also, if you're good at making screencasts, just send them to us, and we'll make sure it shows up on our [18] Youtube channel. But hey, don't be sad if you're not a big fan of customizations, you can still send us a screenshot of the latest version of Amarok, as our front page needs some visual love. So fire your imagination, make it look great, dress it up with a song if you want, and capture the wolf in its full glory! Remember to send along the details, such as what version, distro, and theme you are using.