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

C

attendant

13 years ago

can you reproduce this? if so, how?

Report

gmcgmc

13 years ago

It crash when I try to start it.

Report

C

attendant

13 years ago

it seems the config file is corrupt. try removing the script config file:
rm $HOME/.kde/share/apps/amarok/scripts-data/wikilyrics.xml
i'll try to fix this for the next release

Report

stifi

13 years ago

Quote:it seems the config file is corrupt.
same problem here. Config file was emtpy ...

Report

stifi

13 years ago

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.

Report

gmcgmc

13 years ago

Great! Now it's working!!

Thank you a lot!

Bye,
Peppe

Report

kazuo

13 years ago

Hi my wiki-lyrics crash with this error (using 0.11.3):

end of file reached
/usr/lib64/ruby/1.8/rexml/source.rb:153:in `readline'
/usr/lib64/ruby/1.8/rexml/source.rb:153:in `initialize'
/usr/lib64/ruby/1.8/rexml/source.rb:16:in `new'
/usr/lib64/ruby/1.8/rexml/source.rb:16:in `create_from'
/usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:130:in `stream='
/usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:107:in `initialize'
/usr/lib64/ruby/1.8/rexml/parsers/treeparser.rb:8:in `new'
/usr/lib64/ruby/1.8/rexml/parsers/treeparser.rb:8:in `initialize'
/usr/lib64/ruby/1.8/rexml/document.rb:190:in `new'
/usr/lib64/ruby/1.8/rexml/document.rb:190:in `build'
/usr/lib64/ruby/1.8/rexml/document.rb:45:in `initialize'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/utils/xmlhash.rb:57:in `new'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/utils/xmlhash.rb:57:in `read'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:255:in `read_config'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:80:in `on_start'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:199:in `main'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:197:in `initialize'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:197:in `new'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:197:in `main'
/home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:285/usr/lib64/ruby/1.8/rexml/source.rb:153:in `readline': end of file reached (EOFError)
from /usr/lib64/ruby/1.8/rexml/source.rb:153:in `initialize'
from /usr/lib64/ruby/1.8/rexml/source.rb:16:in `new'
from /usr/lib64/ruby/1.8/rexml/source.rb:16:in `create_from'
from /usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:130:in `stream='
from /usr/lib64/ruby/1.8/rexml/parsers/baseparser.rb:107:in `initialize'
from /usr/lib64/ruby/1.8/rexml/parsers/treeparser.rb:8:in `new'
from /usr/lib64/ruby/1.8/rexml/parsers/treeparser.rb:8:in `initialize'
from /usr/lib64/ruby/1.8/rexml/document.rb:190:in `new'
from /usr/lib64/ruby/1.8/rexml/document.rb:190:in `build'
from /usr/lib64/ruby/1.8/rexml/document.rb:45:in `initialize'
from /home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/utils/xmlhash.rb:27:in `new'
from /home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/utils/xmlhash.rb:27:in `write'
from /home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:269:in `write_config'
from /home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:88:in `on_quit'
from /home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:220:in `main'
from /home/kazuo/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:285


Thanks!

Report

pedroghandi

13 years ago

and instead of showing the page of lyriki's lyrics edit, it goes to /home/pedro/.kde3.5/share/apps/amarok/scripts/wiki_lyrics/amarok/

it used to work before i unistalled the previous version to this one: Wiki-Lyrics v0.11.1

any ideas? tx!

Report

shortcircuit

13 years ago

Hi!
I'm using ubuntu 7.04 (kubuntu feisty). Despite the fact that QtRuby is installed (libqt4-ruby1.8) the script (Wiki-Lyrics v0.11.1) doesn't recognize it and refuses to start.

The fix was to change wiki_lyrics/gui/gui-qt4.rb file to require 'Qt' and not 'Qt4':

--- wiki_lyrics/gui/gui-qt4.rb.bak 2007-05-16 12:33:32.000000000 +0000
+++ wiki_lyrics/gui/gui-qt4.rb 2007-05-16 12:33:55.000000000 +0000
@@ -17,7 +17,7 @@
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

require 'date'
-require 'Qt4'
+require 'Qt'

$KCODE='u' # unicode support

IMHO this is because of the path to QtRuby:
$ dpkg -L libqt4-ruby1.8 |grep '\.rb'
/usr/lib/ruby/1.8/Qt/qtruby.rb
/usr/lib/ruby/1.8/Qt.rb

Hope, the fix will be included in the next release.

Regards,
Ilia.

Report

C

attendant

13 years ago

