Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 16th September 2007, 07:54 PM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
Amarok, Easytag, etc. -- the perfect media management with FC7

Required packages:
Code:
yum install amarok amarok-extras-nonfree PyQt kdebindings easytag libtunepimp-extras-nonfree grip k3b mysql-server lame k3b-extras-nonfree
In order, these packages are: amarok, additional plugins for amarok, requirement for the cover art script, requirement for the lyrics script, program to edit tag data, requirement to fingerprint mp3's with monkeybrainz, cd ripper, cd burner, and requirement for using MySQL, codec for encoding mp3s, k3b mp3 support.

Amarok is, to be quite humble about, the greatest media player ever. (for the non-minimalist, anyway) If you have a huge collection organized by album, it can't be beat.

One of the first cool features it has is that it can use MySQL/PostgreSQL to index your music collection.

Setting up the mysql database
First, turn on the mysql server you just installed above:
Code:
/sbin/service mysqld start
Also set it to be on automatically when you boot next time:
Code:
/sbin/chkconfig mysqld on
And, lastly, create the mysql database that you will be using:
Code:
mysql -u root
create database amarok;
grant all privileges on amarok.* to yourloginname@localhost identified by 'thepasswordyouchoose';
Now, to finish, start up Amarok, select MySQL as the database storage method, and provide the name of the database (amarok) username (your login) and password as above.

Managing metadata with easytag
Amarok will now index your entire collection according to the Artist/Album metadata in the mp3 files. You will probably notice a few misnomers if you haven't been completely tidy about maintaining your music. Here, you will have a few options: (1) Edit the data in Amarok yourself (2) Have amarok look up the music with monkeybrainz (this option is also in the edit tag tab) (3) use easytag.

Using easytag is best for large collections. It's fairly simple but the interface is a little counter intuitive, so I feel it would be a good idea to explain how it works.

You must select files, apply changes, and then save the changes in order to change the data in a file.

If you select a series of files, change metadata, and then hit the very small box next to that metadata field, it will change the metadata for all of the files. Otherwise, you only effect that particular file.

