Wiki-Lyrics

Amarok 1.x Scripts

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

0
5 .0
Description:

A lyrics script to interface with various sites and, optionally, submit content to Lyriki.com or LyricWiki.org (wikis for lyrics). Lyrics can be searched on multiple sites according to a configurable priority.

Supported sites:
- Lyriki (www.lyriki.com)
- LyricWiki (www.lyricwiki.org)
- AZ Lyrics (www.azlyrics.com)
- Baidu MP3 (mp3.baidu.com)
- Dark Lyrics (www.darklyrics.com)
- Giitaayan (www.giitaayan.com)
- Jamendo (www.jamendo.com)
- Leos Lyrics (www.leoslyrics.com)
- Lyrc (lyrc.com.ar)
- Lyrics Download (www.lyricsdownload.com)
- Lyrics Mania (www.lyricsmania.com)
- Not Popular (www.notpopular.com)
- Seek Lyrics (www.seeklyrics.com)
- Sing365 (www.sing365.com)
- Terra Letras (letras.terra.com.br)

Dependencies:
- Amarok 1.4
- Ruby 1.8
- QtRuby, Ruby/GTK or Ruby/Tk

Translators wanted:
If you want to help, translate the script into your language and send me the result
(take a look at the i18n folder and ask if you need any help).


Important!!
The settings file format changed in version 0.13.2 so the old file must be removed when upgrading from versions of the script older than that one. Running the following command should take care of it:
rm $HOME/.kde/share/apps/amarok/scripts-data/wikilyrics.xml
Last changelog:

11 years ago

Version 0.13.4
- [Fix] update LyricWiki plugin to match site change
- [Fix] update Jamendo plugin to match site changes

Version 0.13.3
- [Change] search dcop program on predefined locations if not found in PATH (*)
- [Fix] update Sing365 plugin to match site changes
- [Fix] bug in Jamendo plugin removed line break from lyrics

(*) Fixes the script when using Amarok 1.4 on KDE4 with Gentoo (and probably other distros too)

Version 0.13.2
- [New] the script can now spawn threads to handle Amarok messages
- [New] added option to disable using threads (Ruby threads are not battery/power friendly...)
- [New] removed all unnecessary usage of threads (parsing Amarok messages, Tk GUI backend)
- [Fix] check if song page exists before attempting to submit it (wiki plugins)
- [Fix] relogin when session expires (wiki plugins)
- [Fix] parsing of suggestions in wiki plugins
- [Fix] update Dark Lyrics plugin to match site changes
- [Fix] update Jamendo plugin to match site changes
- [Fix] update Lyrics Download plugin to match site changes
- [Fix] update Seek Lyrics plugin to match site changes
- [Change] replaced NotPopular.com plugin with LoudSon.gs plugin (NotPopular.com site lyrics now point to LoudSon.gs)
- [Change] removed Lyrc plugin as site has been down for more than a month
- [Change] removed Baidu MP3 plugin as site no longer provides lyrics

Mikolaj-Q

12 years ago

Hi,
Thanks for your great Script!

I get two messages from the script, the first is that it can not connect to the internet (check proxy settings), but I don't use proxy and internet is OK.

The second is:

[Wiki-Lyrics]
/usr/lib/ruby/1.8/net/http.rb:560:in `initialize'
/usr/lib/ruby/1.8/net/http.rb:560:in `open'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/timeout.rb:48:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `request'
/usr/lib/ruby/1.8/net/http.rb:948:in `request_get'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/utils/http.rb:108:in `fetch_page_get'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:89:in `fetch_content_page'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:122:in `fetch_content_page'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:128:in `fetch_lyrics_page'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:168:in `lyrics_direct_search'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:357:in `lyrics_full_search'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:172:in `lyrics_full_search'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:170:in `each'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:170:in `lyrics_full_search'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:116:in `on_fetch_lyrics'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:288:in `run_worker'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:266:in `loop'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:266:in `run_worker'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:222:in `exec'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `initialize'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `new'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `exec'
/home/vampire/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:272

