Image 01
profile-image

stifi

Stefan Gruber , Austria
Amarok 1.x Scripts
Audio Apps
test
ultraLyricWiki

Amarok 1.x Scripts 1 comment

by ultr
Score 58.0%
Jan 16 2010
I had to change line 54 in the script to the following line:

lyricregexp="<div class='lyricbox'>[^-]*<\/script>([^-]*)<!--"
- Jan 29 2015
Lyrics ID3

Amarok 1.x Scripts 60 comments

by stifi
Score 58.0%
May 28 2012
Just download the script and install it by using Amarok's script manager.

For detailed questions, write me an E-Mail. I'll try to answer them. - Dec 19 2011
No, the script is incompatible with Amarok 2.

Options:
- Stay at Amarok 1.4
- Vote at: http://code.google.com/p/clementine-player/issues/detail?id=1110 and hope that the developers implement this feature soon
- Switch to Guyadeque
- Jun 30 2011
I am the author of the scripts. Maybe I am able to help to get the scripts running. The problem is that I have no KDE and Amarok on my system. You can write me an E-Mail with some error messages and system stats. I see what I can do. As I remember was there a bug in the python-qt libraries causing a segmentation fault. In that case I am not able to help you. But just give it a shot. Maybe we find a suitable solution for you. - Apr 12 2010
It seems that you discovered a bug in my script. Unfortunately I stopped using KDE and Amarok. I think there are some complications with some libraries. If you want you can write me an E-Mail and I'll help you to debug the script. Anyway my advise is to look for an alternative music player with lyrics support because Amarok 1.x (with Scripts) and KDE 4.x isn't a good combination in my opinion. - Oct 07 2009
Sorry, but FLAC is only supported in a rudimentary way. If lyrics are stored in a FLAC file with comment 'LYRICS' they are read out and shown in Amarok. As you already mentioned, is there no standard on how to store lyrics in FLAC. So it is very unlikely that you have FLAC files with lyrics stored with the comment LYRICS. Writing lyrics with my script in FLAC files is not supported. Since I am not using FLAC I will not implement that feature because testing would be insufficient. Sorry, for any confusion caused by my Change-log.
- Jun 10 2009
Thnx for the bug report. Unfortunately, there are many changes in package names since KDE4 was released. Additionally, is Gnome the standard desktop in Ubuntu which results in some missing packages (eg kdialog is not available by default, at least at my desktop). I'll try to find a way to solve the package clutter.
Anyway, I'm happy that you solved the problem on your own and sorry for any inconvenience. - Mar 02 2009
Thanks for the report. I'll change that for the next release. - Sep 29 2008
You need: python-kde3 - Sep 21 2008
Yes please send it to me and I'll have a look on it. If you have time and you'll feel in mood please add the "deleting-feature" to round out the feature list. Thanks for your efforts. - Sep 04 2008
Is not.

Will be: Not in the near future because I'll wait till KDE 4.x and Amarok 2.x will be finished for "All-Day-Use", which will last for quite a long time, I think.

But if someone wants to start developing the script for Amarok 2, I would be a helping hand - Aug 19 2008
Thanks for the info IceRabbit. I don't know anything about the packet management on Fedroa, but I think it is a depency problem. For me (I am using Debian), python-sip4 is required for the package python-qt3.
Anyway, I'll post a note for that problem, thanks! - Jun 19 2008
line number 33 (between FIXME: ... and try: ...) in ~/.kde/share/apps/amarok/scripts/save_lyrics_to_id3/save_lyrics_to_id3.py - Feb 26 2008
Sorry for the late answer ...
You are missing a python package. Through a bug in the lyrics script you do not get the name of the missing pyhton package.
Insert STD_ENCODING="ascii" in the line just before the first try: in ~/.kde/share/apps/amarok/save_lyrics_to_id3/save_lyrics_to_id3.py.
After that the script should show an error message about the missing pyhton package.
- Feb 25 2008
Quote:
That's a pity! Is regular ogg-support planned for the future? I really hope so since ogg has many advantages and is becoming more and more popular.

Unfortunately I'm very limitted in my spare time. Because I do not want to release anything before it was tested enough, ogg-support will not get stable soon. -- sorry ):. My plans are to start developing again when Amarok 2 gets stable and useable.
- Feb 10 2008
[Python-Mutagen]
What does it mean: "If I choose to let the script try to download and store it in the script folder, it fails."

[OGG-Support]
The support is disabled by default. You have to enable it by modifying the source code. If you do not know how to do that do not use ogg-support because it is not tested and will probably not work with unicode.

- Feb 05 2008
Maybe your choosen software is not handling ID3v2.4 or the USLT frame. I use kid3 (Version 0.9), which shows me the lyrics in the files without having any problems. - Feb 04 2008
done - Oct 15 2007
I'm quite busy these days ...