unfortunately is a bit more complicated... if i change it like that and the user has qt3 ruby bindings, the qt4 GUI would seem to load correctly but will crash when used since it was expecting the other version (check one of the reports above for a similar report but the other way around).
i don't know why there's no Qt4.rb file in ubuntu (there is in gentoo) but, without it, i don't see a reliable way to figure out what version/s of qt bindings is/are installed (and hence no real fix to this problem).
i'm open to suggestions, but the fix will probably have to come from ubuntu itself (the reports seem come from people using this distro).

Report

shortcircuit

13 years ago

I'm sure you can somehow determine the library version after loading the module and before using any "dangerous" calls. Can't help you here cause I know nothing about ruby and qt, but I'm sure it's not very difficult (e.g. use some method/variable/constant which gives you Qt version or call to function only implemented in qt4 and catch an exception, etc.).

I think, as a sane man you understand that there are users of distributions other than gentoo. If you want that more users will be able to use your script and the popularity of your plugin will grow, one of the best ways is to make it "just work" for the end user. Everybody will benefit from such a situation.

Report

C

attendant

13 years ago

Quote:I'm sure you can somehow determine the library version after loading the module and before using any "dangerous" calls. Can't help you here cause I know nothing about ruby and qt, but I'm sure it's not very difficult (e.g. use some method/variable/constant which gives you Qt version or call to function only implemented in qt4 and catch an exception, etc.).
yes, i can determine the library version after loading the module, but it's not reasonable to expect developers to write code to handle this (you should be able to know in advance wtf you're loading). loading a toolkit that you're not going to use wastes times and memory. you won't notice it when using the Amarok script but you probably will when using the CLI. nevertheless, i don't see a better way to work around this issue, so i'll do it for the next release.

Quote:I think, as a sane man you understand that there are users of distributions other than gentoo. If you want that more users will be able to use your script and the popularity of your plugin will grow, one of the best ways is to make it "just work" for the end user. Everybody will benefit from such a situation.
i'm no gentoo fanboy nor i meant to start a distro flamewar (on the other hand, you seem to do). i was only pointing that there are more reasonable ways for a distro to install the qtruby bindings (such as the way the distro i'm using now does).
about providing a solution that "just work" (how i hate those words...), you're missing the obvious: i've written the ridiculous amount of 4 gui backends to make this usable by as many people and as easily as possible, so please refrain yourself from bashing just because you are having a problem (have i already pointed out that you're barking at the wrong tree?). oh, and thanks for reassuring i'm sane... if i didn't know any better i'd say you're implying the opposite.

Report

v6lur

13 years ago

The script doesn't start any more after the upgrade 0.10 -> 0.11.1. (Removed old version first, as noted.)
Distro is Kubuntu Feisty. libqt0-ruby1.8, libruby1.8, ruby1.8 are installed and script's version 0.10 worked with them.

Report

C

attendant

13 years ago

are you seeing the "you need qtruby, ruby/gtk or ruby/tk to run the script" or it's just silently failing?

Report

v6lur

13 years ago

Yes, it showed exactly that message.
(Sorry, I hadn't subscribed for comments and so didn't notice this post until now.)

0.11.2 starts up fine - has difficulties finding any lyrics, though :)

Report

C

attendant

13 years ago

that's strange... try using other sites (press the configure button and adjust the sites to query)

Report

hyperch

13 years ago

I have Xubuntu Feisty and Amarok 1.4.5 and Lyriki just keeps quitting with this error output:

undefined method `request_uri' for #<URI::Generic:0xfdbd81da4 URL:/en/search/groupe/Avril%20Lavigne>/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/utils.rb:350:in `fetch_page_get'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/utils.rb:361:in `fetch_page_get'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/lyrics_jamendo.rb:43:in `artist_and_title_to_query_url'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/lyrics.rb:84:in `lyrics_by_title'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/metalyrics.rb:57:in `foreign_lyrics_by_title'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/metalyrics.rb:51:in `each'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/metalyrics.rb:51:in `foreign_lyrics_by_title'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/metalyrics.rb:46:in `on_lyrics_not_found'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/lyrics.rb:115:in `lyrics_by_title'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/lyrics_lyrikisubmitter.rb:42:in `lyrics_by_title'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:43:in `show_lyrics_by_title'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:87:in `on_fetch_lyrics'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:184:in `run_worker'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:172:in `loop'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:172:in `run_worker'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:132:in `main'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:129:in `initialize'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:129:in `new'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarokmetalyrics.rb:129:in `main'
/home/hyper/.kde/share/apps/amarok/scripts/lyriki-lyrics/amarok_lyriki.rb:174

I have installed:
- libgkt2-ruby --> 0.15.0-1.1
- libqt4-ruby1.8 --> 1.4.6-2
- libruby1.8 --> 1.8.5-4ubuntu2
- libruby1.8-extras --> 0.2