Could You help me please? Any ideas?

I just love your script!

Report

C

attendant

12 years ago

please, upgrade to version 0.13.0 and tell me if you still have this problem.

Report

optiluca

12 years ago

Also suffering from the same problem, using the latest version. Any ideas?

Thanks for the great script :)

Report

christophski

12 years ago

I am able to log in fine on the lyriki website, but in amarok I get "there was an error login in as user christophski"
I don't see any reason for this to be happening :s any ideas?

Report

C

attendant

12 years ago

if the problem persist, try reentering your data in the config dialog or deleting the file $HOME/.kde/share/apps/amarok/scripts-data/wikilyrics.xml

Report

bbluff

12 years ago

hi, i'm new so this might be a stupid question: when i use 'search selected song lyrics' wiki-lyrics writes 'no song info found in amarok database'. I have all the info of the songs in the TAG, title, artist, year, album, and i can see them in amarok. so how can i use the script?

Report

tzd

12 years ago

Don't know if it's just me but upgrading to todays release made the lyric fetching a lot faster. Great work! :)

Thanks for an amazing script!

Report

richlv

12 years ago

minor nitpick ;)
when the latest version is installed, it shows up as "wiki-lyrics" in lyrics category, but there's also "wikilyrics.rb" in the general category added.

Report

C

attendant

12 years ago

that's a feature! seriously though, I'm aware of that, but currently amarok list all the executables it finds in the package and there isn't anything i can do about it (except removing the other executable, but that's not something i want to do).

Report

kingnee

12 years ago

We have been having issues with some buggy pages added by WLv12.10, so I was hoping that Attendant would be able to help us out to figure out what is going on, and figure whether it is user error, or a bug with WL. Thanks, and if you want to talk, leave a message at my talk page: lyricwiki.org/User_talk:Kingnee1114lyrics.

Report

foolosophy

12 years ago

I get this crash when trying to download lyrics:

warning: conversion from UTF-8 to Latin1 failed
warning: conversion from UTF-8 to Latin1 failed
malformed UTF-8 character
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/utils/strings.rb:173:in `unpack'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/utils/strings.rb:173:in `titlecase'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/utils/strings.rb:203:in `titlecase!'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/lyrics_LyricWiki.rb:286:in `cleanup_title_token!'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:791:in `cleanup_title_token'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:966:in `build_song_url'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:973:in `build_song_url'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:60:in `build_lyrics_fetch_data'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:152:in `lyrics_direct_search'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:357:in `lyrics_full_search'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:172:in `lyrics_full_search'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:170:in `each'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:170:in `lyrics_full_search'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:116:in `on_fetch_lyrics'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:288:in `run_worker'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:266:in `loop'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:266:in `run_worker'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:222:in `exec'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `initialize'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `new'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `exec'
/home/pablo/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:273

Report

C

attendant

12 years ago

could you tell me which song caused this crash?

Report

azmegas

12 years ago

I've never seen this before, but thought I'd put it up here. So far, this is the only track this happens with.

