-
 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  .- Knowledge Base  . 

ScroogLyrics

   0.11  

Amarok Script

Score 76%
ScroogLyrics
zoom


Link:  Link
Downloads:  342
Submitted:  Dec 4 2007
Updated:  Jan 19 2008

Description:



********************
OBSOLETE
********************
Get GoogLyrics: http://kde-apps.org/content/show.php?content=73850






NOTICE
* DO NOT USE THIS SCRIPT RIGHT NOW *
An update will be available soon that will fix the current Scroogle issue. Sorry for any inconvenience. A renaming might be inorder, so, watchout for a Googlyrics

I've been annoyed by the low yield on some of my more obscure music with many of the Amarok lyric search scripts available. I'd used a program waaay back when in my windows days called EvilLyrics, they had an interesting idea, Google for the lyrics then rip them off known websites. Well, I decided this is what Amarok needed! After a quick day of scripting, here's the result: a true lyrics metasearch script. Since google's SOAP API is crap (now doesn't allow you to register keys and returns dramatically different results to web search), I decided I'd scrape. Since Scroogle had a cleaner markup, I decided it'd be even better to scrape then just Google (and the paranoid might like me more or something). Anyways, the script searches scroogle (hence the name Scrooglyrics) for the song lyrics, then pulls them off the known sites. Adding sites should be easy so, tell me what sites you'd like to see and I'll be sure to get them in next release! Remember, these sites should be reputable ones that show up in the first 20 results on google for your song's lyrics.

To use this script you must have the WWW::Mechanize perl module installed. Your distrobution probably has a package for it, but, in the case they don't, you can do this the perl way, su to root then use cpan to install each of them, ex:
$su
#cpan
cpan>install WWW::Mechanize

---- OR ----

If you're on ubuntu or debian, you can simply apt it with this command:
sudo apt-get install libwww-mechanize-perl

I'd like as much input on this as possible, so, if you've tested it, please comment! Your opinion is wanted :)

If you're able to, please report bugs directly to our bugtracker at:
http://udmp.info/mantis




Changelog:

0.11:
- Major rewrite
- Now easier than ever to add lyrics sites or disable them in the source (options screen coming soon)
- enhanced whitespace cleaning.
- overall cleaner code
- Now spoofs user agents to IE6 on Windows to work around any weak blocking attempts.

0.10:
- Multiple search queries to find song, starts most accurate, works down to least (this should remove errors where an incorrect page is ripped)
- Added support for themadmusicarchive.com
- Updated sing365 regex

0.9:
- Supports lyriki.com
- Supports lyricspy
- Now supports local lyrics!
To use local lyrics, make a folder called "lyrics" in your home directory and store files named either as Title.txt or as Artist - Title.txt
Note that these are case sensitive, so be careful before you say it doesn't work.

0.8:
- Several major changes UPGRADE STRONGLY RECOMMENDED!
- Script will now fail properly if no lyrics are found
- Now fails properly when there's no connection
- Fixed several regex's which were not working properly
- Whitespace problems are now solved for several sites

0.7.4:
- No more crashing on connection problems
- Now removes parts of title in parenthesis.
- Added in README and COPYING for about dialog

0.7.3:
- Fixed bug in artists or song name containing special characters.

0.7.2:
- Fixed bug where artist name is not sent in search request

0.7.1:
- Added some extra debugging code
- Fixed lyrics007 linebreak bug
- Now removes starting "The" in artist names, seems to get better results

0.7:
- Removed depenencies on HTML::Entities and HTML::Strip, just needs Mechanize now.

0.6:
- BIG Update!
- Now searches songmeanings.net and wearethelyrics.com
- now only googles for results in sites needed
- now will keep looking if a regex fails instead of dying
- big thanks to mattepiu and neoeno for their work towards this version, great job!
- Stay tuned for a version that will include modules.

0.5.1:
- Fixed capturing for actionext.com and azlyrics.com
- Added a little extra debugging, if anyone's having problems, pull up the output window for the script and see if a regex has failed.

0.5:
- Fixed packaging error

0.4:
- Added letssingit.com and lyricwiki
- code cleanup, now passes use strict
0.3:
- Bug fix :) No more last-lyrics bug. I hope.

0.2:
- Added sign365.com support. I'll be working on that last-lyrics bug for next release.

0.1:
Initial release, currently has support for 3 lyrics search websites, azlyrics.com, lyrics007.com and actionext.com. This will probably be expanded later, but, I easily find most of my more obscure songs with just these 3! This my friends is why we need a lyrics metasearch.




LicenseGPL
Source(Amarok Script)
Donate
Send to a friend
Subscribe
Other  Apps  from ultramancool
Report inappropriate content



goto page: prev   1  2  3  4 

-

 Lyricwiki not found

 
 by morethanskindeep on: Jan 5 2008
 
Score 50%

First of all, thank you for this amazing script: it works very well and is better than anything I have ever seen! I am happy to have found it after continuing frustrations with others.


1) I have noticed one thing: not all lyrics on lyricwiki.org seem to be found by scroogle.
For example, I tried the query

