


Amarok 2.x Scripts by berkowitz 138 comments
I can't include musicas.mus.br because site's URL doesn't contain artist and title strings. Only site's which URL contains those strings can be searched by UL. - Jul 26 2010

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments
However, you can try to do reset all Amarok settings (I'm not sure if this will help):
1. stop Amarok
2. rename ~/.kde/share/apps/amarok/ to ~/.kde/share/apps/amarok2/
3. create new empty folder ~/.kde/share/apps/amarok/
4. copy ~/.kde/share/apps/amarok2/scripts to ~/.kde/share/apps/amarok/
5. start Amarok
If this doesn't help restore Amarok settings:
1. delete ~/.kde/share/apps/amarok2/
2. rename ~/.kde/share/apps/amarok2/ to ~/.kde/share/apps/amarok/
Here is a report which say the bug will be fixed in 2.3.1 https://bugs.kde.org/show_bug.cgi?id=225557 - Apr 11 2010

Amarok 2.x Scripts by berkowitz 138 comments
Now the bug. Can you add the following line at start of ~/.kde/share/apps/amarok/scripts/ultimate_lyrics/json.js and restart Amarok.
var JSON = JSON || {};
I has recently updated json.js from http://www.json.org and that could cause the bug. - Mar 27 2010

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments
1. create descriptor for site in sites.js (extract rule, URL pattern, encoding, title pattern ...) Alternatively to extract rule, you can define reply function to extract lyrics from a HTTP reply. Maybe other descriptors in sites.js can give you idea what you have to do. There is also short help at start of the file.
2. register the site in main.js
3. configure url filter for google search from configuration dialog or in main.js
Good luck! - Feb 17 2010

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments
The patch makes sense, but since I can't reproduce the bug myself, I can't test the patch, so I have to ask. Does Amarok just stopped crashing, or script is working now properly? Btw, I would never try this. - Jan 27 2010

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments
The bug should be reported to distro maintainers. This is actually the most common reason for crashing amarok caused by a script. - Dec 10 2009

Amarok 2.x Scripts by berkowitz 138 comments
- Nov 25 2009

Amarok 2.x Scripts by berkowitz 138 comments
Btw, any idea of tag transformation that enlarge yield is welcome. - Nov 24 2009

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments
Quote:Unfortunately, it is hard to include darklyrics since they don't contain song title in url.
An additional aggravating factor is that they display lyrics for a whole album in a single page. - Nov 10 2009

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments
However since it get fixed you can play with CSS. Here is what you can do:
1. in lyrics.js go to line 165 (or just search for </head>)
2. before </head> insert the following css code:
Quote:<style type="text/css">body{color: purple; background-color: silver} a:link{color: GhostWhite; text-decoration: none}</style>
3. change colours according to CSS
This works only in rich text mode (when the script returns an html page)
- Sep 08 2009

Amarok 2.x Scripts by berkowitz 138 comments
However since it get fixed you can play with CSS. Here is what you can do:
1. in lyrics.js go to line 165 (or just search for </head>)
2. before </head> insert the following css code:
Quote:<style type="text/css">body{color: purple; background-color: silver} a:link{color: GhostWhite; text-decoration: none}</style>
3. change colours according to CSS
This works only in rich text mode (when the script returns an html page)
- Sep 08 2009

Amarok 2.x Scripts by berkowitz 138 comments
Fix:
go to lyrics.js, line 341, function String.prototype.unpack and insert new line:
if (this == "") return undefined;
If script starts working, you can disable previously enabled openSUSE patch by reverting patch.js to initial code.
- Sep 06 2009

Amarok 2.x Scripts by berkowitz 138 comments
const INCLUDE_PATCH_FOR_OPEN_SUSE = true;
Try to uncomment the line, restart amarok and report if script is working. It looks similar to a bug in openSUSE. The bug is related to json, which I had just took over. Btw, amarok 2 is a great player. Do not retreat yet. - Sep 06 2009

Amarok 2.x Scripts by berkowitz 138 comments
If google search suggests others sites instead of this one, and you want to use this one, you should change search domain for google search (in configuration dialogue). - Aug 17 2009

Amarok 2.x Scripts by berkowitz 138 comments
You will see a list of sites (list of URLs coloured in blue), and one of sites will be www.stixoi.info.
Then you will have to click the URL to show lyrics. This is because the site doesn't use artist-title in URL
and can't be easily queried by the script, so the script use google.com for that job (this is an idea from another script btw).
All of this is inside the player of course.
- Aug 12 2009

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments

Amarok 2.x Scripts by berkowitz 138 comments