
Lyrics Manager
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
About:
This script is intended to extend amaroK lyrics operations. The main actions are:
* Edit lyrics with external editor
* Automatic text cleanup
* Export lyrics to file
* Import lyrics from file
* Mass import and export
* Erase and fill up lyrics
You can select menu items and features that you need. Also you are required to setup editor and storage directory depending on your previous choice. All these parameters are saved in config file and loaded silently at script startup.
Script will take care of HTML break tags while processing lyrics text, so you can edit and store plain text.
Mass operations could be used to backup and restore cached lyrics. Fill up feature prevents automatic lyrics fetching.
For more information see description on the homepage.
Dependencies:
amaroK >= 1.4.3
PERL >= 5.8
KDialog >= 1.0 (optional: for GUI configuration)
Tested on: amarok 1.4.10; perl 5.8.8; kdebase 3.5.9.
11 years ago
version 0.2.14
* fix: bug in collection search algorithm for device paths containing special chars
version 0.2.13
* update: improved flexibility of collection search algorithm
11 years ago
version 0.2.14
* fix: bug in collection search algorithm for device paths containing special chars
version 0.2.13
* update: improved flexibility of collection search algorithm
mayssamj
10 years ago
i tried running amarok with http_proxy and HTTP_PROXY environment variables set. i also set the streaming proxy setting in amarok. no luck yet .. any help?
Report
BrutuZ
12 years ago
Sent you a message with more details just in case.
Very nice script tough =)
Report
msan
11 years ago
Report
daneel971
12 years ago
A little request though: it could be possible to name the exported lyric file like the corresponding audio file instead of using its tags?
For instance, if I have "01-solsbury-hill.flac", I'd like to have "01-solsbury-hill.txt" instead of "01 - Peter Gabriel - Solsbury Hill.txt".
Report
msan
12 years ago
I've implemented requested feature. Check out a new release (new %f and %F placeholders). Tell me, if something goes wrong.
Report
daneel971
12 years ago
Report
l3u
13 years ago
Anyway -- a cool script :-)
Report
msan
12 years ago
# dcop amarok player lyrics > lyrics.txt
and then open lyrics.txt with UTF viewer. All special chars are missed. :(
I need to setup dcop to output UTF text somehow. If somebody know how to do it, please, write here!
Report
mattepiu
13 years ago
from my lyrics files (.txt) everything returned working fine.
Just do Edit lyric -> then remove first line if enclosed in < >
Report
msan
13 years ago
Report
MMax
13 years ago
thanks!
Report
msan
13 years ago
Report
msan
14 years ago
After changes of amaroK behaviour on db level in this fall, some of you have reported about problems, that my script can't find requested file in collection. I had to switch to new db schema, and script worked fine for my environment after that. But I still receive bug reports about it. I wondered and tried to study deeply, checked script on MySQL, played with settings and so on... but script every time works fine for me. I can't reproduce it and it's hard to understand how bug could be described to be reproduced.
First step towards is in the new release (v0.2.6). I've implemented internal debug switch in the script that could help to understand the nature of problem. To activate debug mode you need to edit installed script ~/.kde/share/apps/amarok/scripts/lyrics-manager/lyrics-manager.pl at the 12th line replacing it by "$DEBUG = 1;". Then you can run (rerun) script, do some action, and you could see messages about SQL queries and answers in the log. You can send this log to me by email with information about versions of your software (as it written in the script's docs in About window) and list of your actions. Then may be I'll able to understand what's going on.
Also, when I tested new release, I noticed at the moment, that internal state of amaroK db is wrong. I can't reproduce this to send a bug to amaroK team, but I think it concerned with mount/unmount, fstab or smth, because the 'devices' table had new state, but the 'tags' table contained old device ids. So I recommend you to backup old db, delete and regenerate it for clean check. My script uses this tables and can't work if they are wrong.
Report
msan
14 years ago
I hope that the script will work for many environments now. If not - let me know.
Report
LuXiano
13 years ago
Ive added the DEBUG=1 but i dont know where to find the log file in order to help you find out what's wrong :/
Report
msan
13 years ago
Tools->Script Manager, popup on the script: Show Output Log.
Report
digitalramble
14 years ago
Running amarok, clicking on Collections from the left sidebar. This gives me a list of the albums it has in my collections. I click on one of them so that the songs in that album appear in the panel on the right hand side.
At this point I right click on any or all of the files (it doesn't matter) and choose the Lyrics Manager from the menu.
But it doesn't matter what option I choose. For any of them, I get a message:
This music file is not in your Collection!
I checked through all the comments here, old and new but didn't spot anything that might be relevant. I also can't find any documentation (no, the code is NOT documentation) for this, so I'm at a loss? I've been experimenting, but I'd love any tips at this point...
Report
daho
12 years ago
I am on Debian etch with KDE 3.5.5 and use Amarok 1.4.4 as well as the latest Lyrics Manager script, 0.2.9.
Report
msan
12 years ago
Report
bleearg
14 years ago
Report
msan
14 years ago
Report
caamg
14 years ago
Report
msan
14 years ago
Report
caamg
14 years ago
It works fine now:)
Report
msan
14 years ago
I'm going to update my amaroK on the weekend and check this up.
Report