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

14 years ago

your problem should be fixed in v0.4, but let me know if it's not.

regards.

Report

Berkout

14 years ago

It's working perfectly, great job !!!

Now I can enjoy the lyrics :)

Thanks a lot !

Report

Dhraakellian

14 years ago

Which scripts can the lyriki script fall back on by default?

Would there be a way to let the user know from which site the lyrics actually came? (This would also help me know if I need to add the track to lyriki.)

Report

blaster999

14 years ago

Hi. Great plugin! Just wandered - is it possible to use case-insensitive search (so, "Them and Us" is treated the same as "Them And Us")?

Report

DrMartinus

14 years ago

Hi,

there are two strange things happening:

1. I have meta-tags which are exactly the same as the artist/title stored in lyriki. Yet, the skript doesn't find it, but suggests this title in a suggestion list (with just this one suggestion)
2. When I click on this suggested title, which is the one I want, I just get the same page redisplayed, with the link to that title.

Since I added the lyrics myself, I'm sure they are there. i can also see them of course within Lyriki.

Report

C

attendant

14 years ago

this should be fixed in v0.3 but let me know if it's not.

regards.

Report

C

attendant

14 years ago

could you send me (or just post here) the artist and title tags _exactly_ as read by amaroK, so i can check what's happening?

regards

Report

C

attendant

14 years ago

please, ignore that message...
i'll take a look at what you had send me and see what i can do.

regards

Report

Dhraakellian

14 years ago

Any word on whether this script will be updated to work with amaroK 1.4beta2?

I've been following svn all along, and I was a little disappointed when the lyric script interface changed and lyriki no longer worked.

I'd like to submit stuff to lyriki, and the amaroK script makes it easier to do so. (not to mention the fact that with lyriki, I actually know that the additions will actually show up, unlike lyrc submissions, which are rather hit-or-miss)

Report

Kokosnuss

14 years ago

Thanks a lot for this GREAT plugin! One should talk to the amaroK developers about making this the default lyrics skript, because lyriki fits way better to amaroK and the whole open source philosophy! And imagine, how quickly lyriki would grow if all amaroK users would know about it...

However, I noticed 2 little bugs that should be easy to reproduce and fix:

1)
Title: "Great Heart"
Artist: "Johnny Clegg & Savuka"

In this case, a lyrics page for Johnny_Clegg:Great_Heart exists and also an artist page for Johnny_Clegg.
But if the artist tag says "Johnny Clegg & Savuka", not the lyrics are returned, but the artist page.

2)
Title: "Cowboy und Indianer (2004)"
Artist: "Michael Wendler"

The script returns "lyrics not found" although the song "Cowboy und Indianer" exists in lyriki. What it should find out is, that the song exists if you ignore the paranthesises or at least show the proposal page.

Unfortunately, I'm unfamiliar with ruby, but I'm sure that Attendant will be able to fix this!

And if you do agree with me that lyriki should be default in amaroK, please post here. Maybe we can convince the developers...

Regards,
Felix

Report

C

attendant

14 years ago


1)
Title: "Great Heart"
Artist: "Johnny Clegg & Savuka"
(...)

the problem is that the search engine at lyriki is not very powerful and doesn't return valuable info such as the page category. that means there's no reliable way to tell if a given result corresponds to an artist, album or song page. to compensate for this, the script avoids "searching" for lyrics when possible: the artist and title provided by amaroK are put togheter to form what is supposed to be the song page, then by looking at the result you can tell if the page was actually there or if it was empty. unfortunatelly, for this to work the artist and title given by amaroK need to match the corresponding ones in lyriki site. I'll try to improve the search when i have the time but for now you may do one of the following:
1) if the artist name is 'Johnny Clegg & Savuka' and in the site it shows as 'Johnny Clegg' then you should change the page title to the real name (same goes for the songs under that artist name).
2) if both names are valid, then you should create a page that redirects to the already existing one.


2)
Title: "Cowboy und Indianer (2004)"
Artist: "Michael Wendler"
(...)

words beetween parenthesis can be part of a title so i can't just generally ignore them when performing the search... i could try the search without them if the first search didn't return anything though... again, i'll see it when i can.


And if you do agree with me that lyriki should be default in amaroK, please post here. Maybe we can convince the developers...

there won't be any default lyrics script since there's no way to enforce that (or so i think). still, if you scream loud enough, you may get them to ship lyriki with amarok like the other lyrics scripts :)

regards.

Report

nanenj

14 years ago

Actually it seems there -is- a default lyrics plugin, and it seems to override Lyriki. I've not been able to get Lyriki to run properly. Tried a multitude of tracks and it always seems to want to access Lyrc instead. ;(

I'm currently running an Ubunutu LiveCD.

Report

C

attendant

14 years ago

are you sure you're running an amarok version with _scriptable_ lyrics support? older versions could only fetch lyrics from Lyrc.com.ar.
what about the atraweb plugin? can you use that one?

Report

nanenj

14 years ago

That's what the problem was. In installing Amarok via Breezy's packages the latest SVN isn't there. I did try a bit to get the SVN to install other ways, but, wasn't able to get it to do proper off the LiveCD :( D'oh. Will give it a try once again after I've installed Ubuntu to hard drive.

Report

markey

14 years ago

Congrats for providing the first lyrics script! :)

I've looked at the code, it's really good (better than mine;), and I'm glad that it's written in Ruby.

However, it didn't really work for me yet. Always yields "Lyrics not found", or it craps out with an error (happens with untagged files, I think). Hmm..


Report

C

attendant

14 years ago

i'm not 100% sure (couldn't find any info about it) but i think the site is pretty new, so that's likely the reason why you get so many "Lyrics not found" results. i hope that changes as more people become aware of it and starts contributing lyrics (i myself have already started and will continue to do so).
about what happens when files have no tags... well... i realize just know i haven't done any test for that. i'll see what i can found.

regards.

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