And a few other packages that contain "ruby" and when I first start it, I also get the message "[Lyriki] session restored for hyper_ch" but then when the song is changed the script just dies with the above output.

Report

C

attendant

13 years ago

i'm not sure what the problem is, but i can't tell by that output that your using a pretty old version. please, uninstall lyriki-lyrics and install the latest wiki-lyrics and let me know if you still have this problem.

Report

hyperch

13 years ago

Thx, I installed now the new version... that seems to work... but didn't the old version have the option to directly submit song to lyriki?

I don't know how to set it up now. When I press the "configure" button nothing happens.

Report

hyperch

13 years ago

Actually I see only one entry "Wiki-Lyrics" and not many as I did before and when i try to configure it I get this error:

undefined method `setCaption' for #<QT::MetaLyricsConfigDialog:0xb5147778>
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/gui/gui.rb:72:in `show_dialog'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/gui/gui-qt.rb:78:in `initialize'
(eval):1:in `new'
(eval):1:in `show_dialog'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/gui/gui.rb:97:in `eval'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/gui/gui.rb:72:in `show_dialog'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/gui/gui.rb:97:in `show_meta_lyrics_config_dialog'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:187:in `configure'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:174:in `on_configure'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:220:in `run_worker'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:214:in `loop'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:214:in `run_worker'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:171:in `main'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:168:in `initialize'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:168:in `new'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amarokscript.rb:168:in `main'
/home/hyper/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok/amaroklyricsmanager.rb:233

Report

C

attendant

13 years ago

there's a conflict with the qtruby bindings (i'm using qt3 but you have qt4). i'll release a version with a qt4 backend soon.

Report

orittsel

13 years ago

When i play a song with swedish letters in it (å ä ö) the script crash. :/

Error code: 1

Qt bindings not found
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_param_spec_boxed: assertion `G_TYPE_IS_BOXED (boxed_type)' failed
/usr/lib/ruby/1.8/glib2.rb: line 55
GLib-GObject-CRITICAL **:g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
malformed UTF-8 character
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/utils.rb:155:in `unpack'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/utils.rb:155:in `titlecase'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/utils.rb:184:in `titlecase!'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics_lyriki.rb:278:in `cleanup_title_token!'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/wikilyrics.rb:572:in `cleanup_title_token'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/wikilyrics.rb:739:in `build_song_url'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/wikilyrics.rb:744:in `build_song_url'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/wikilyrics.rb:48:in `build_lyrics_fetch_data'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:120:in `lyrics_direct_search'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:306:in `lyrics_full_search'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/metalyrics.rb:108:in `lyrics_from_other_scripts'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/metalyrics.rb:104:in `lyrics_from_other_scripts'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/metalyrics.rb:97:in `on_lyrics_not_found'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/lyrics.rb:315:in `lyrics_full_search'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:91:in `show_lyrics_full_search'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:141:in `on_fetch_lyrics'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:270:in `run_worker'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:255:in `run_worker'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:212:in `main'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/amarokmetalyrics.rb:209:in `main'
/home/rittsel/.kde/share/apps/amarok/scripts/wiki_lyrics/amarok_azlyrics.rb:32

Report

cyrus007

13 years ago

Fetching hindi lyrics using giitaayan does not seem to work. I used 'Kuch Bhi na Socho' song from film Bombay which has a single hit. Line after 'Giitaayan - -' is blank but choosing it says track not found.
Config option does not list giitaayan from among the selections.

Report

cyrus007

13 years ago

Also forgot to add that my itrans executable was x86_64 based. I have updated my core amarok lyrics script with both x86_64 and i386 version of itrans.

Report

C

attendant

13 years ago

damm, bugs already =)... there's for sure one at least: to show suggestions for all running scripts, now each one has to declare if it can handle any given url. the default implementation works for most cases but not for giitaayan (i'll recheck the other sites as well to be sure). for now add this method to the Giitaayan class (lyrics_giitaayan.rb):
def Giitaayan.known_url?( url )
return url.index( 'http://s94437128.onlinehome.us/isb/cisb/' ) == 0
end
it works for me now, but i'm not sure it will for you for what you wrote. it seems there's something else wrong... have you replaced the provided version of itrans with your own x86_64 version? (that's what you should do). if so, is there any difference in their usage (or output) compared to the x86 version i should now about?

p.s.: config option never lists the running script with the others, as this is always queried first (and in the past was the one whose suggestions were shown). i'll probably change that in the future and have only one script in charge of managing the sites to query (i just haven't figured out all details of this yet).

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