Tag Archives: amarok 2

KDE 4.3 Upgrade

I took the plunge this past weekend and upgraded.  Several bugs I filed — ultimately only was a “me too” — have been fixed.  The login screen is now an annoying sky-blue color, so I need to combat the kdm greeter again to get it to let me theme it (usually means editing a text file).

I also updated a VM and have been trying to compile Amarok 2.1.1 from source.  I will then try and compile the source from gitorious (a git-hub source control system) to see if another bug has been fixed.  There is one major outstanding issue with it that needs fixing, and then I might be convinced to move to it:  they desperately need an equalizer.

Somewhere amidst all of this, I finally tried KDE’s remote desktop again (KRDC).  My biggest complaint with it has finally been fixed:  they pass through the control keys.  As I type this, I think they may have fixed that some time ago, but it reminds me that KDE has a viable remote desktop application!  (The more I muse, I think I am thinking of NoMachine’s NXClient which doesn’t pass through things like alt+tab — very annoying…).

As I sit here writing this, my Windows laptop is hung, and I need to find a way to cleanly exit programs without simply killing them or hard-booting.  I don’t intend the aggravated bias, but I never have this problem with Linux… seriously.

M4A Music Files, Linux, and Amarok

By choice, these files have some issues under Ubuntu.  There is “something” about the origins of M4A that disagree with the Ubuntu (and Debian) mission statement/s.  So, some manual steps need to be taken to get proper playback.

If I remember correctly, Amarok 1.4.9 did not play M4A files at all.  This appears to have been fixed under 1.4.10.  That is nice.  However, the tags are not read correctly, nor can they be updated — that is not so nice.  So, to get Amarok to read these tags, some manual compilation is necessary.

It is actually not as hard as it sounds once all of the necessary information is aggregated from “umpteen” different sources.  I’m strongly tempted to simply put together a shell script to do this.  I wouldn’t be able to verify it on all systems, but with adequate embedded comments, the ambitious person would be enabled to coerce it to work on their system, assuming it needed coercion.

(1)  Downloading the sources from the Amarok site and using the command-line is essential.

(2) The commands end up being quite easy.   It assumes (a) the source has been downloaded, (b) the source has been extracted (tar xvfj amarok-1.4.10.tar.bz2) into a directory, and (c) you are in said directory.

$ sudo apt-get build-dep amarok
$ sudo apt-get install libmp4v2-dev libfaad-dev libavcodec1d libavutil1d libfaac0 libgsm1 liblame0 libpostproc1d libxine1-ffmpeg libxvidcore4 libfaad0 libmp4v2-0 libmpeg4ip-0 libmpeg4ip-dev
$ ./configure --enable-mysql --enable-postgresql --with-libmtp --with-libgpod --with-mp4v2
===  Amarok - PLUGINS  ========================================================
= The following extra functionality will NOT be included:
=   - NMM-engine
=   - Helix-engine
=   - yauap-engine
=   - Rio Karma Support
= The following extra functionality will be included:
=   + xine-engine
=   + libvisual Support
=   + MySql Support
=   + Postgresql Support
=   + Konqueror Sidebar
=   + MusicBrainz Support
=   + MP4/AAC Tag Write Support
=   + iPod Support
=   + iRiver iFP Support
=   + Creative Nomad Jukebox Support
=   + MTP Device Support
=   + DAAP Music Sharing Support
Good - your configure finished. Start make now
$ make
$ sudo make install

Note these lines, the presence of the “+” is very important:

=   + MP4/AAC Tag Write Support
=   + iPod Support

No plus, no functionality.

This worked under Kubuntu 8.10.1 using KDE 3.5.10.  This does not work under Kubuntu 9.04 using KDE 4.2.2.  I am going to wait for Amarok 2.2 to come out and see what improvements have happened.  My compelling reason to do this at this point would be to get my “smart playlists” back along with better M4A support.  Amarock 2 has M4A support (though buggy in 2.1.x) playlists and dynamic playlists, but they seem to have not understood the value of smart playlists and how the way they worked in KDE 3.5.x / Amarok 1.4.x was good.  I understand “radical new version, radical new features”, but I consider the absence of these a deal-breaker at this point.

I hope to update this post later when I get a successful compile of Amarok 1.4.10 under Kubuntu 9.04.