"Otis Taylor" "Buy Myself Some Freedom" lyrics

giving only useless results, though the site http://lyricwiki.org/Otis_Taylor:Buy_Myself_Some_Freedom does exist. (Can that be because it was added only recently?)


2) Second of all, I was wondering what you think about adding support for local lyrics files -- first searching the file names in some local directory (see also http://kde-apps.org/content/show.php/Local+Lyrics?content=37981) and in case nothing is found asking scroogle.
I don't know enough to do that myself, but I can imagine that it is not overly difficult?


Thanks again... :)


Reply to this

-

 Re: Lyricwiki not found

 
 by ultramancool on: Jan 5 2008
 
Score 50%

Thanks, I was in an awful mood and needed to know my work was appreciated.

1) Yeah, that's just because the page was recently created and is yet to hit google, not much I can do about that, sorry.

2) This seems like a pretty good idea, I'll see what I can do, maybe for 0.9 :)


bash: Think about how stupid the average person is. Now realize that half of them are dumber than that.
quoteer: Why half?

Reply to this

-
.

 excellent

 
 by qurk on: Jan 7 2008
 
Score 50%

I have to say your script is very very good. Lyrc seems to have been down last couple days, and was frustrating copy pasting all the lyrics in. I tried your script like a month ago and it didn't work too well, but went to hotnewstuff and installed new version a little bit ago and wow. Every song is like instantaneous, even had a couple 10 second songs flash the lyrics before changing. I am impressed, you are doing a good job.


Reply to this

-

 Scroogle is blocking

 
 by DanielBrandt on: Jan 13 2008
 
Score 50%
DanielBrandtDanielBrandt
Public Info Research / Scroogle
Home
-
Daniel Brandt 0

Public Info Research / Scroogle
United States of America, San Antonio, Texas
Last visit Jan 13 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Scroogle is blocking this script as of 2007-01-13. The only reason Google, Inc. barely tolerates Scroogle, which is an unauthorized scraper run by a nonprofit so that individual users can see Google results without compromising their privacy, is because I have made assurances to Google that I am actively blocking automated inquiries. Due to increased publicity for this script, I felt that it was time to block users who arrive at Scroogle through the use of this script.
-- Daniel Brandt, Scroogle sysop


Reply to this

-

 Scroogle is blocking

 
 by DanielBrandt on: Jan 13 2008
 
Score 50%
DanielBrandtDanielBrandt
Public Info Research / Scroogle
Home
-
Daniel Brandt 0

Public Info Research / Scroogle
United States of America, San Antonio, Texas
Last visit Jan 13 2008
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

Scroogle is blocking this script as of 2008-01-13. The only reason Google, Inc. barely tolerates Scroogle, which is an unauthorized scraper run by a nonprofit so that individual users can see Google results without compromising their privacy, is because I have made assurances to Google that I am actively blocking automated inquiries. Due to increased publicity for this script, I felt that it was time to block users who arrive at Scroogle through the use of this script.
-- Daniel Brandt, Scroogle sysop


Reply to this

-
.

 Re: Scroogle is blocking

 
 by ultramancool on: Jan 13 2008
 
Score 50%

I'm sorry to hear this. Sorry to tell you, but, noone asked for your opinion. Well, it doesn't appear any block is in effect yet. Please read the bottom question on here, http://udmp.info/content/view/13/29/. In any case, the next release will spoof user agent to Windows IE6, so, I hope you like playing cat and mouse. I feel the queries themselves are fairly hard to identify as being automated in the new release too. Enjoy Scrooglyrics 0.11!


bash: Think about how stupid the average person is. Now realize that half of them are dumber than that.
quoteer: Why half?

Reply to this

-
.

 Bug on Ubuntu Gutsy

 
 by PhobosK on: Jan 14 2008
 
Score 50%
PhobosKPhobosK
KBFX and PlexyDesk Teams
Home
-
Phobos Kappa 0

KBFX and PlexyDesk Teams
Bulgaria
Last visit Jul 27 2014
5 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