I'll try to implement reading lyrics of flac files with a configurable tag name. But give me some time. Write support will not be available until there is a (pseudo)standard for lyrics in flac files. - Oct 12 2007
I think there is no official lyrics tag in flac (like in Vorbis). For Vorbis I used "LYRICS" but I think no other software uses this tag name, so it is rather useless, because there is no writting support for these tags in my script. The same problem applies for flac. But if you tell me the tag name of the tag you want to use (reading of course), I can implement that feature.

Thanks for your comment.

Flac tags for reference:
http://flac.sourceforge.net/faq.html#general__tagging - Sep 23 2007
Quote:
little wish: is there a way for the script to search on the web if no lyrics are found in the file?
When you add some new files to collection is quite annoying to search manually (with the help provided by the contest browser) for the lyrics; if it was automated...

Sorry, no. But some time ago, I wrote a patch and a script for Amarok, which changes the lyrics script, if the script returns no lyrics. You can try it, if you have a little experience in patching and compiling ...
http://bugs.kde.org/show_bug.cgi?id=135213 - Aug 01 2007
Sorry, that is a bug. Try changing line number 147 from:
if self.confVarLngCode not in LNG_CODES:
to
if unicode(self.confVarLngCode) not in LNG_CODES:

If this won't work, you can open the lyrics_id3.conf in an editor of your
choice and edit the line:
language-code = und
to your needs. The file should be located in
~/.kde/share/apps/amarok/scripts-data/

hth Stefan - May 19 2007
All ID3v2.x Tags will be updated to ID3v2.4. If there is only a ID3v1.1 tag, this will be preserved and an additional ID3v2.4 tag will be created.
- May 08 2007
There were (are?) many unicode problems in the script, which should be fixed now with version 0.6. If you encounter still problems, you can send me the output log by E-Mail if you want. Thanks for your efforts.

In case you do not know how to get the output log:
- start the Amaroks Scripts Manager
- right click on a running script and choose "show output log"

- Apr 24 2007
... just a few seconds before I wanted to update the script.

Thanks for the bug report. I corrected the problem in the new Version.
Feel free to report any other problems and I'll try to improve the scripts.

I also changed my "whole" system from latin1 to utf-8, so I am very familiar with these question marks ;). - Apr 24 2007
ScroogLyrics

Amarok 1.x Scripts 51 comments

Score 50.0%
Jan 18 2008
Thanks for the great script!

One thing is really annoying. If some lyrics could not be fetched the error message Failed to find any lyrics. Press refresh to try again. is cached as lyrics in Amarok. If you use the notification "<?xml version=\"1.0\" encoding=\"UTF-8\" ?> <suggestions page_url=\"your_url\"></suggestions>" Amarok will display an error in the Context Browser and will not cache any lyrics [1].

I already changed the source for my needs. But maybe changing it in the public version my help others.

[1] http://amarok.kde.org/wiki/Script-Writing_HowTo - Dec 30 2007
Wiki-Lyrics

Amarok 1.x Scripts 191 comments

Score 50.0%
Mar 12 2009
I confirm to this. But I think it is sufficient to restart the lyrics script after disabling sing365.
Thanks for the temporary solution. - Jun 23 2007
I have more inforamtion on this.
First this error happens:
Quote:

undefined method `build_google_feeling_lucky_url' for LyricsPlugins::AmarokSing365:Class
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics_Sing365.rb:34:in `build_song_add_url'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:95:in `normalize_lyrics_data'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:105:in `normalize_lyrics_data'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:180:in `lyrics_direct_search'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:333:in `lyrics_full_search'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:191:in `lyrics_full_search'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:189:in `each'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:189:in `lyrics_full_search'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:98:in `on_fetch_lyrics'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:258:in `run_worker'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:243:in `loop'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:243:in `run_worker'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:200:in `main'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:197:in `initialize'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:197:in `new'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:197:in `main'
/home/stifi/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:285

After that wikilyircs.xml is empty and the error already discussed occurs. - Jun 14 2007
Quote:
it seems the config file is corrupt.

same problem here. Config file was emtpy ... - Jun 14 2007
Amarok LyricWiki.org Lyrics

Amarok 1.x Scripts 39 comments

by Rede
Score 50.0%
Nov 04 2007
Same problem here. I am using UTF-8 as locales. When the script fetches Lyrics with non-ASCII characters, they are 'destroyed'. E.g. http://www.lyricwiki.org/Herbert_Grönemeyer:Chaos won't work for me.
- May 11 2007
Score2Rating

Amarok 1.x Scripts 16 comments

Score 50.0%
Jul 26 2006
I don't know if you have found a solution. Anyway changing line 33 into sqlurl = url.gsub( /'/, '\'\'' ) solved the problem for me. - May 27 2006
amarokNowPlayingImproved

Amarok 1.x Scripts 13 comments

Score 50.0%
Dec 19 2005
First of all, I have to say that I like that script very much!
What about adding scp support to the script. i.e.
elif [ ${method} = scp ];then
scp -i ${keyfile} /tmp/amarokNowPlaying_image.png "${user}@${host}:${path}"
- May 05 2006
ultraLyricWiki

Amarok 1.x Scripts
by ultr

Score 58.0%
9   Jan 29 2015