All my life (PREMIUM BOX VERSION)
Monkey Majik
Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of array_push(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/lyricwiki. org/extensions/LyricWiki/xml. php on line 38

Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of lwLyricMagic(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /var/www/html/lyricwiki. org/extensions/LyricWiki/Templates. php on line 112

Report

azmegas

12 years ago

Now it's happening for several tracks, but I also got this in a browser window, so it looks like it might be a Lyriki thing.

Report

glen

12 years ago

wiki_lyrics$ less .directory
[Dolphin]
Timestamp=2008,3,20,14,5,21
ViewMode=1

i think you didn't really want to package that file ;)

Report

C

attendant

12 years ago

damn, i can't seem to get the release straight...
thanks for reporting. i've resubmitted the package without that file.

Report

hardlick

12 years ago

i dont use proxy, my connection is direct....:( somebody help me

Report

i4dnf

12 years ago

check if the first search location is "LirikiLocal", if so, move it down, or remove it from the search. i had the same "proxy" problem and this solved it for me

Report

CharlieW

12 years ago

Thanks, that worked for me.

Report

C

attendant

12 years ago

My bad (obviously)... that plugin shouldn't be there; it's only for local testing of the Lyriki plugin. sorry, i'll release a new version without it.

Report

hash87

12 years ago

Today i upgraded to 0.12.9 and from now on i get the following error when fetching lyrics:

/usr/lib/ruby/1.8/net/http.rb:560:in `initialize'
/usr/lib/ruby/1.8/net/http.rb:560:in `open'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/timeout.rb:48:in `timeout'
/usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
/usr/lib/ruby/1.8/net/http.rb:560:in `connect'
/usr/lib/ruby/1.8/net/http.rb:553:in `do_start'
/usr/lib/ruby/1.8/net/http.rb:542:in `start'
/usr/lib/ruby/1.8/net/http.rb:1035:in `request'
/usr/lib/ruby/1.8/net/http.rb:948:in `request_get'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/utils/http.rb:108:in `fetch_page_get'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:78:in `fetch_content_page'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:110:in `fetch_content_page'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/wiki_lyrics.rb:116:in `fetch_lyrics_page'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:168:in `lyrics_direct_search'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:357:in `lyrics_full_search'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:172:in `lyrics_full_search'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:170:in `each'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:170:in `lyrics_full_search'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:116:in `on_fetch_lyrics'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:288:in `run_worker'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:266:in `loop'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:266:in `run_worker'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:222:in `exec'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `initialize'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `new'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsscript.rb:219:in `exec'
/home/hash/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/pluginsmanager.rb:273

Default lyrc script works just fine and so did the previous version of wiki-lyrics.

Report

josnor

12 years ago

Hi
I got this error to on my Kubuntu Hardy. What can we do to help fix it?

/ Jonas

Report

C

attendant

12 years ago

lyrc.com.ar site is down since yesterday, nothing I can do about that...
(the default lyrc script doesn't work either).

Report

hash87

12 years ago

But weird thing is that 0.12.8 does work. I tested it yesterday after upgrading to 0.12.9 and im using it now. Same thing with lyrc script.

Report

C

attendant

12 years ago

well, neither WLv0.12.8 nor Amarok's Lyrc work for me, are you sure they are returning the lyrics from the web? (do they still work if you clear the lyrics cache?).

Report

11 years ago

Version 0.13.4
- [Fix] update LyricWiki plugin to match site change
- [Fix] update Jamendo plugin to match site changes

Version 0.13.3
- [Change] search dcop program on predefined locations if not found in PATH (*)
- [Fix] update Sing365 plugin to match site changes
- [Fix] bug in Jamendo plugin removed line break from lyrics

(*) Fixes the script when using Amarok 1.4 on KDE4 with Gentoo (and probably other distros too)

Version 0.13.2
- [New] the script can now spawn threads to handle Amarok messages
- [New] added option to disable using threads (Ruby threads are not battery/power friendly...)
- [New] removed all unnecessary usage of threads (parsing Amarok messages, Tk GUI backend)
- [Fix] check if song page exists before attempting to submit it (wiki plugins)
- [Fix] relogin when session expires (wiki plugins)
- [Fix] parsing of suggestions in wiki plugins
- [Fix] update Dark Lyrics plugin to match site changes
- [Fix] update Jamendo plugin to match site changes
- [Fix] update Lyrics Download plugin to match site changes
- [Fix] update Seek Lyrics plugin to match site changes
- [Change] replaced NotPopular.com plugin with LoudSon.gs plugin (NotPopular.com site lyrics now point to LoudSon.gs)
- [Change] removed Lyrc plugin as site has been down for more than a month
- [Change] removed Baidu MP3 plugin as site no longer provides lyrics

12345678910
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.13.4
updated Mar 12 2009
added Feb 11 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 6
System Tags addon