Hi, First let me thank you for the nice lyrics script.
Now to the problem - it worked for a while but it started to give an error in the WWW::Mechanize module (at the beginning happened randomly but now it is preventing the script from working as soon as any song is played). That is why I upgraded to 0.11 version but the problem still exists. More info:
  • WWW::Mechanize tested with 1.20 (the original version in Gutsy) and 1.34 (latest version from CPAN)
  • Amarok 1.4.7
  • Unicode system
  • Nothing in the output script window
  • The error is:
    (WWW::Mechanize 1.20)Can't call method "value" on an undefined value at /usr/share/perl5/WWW/Mechanize.pm line 1107, <STDIN> line 1.

    (WWW::Mechanize 1.34) Can't call method "value" on an undefined value at /usr/local/share/perl/5.8.8/WWW/Mechanize.pm line 1247, <STDIN> line 3.

  • PS. BTW the bug report system requiring sign-up is not very convenient for the users i think, but anyway it is your decision so i do not judge you.


    =======
    PhobosK - A KBFX Team Member

    Reply to this

    -

     Re: Bug on Ubuntu Gutsy

     
     by ultramancool on: Jan 14 2008
     
    Score 50%

    I'm using WWW::Mech 1.34 myself (and amarok 1.4.8) and only saw this problem before when it was possible for mechanize to fail to retrieve a page and the script to continue to try to parse it, now we have error detection for that kind of thing :). Seeing as you still had this issue in 0.11, I'd like to look into this more. Can you name a few songs you were trying to query that got this result? Do you need a proxy or anything to connect to the internet (though I expect that would have given you a connection failure message)?

    You're right about the bug report system, sorry about that.


    bash: Think about how stupid the average person is. Now realize that half of them are dumber than that.
    quoteer: Why half?

    Reply to this

    -
    .

     Re: Bug on Ubuntu...

     
     by PhobosK on: Jan 14 2008
     
    Score 50%
    PhobosKPhobosK
    KBFX and PlexyDesk Teams
    Home
    -
    Phobos Kappa 0

    KBFX and PlexyDesk Teams
    Bulgaria
    Last visit Jul 27 2014
    5 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    No i do not use any kind of proxy or anything.
    It happens practically with every song.
    Here are some of them Title/Artist/Album:

  • 01 - Dark Skies/Blutengel/Angel Dust - Ltd Edition

  • Adelante - Bonus/SASH/S4! Sash!

  • These Words/Natasha Bedingfield/Unwritten

  • 05_ Why/DJ Sammy/The Rise

  • =======
    PhobosK - A KBFX Team Member

    Reply to this

    -
    .

     Re: NOT a bug on ...

     
     by PhobosK on: Jan 14 2008
     
    Score 50%
    PhobosKPhobosK
    KBFX and PlexyDesk Teams
    Home
    -
    Phobos Kappa 0

    KBFX and PlexyDesk Teams
    Bulgaria
    Last visit Jul 27 2014
    5 Friends
    1 Groups

    More info
    Send a message
    Add as friend
    Other contents
    --

    Ok... It's a shame really... The problem is not in the code at all but in the "Scroogle sysops" (I will not use any qualifications about them because i cannot find a proper word - my dictionary is not so rude). What they do is blocking IPs that used their service via the script (this is only my guess). What I get from my IP as a result of the queery (LWP debug):
    LWP::UserAgent::new: ()
    LWP::UserAgent::request: ()
    HTTP::Cookies::add_cookie_header: Checking www.scroogle.org for cookies
    HTTP::Cookies::add_cookie_header: Checking .scroogle.org for cookies
    HTTP::Cookies::add_cookie_header: Checking scroogle.org for cookies
    HTTP::Cookies::add_cookie_header: Checking .org for cookies
    LWP::UserAgent::send_request: GET http://www.scroogle.org/cgi-bin/scraper.htm
    LWP::UserAgent::_need_proxy: Not proxied
    LWP::Protocol::http::request: ()
    LWP::Protocol::collect: read 18 bytes
    LWP::UserAgent::request: Simple response: OK
    Can't call method "value" on an undefined value at /usr/local/share/perl/5.8.8/WWW/Mechanize.pm line 1247, <STDIN> line 3.


    is:

    HTTP/1.1 200 OK
    Date: Mon, 14 Jan 2008 22:15:56 GMT
    Server: Apache/2.0.51 (Fedora)
    Content-Length: 18
    Connection: close
    Content-Type: text/plain; charset=UTF-8

    Server too busy.


    So the script fails.
    I run simultaneous (sync) queeries from 3 diff IPs to http://www.scroogle.org/cgi-bin/scraper.htm
    and the one from my IP fails everytime....
    + The queery CGI script: http://www.scroogle.org/cgi-bin/nbbw.cgi?Gw=point+of+no+return
    gives forbidden error....

    I am speechless ...


    =======
    PhobosK - A KBFX Team Member

    Reply to this

    -

     Re: Re: NOT a bug on ...

     
     by ultramancool on: Jan 15 2008
     
    Score 50%

    Oh really? the user agent switch in the latest version seems to be working for me still. If anyone else reports this issue I'll switch to ripping google, that's less evil anyways.


    bash: Think about how stupid the average person is. Now realize that half of them are dumber than that.
    quoteer: Why half?

    Reply to this

    -

     Scroogle hates me.

     
     by ultramancool on: Jan 15 2008
     
    Score 50%

    Well everyone, it seems I'm completely firewalled out of scroogle, nice work, eh? Don't worry, I'll release an update by tommorow to fix this up. Sorry for the inconvenience.


    bash: Think about how stupid the average person is. Now realize that half of them are dumber than that.
    quoteer: Why half?

    Reply to this

    goto page: prev   1  2  3  4 

    Add commentBack






    -
    -
    How do you like Plasma 5?
     The best KDE Desktop ever.
     Definitely a nice improvement.
     Not decided yet. Haven't tried it yet.
     I do not like some of the changes.
     KDE is taking the wrong way.
     I am still sticking with KDE 3.5.
     I have no opinion, but wanted to vote anyway.

    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.