-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (1) .- Knowledge Base  . 

Amarok LyricWiki.org Lyrics

   2.0  

Amarok Script

Score 81%
Amarok LyricWiki.org Lyrics
zoom


Amarok LyricWiki.org Lyrics
zoom


Link:  http://
Downloads:  9652
Submitted:  May 25 2006
Updated:  Nov 5 2007

Description:

A simple script to retrieve lyrics from LyricWiki.org and display them on the Lyric tab of the context browser. Now you can enjoy having lyrics that can be fixed when incorrect!

As of v2.0 this script now utilizes the LyricWiki.org SOAP API. In the short term this means more reliable results in a shorter time frame. In the long run (future versions) it means being able to edit, update, or add lyrics and albums to LyricWiki directly from Amarok.

Note: In version 2.0 special characters are not displayed properly. This is a problem with the SOAP service and not a problem in the script.

Requires:
Amarok 1.4
Ruby 1.8
QtRuby (Optional)

Note: Kubuntu users should be able to install QtRuby with the following command:
sudo apt-get install libqt0-ruby1.8

Comments and suggestions are appreciated.




Changelog:

v2.0
====

* New: LyricWiki.org's SOAP API has been implemented, improving performance and reliability.
* Bugfix: Search results no longer yeild duplicate song entries.
* Bugfix: Script will check bands starting with "The" by switching the order when using SOAP. Ex: "The Used" will also try searching for "Used, The"

v1.2
====

* Bugfix: Suggestions when no exact match is found should now function reliably.
* Bugfix: Following page redirects would sometimes fail due to spaces in song or artist names.
* Bugfix: Search results no longer yeild links to albums.

v1.1
====

* Bugfix: Missing QTRuby is now handled by the error handling.
* Bugfix: Bug in removal of category information may have truncated lyrics.
* Package fix: Script is now tarred as a directory for easier removal/update.

v1.0
====

* New: Error Handling. The script should no longer crash if unable to connect to LyricWiki.org.
* New: LyricWiki's page redirects are now automatically followed.
* New: Attempts to both find lyrics with case of ID3 tag characters unmodified and with the first letters of words capitalized before searching.
* Bugfix: Category information was sometimes displayed with lyrics.
* Bugfix: Empty lines before and after the lyrics are now removed.

See the full changelog in the About dialog found in Amarok's Script Manager.




LicenseGPL
Source(lyrics_lyricwiki-2.0.amarokscript.tar.gz)
Send to a friend
Subscribe
Other  Apps  from Rede
Report inappropriate content



goto page: prev   1  2  3 

-

 UTF-8 de/encoding

 
 by haeber on: Jul 31 2006
 
Score 50%

There is a problem with the utf-8 encoding/decoding. line 95:
root.text = lyrics.unpack('C*').pack('U*') #Convert to UTF-8
will destroy already utf-8 encoded chars.

if you only set:
root.text = lyrics
it doesn't destory utf-8 encodings.


Reply to this

-

 Re: UTF-8 de/encoding

 
 by haeber on: Aug 16 2006
 
Score 50%

seems to be fixed in version 0.7, thanks.


Reply to this

-

 Re: Re: UTF-8 de/enc

 
 by Rede on: Aug 17 2006
 
Score 50%

That it is. Enjoy!


Reply to this

-
.

 Thanks!

 
 by Eleniel on: Aug 7 2006
 
Score 50%

I love LyricWiki.


Reply to this

-
.

 Don't work in Dapper

 
 by Eleniel on: Aug 24 2006
 
Score 50%

Hi,

I decided update to the version 0.8 on Kubuntu Dapper. For it, before, I uninstalled the previous version and installed the library that you mention: libqt0-ruby1.8 , but dont work:

«The script 'LyricWiki' finished with the error code: 1»

Detail says:

«$HOME/.kde/share/apps/amarok/scripts/lyrics_lyricwiki.rb:17:in `require': no such file to load -- Qt (LoadError) from $HOME/.kde/share/apps/amarok/scripts/lyrics_lyricwiki.rb:17»

It means that QtRuby is not installed, really? So, I think that I committed an error, but as?


Best wishes,
and sorry for my bad English.
Tae Sandoval Murgan

Reply to this

-

 Re: Don't work in Da

 
 by Rede on: Aug 27 2006
 
Score 50%

In order to make it work, you require QtRuby. To install it in Dapper:

sudo apt-get install libqt0-ruby1.8


Reply to this

-
.

 Re: Re: Don't work i

 
 by Eleniel on: Oct 19 2006
 
Score 50%

Yes, but I have it installed. Stranger, no?


Best wishes,
and sorry for my bad English.
Tae Sandoval Murgan

Reply to this

-

 Re: Re: Re: Don't work i

 
 by Rede on: Oct 19 2006
 
Score 50%

I really don't know why it isn't working for you. You could probably try installing QtRuby manually (not from .deb) but other than that I'm at a loss.

Have you tried using version 1.1? Version 1.1 SHOULDN'T crash the script (it didn't crash when i uninstalled qtruby and tried it) and should just use the defaults if it isn't finding QtRuby. You won't be able to alter the settings, but you should be able to run the script.


Reply to this

-
.

 Re: Re: Re: Re: Don'

 
 by Eleniel on: Oct 19 2006
 
Score 50%

OK, thanks, the new version 1.1 work and is sufficiently for me :)


Best wishes,
and sorry for my bad English.
Tae Sandoval Murgan

Reply to this

-

 Script crashes

 
 by Rouge8 on: Nov 4 2006
 
Score 50%

/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:582: warning: don't put space before argument parentheses
/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:640: warning: don't put space before argument parentheses
/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:653: warning: don't put space before argument parentheses
/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:677: warning: don't put space before argument parentheses
/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:473:in `searchLyricWiki': undefined method `+' for nil:NilClass (NoMethodError)
from /home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:656
from /home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:592:in `loop'
from /home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:592


Reply to this

-

 Re: Script crashes

 
 by UncleOwen on: Nov 5 2006
 
Score 50%

Same error here. Just to make debugging easier, here's a small patch that fixes the warnings:

--- lyrics_lyricwiki.rb 2006-11-05 18:39:04.000000000 +0100
+++ lyrics_lyricwiki.rb.fixed 2006-11-05 18:33:59.000000000 +0100
@@ -579,7 +579,7 @@
path = '/' + path.slice(0..pathsliceend)

xmlpath = '/index.php?title=Special:Export' + path
- urlsource = fetchLyricsXML (path,proxyEnabled,proxyIP,proxyPort )
+ urlsource = fetchLyricsXML(path,proxyEnabled,proxyIP,proxyPort)
end

return urlsource
@@ -637,7 +637,7 @@
#Retrieve URL Source from http://lyricwiki.org/Artist_Name:Song_Name
path = '/' + artist.gsub( ' ', '_' ) + ':' + title.gsub( ' ', '_' )

- urlsource = fetchLyricsXML (path,proxyEnabled,proxyIP,proxyPort )
+ urlsource = fetchLyricsXML(path,proxyEnabled,proxyIP,proxyPort)

if urlsource == 'error'
`dcop amarok contextbrowser showCurrentTrack`
@@ -650,7 +650,7 @@
#Retrieve URL Source from http://lyricwiki.org/Artist_Name:Song_Name
path = '/' + artist.gsub( ' ', '_' ) + ':' + title.gsub( ' ', '_' )

- urlsource = fetchLyricsXML (path,proxyEnabled,proxyIP,proxyPort )
+ urlsource = fetchLyricsXML(path,proxyEnabled,proxyIP,proxyPort)

if urlsource.index('') == nil
searchLyricWiki( artist, title ) #page doesn't exist, search LyricWiki and display results
@@ -674,7 +674,7 @@
proxyIP = settingsarray[2].strip
proxyPort = settingsarray[3].strip

- urlsource = fetchLyricsXML (path,proxyEnabled,proxyIP,proxyPort )
+ urlsource = fetchLyricsXML(path,proxyEnabled,proxyIP,proxyPort)

if urlsource == 'error'
`dcop amarok contextbrowser showCurrentTrack`

No idea about the real error, though, since I don't know ruby. However, I noticed that lyricswiki.org seems to be very slow today, I've even seen some internal server errors. Maybe that's what's causing the error?


Reply to this

-

 Re: Re: Script crashes

 
 by Rouge8 on: Nov 5 2006
 
Score 50%

No, I get that error even when the site is fine.


Reply to this

-

 Re: Script crashes

 
 by Rede on: Nov 8 2006
 
Score 50%

I believe this is a problem because the format on LyricWiki changed.

I've got an exam to do tomorrow, so I'll investigate further and fix it tomorrow night or the day after.

Sorry for the problems.


Reply to this

-

 Full Screen lyric?

 
 by dennismdk on: Nov 14 2006
 
Score 50%

Is it possible to get the lyric in Amarok viewed in full screen? That could be very nice.


Reply to this

-

 Re: Full Screen lyri

 
 by Rede on: Nov 24 2006
 
Score 50%

Not that I know of. You can press the "Open in External Browser" button to view them in the browser though.


Reply to this

-

 Error

 
 by Rouge8 on: Jan 1 2007
 
Score 50%

/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:593: warning: don't put space before argument parentheses
/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:650: warning: don't put space before argument parentheses
/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:663: warning: don't put space before argument parentheses
/home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:687: warning: don't put space before argument parentheses
/usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired (Timeout::Error)
from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
from /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
from /usr/lib/ruby/1.8/net/http.rb:2017:in `read_status_line'
from /usr/lib/ruby/1.8/net/http.rb:2006:in `read_new'
from /usr/lib/ruby/1.8/net/http.rb:1047:in `request'
from /usr/lib/ruby/1.8/net/http.rb:945:in `request_get'
from /usr/lib/ruby/1.8/net/http.rb:375:in `get_response'
from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
from /usr/lib/ruby/1.8/net/http.rb:374:in `get_response'
from /usr/lib/ruby/1.8/net/http.rb:356:in `get'
from /home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:578:in `fetchLyricsXML'
from /home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:650
from /home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:603:in `loop'
from /home/andy/.kde/share/apps/amarok/scripts/lyrics_lyricwiki/lyrics_lyricwiki.rb:603


Reply to this

-

 Re: Error

 
 by Rede on: Jan 2 2007
 
Score 50%

Thats a lyricwiki problem. Theyre currently having server load issues that causes the server to not respond to requests.


Reply to this

goto page: prev   1  2  3 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.