If you select a CD's worth of files, you can look it up in the CDDB database. This is the best way to update the metadata on an album because you don't have to do any typing! (If it doesn't find it and you know the album name, try a manual search.)

Scripts part 1: Getting lyrics
There are a lot of great scripts for amarok available here .
You can enable scripts by going to Tools->Script Manager..

The first script we would like to use is the Wiki-Lyrics script. Amarok comes with a lyrics grabber by default, but it only decent, not amazing. I have never found a song that the Wiki-Lyrics script failed to find the lyrics for, so that is what I recommend.

Since you already installed the requirements for it above, now you just need to download it and tell the script manager where to find it. Stop the other lyrics script and start the new one.

Scripts part 2: Saving Album Covers
The first thing here is to make sure you have album covers for all of your music. So go to Context->Music in the Amarok tabs, right click on the album, and choose "Cover Manager." Tell Amarok to go out and grab all the missing artwork.

Now we will load the CopyCovers script.

The integrated version will copy the covers one by one as you listen to the relevant albums. (Be sure to configure its output to your liking in the Script Manager!)

If you unzip the archive, however:
Code:
tar -jxvf 22517-copycover.amarokscript.tar.bz2
there is a program called "copycover-offline.py"

Invoke it like this
Code:
python copycover-offline.py
and it will automatically traverse your entire collection and save the album art to the respect folders. (Type "python copycover-offline.py --help" to get a list of options.)

IMPORTANT NOTE!

As of this writing, Copycover in the official link is broken for use with mysql databases. If you get an error on line 129 of the file when it parses, then that is still the case. milianw was kind enough to provide a fixed version. Use that instead.

Grip
Grip integrates the same kind of automatic tag management of easytag with your ripping process. If you don't know what configs to go with, choose the defaults.

After you set everything up to your liking, it is extremely convenient--all you have to do is sequentially drop CDs in your drive and click the 'rip and encode' button until all your whole collection is ripped.

I recommend the LAME encoder for mp3, but BladeENC is probably as good. You already installed lame above. You also need to change "lame" to "/usr/bin/lame" in the Grip settings--if you choose that codec--because otherwise it doesn't know where to find it.

k3b
Note that Amarok integrates album burning as a feature. k3b is a great standalone, however, and useful for data discs and isos as well. I won't explain it since it's very intuitive--much more so than easytag and grip

Parting wisdom
My main reason for writing this was because I very much love my setup, and some things (trying to find out where to get QtRuby, figuring out the python error from the Covercopy script, etc.) was a serious pain. Hopefully it will make your life easier. I did not, however, explain anything that will be easier to figure out on your own, like how to setup the wildcards for easytag and grip (it's easy, but scary to look at at first!).

Two other problems that cropped up for me, which you *probably* won't experience:

(1) The Amarok global shortcut keys, which are amazingly useful, stopped working in FC7. This happened to be because FC7 mis-detected my keyboard. Make sure you have the right layout selected if this happens to you.

(2) For convenience, I decided to use konqueror (hey, it was already installed) for accessing sites through tor. It was convenient to set it up to use the proxy and then do all my regular browsing through firefox. But then Amarok could no longer access the internet, even though all my other programs could! It turns out the kde apps have some kind of shared proxy settings in ~/.kde/share/config/kioslaverc. It took me forever to figure this out. So keep in mind that you can't funk up konqueror if you still want amarok to work.

Last edited by Dunhausen; 22nd September 2007 at 08:39 PM.
Reply With Quote
  #2  
Old 23rd September 2007, 01:20 AM
alb Offline
Registered User
 
Join Date: Sep 2007
Location: near kutna hora, czech republic
Age: 49
Posts: 3
thanks from a total newbie
I set up livna repo first, downloaded rpm from http://rpm.livna.org/rlowiki/ and installed it via yum
then followed the how-to
left the installation option at sqlLite (hope that wasn't a mistake), I want to try MySQL setup later
the player works and is very pleasant to use
thanks again
Reply With Quote
  #3  
Old 24th September 2007, 10:49 PM
alb Offline
Registered User
 
Join Date: Sep 2007
Location: near kutna hora, czech republic
Age: 49
Posts: 3
problem with setting amarok as default audio player,
dear dunhausen, i'm an FC7 newbie, Gnome desktop, I have removed all other audio players I got by default FC7 installation. Anyway the system doesn't recognize Amarok as a default mp3 player when I try e.g. browsing the e-music website and want to hear the samples .
I tried to look everywhere but cannot find the settings possible
thanks in advance
alb
Reply With Quote
  #4  
Old 25th September 2007, 07:00 AM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
Well, assuming you haven't already disabled the dialog, when the dialog pops up that lets you save your file or open it with an appliction, you can choose "custom application" and set it to amarok (probably give the full path: "/usr/bin/amarok").

I would not say you really want to use amarok for that, however. Amarok is more of a "media library" application... and you just want a "media plugin."

I would suggest that you install the VLC firefox plugin:
Code:
yum install mozilla-vlc
or, alternatively, the mplayer firefox plugin:
Code:
yum install mplayerplug-in
And that way, when you are listening to music and want to try a sample, you can just hit the pause hot key for amarok (Win+C) and go ahead and listen to the sample, and then you can resume your regular music (Win+C again) when you are done. That's what I like to do anyway.
Reply With Quote
  #5  
Old 25th September 2007, 10:37 AM
johannlo's Avatar
johannlo Offline
Registered User
 
Join Date: Jul 2005
Location: Melbourne, Australia
Age: 33
Posts: 762
what is the advantage of using a standalone SQL server as opposed to sqlite?

For a single user scenario (obviously if you want to share metadata with other apps, web radio maybe etc. then there are uses).
__________________
the phases of 'nix troubleshooting

For :eek:
:confused: | google > :D
Next
Reply With Quote
  #6  
Old 25th September 2007, 10:06 PM
Dunhausen Offline
Registered User
 
Join Date: Nov 2004
Posts: 95
According to the install dialog it is faster to use MySQL or PostreSQL than sqllite. I doubt the difference is very apparent unless you have a huge collection of music... but then, I do have a huge collection.
Reply With Quote
  #7  
Old 25th September 2007, 10:51 PM
alb Offline
Registered User
 
Join Date: Sep 2007
Location: near kutna hora, czech republic
Age: 49
Posts: 3
thanks for explanation and plugin tips
my temporary rather untidy method was drag-dropping the links from website to amarok playlist
thanks for help again
Reply With Quote
Reply

Tags
amarok, easytag, fc7, management, media, perfect

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
amarok s work and media keys on gnome soker Using Fedora 1 28th April 2009 12:07 PM
The Perfect Offense against the Perfect Defense Silpheed2K Wibble 15 29th August 2008 08:29 PM
amarok..real media..controlling postion linux_makers Using Fedora 1 16th June 2006 03:29 PM
Amarok and real media? Hitman1 Using Fedora 0 23rd May 2006 07:58 PM
EasyTAG problem corsair2056 Using Fedora 5 22nd August 2005 12:33 AM


Current GMT-time: 12:24 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat