Local 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:

This python based amaroK-script requires amaroK 1.4 and pyKDE!

From now on this script is bundeld with "panzi's lyrics":
http://www.kde-apps.org/content/show.php?content=38120

Since version 1.0.1 it uses pyKDE and a overworked version of dcopext (included in the archive). dcopext is not LGPL. It's license is even lesser restrictiv, I think. See the source for more details.

This lyrics-plugin simply scan's a selected folder for textfiles with lyrics. This might be usefull when you have a lot of lyrics stored on your harddisc, but they are not available on lyrc.com.ar or a simmilar service.

Installation:
-------------
Open the lyrics-filesystem-x.x.x.amarokscript.tar.bz2 with amaroKs script managers script install option.

Usage:
------
Start the script with amaroKs script manager.
Select the directory in which the lyrics are stored.
The filenames of the lyrics have to be:
"artist - title.txt"
or
"title.txt"

Now amaroK will search this folder for lyrics, when there are none in it's database for the current track.

Author's Blog: http://twoday.tuwien.ac.at/pub/
Last changelog:

14 years ago

1.0.2b
Extension type of the lyrics file will be ignored. (.txt is no longer a must)

In amarok.py:
Bugfix: customMenuClicked was not called
ADD: Plugin.addCustomMenue and Plugin.removeCustomMenue. use this so the plugin will automatically delete custom menues at exit.
ADD: exit-handler which captures the SIGTERM signal. just overload the exit-method. custom menues will be deleted automatically!

1.0.2a
fixed executeable rights. (hups)

1.0.2
Fixes in dcopext.py:
Now the bool datatype is handelt right.

amarok.py and lyrics_filesystem.py:
changed behavior a bit. the fetchLyrics method has now a return value (the xml formatted lyrics) and the calling function handels the submit to amarok.

added i18n with a self written i18n-API minii18n.py, see: http://twoday.tuwien.ac.at/pub/stories/22913/

1.0.1
Port to pyKDE. Now I don't use the dcop and kdialog tools, I use pyKDE instead. I had to overwork dcopext so it works to call amarok.contextbrowser.showLyrics(QString) (otherwise allways amarok.contextbrowser.showLyrics() was called).
The overworked dcopext is included.

1.0
Initial upload.

janet

14 years ago

Nice. But why do the lyrics files have to have the ending ".txt"? My lyrics e.g. are all named "title.lyrics" (for I have defined an own filetype for them with an own icon).

Report

C

panzi

14 years ago

Hmm, well. Ok. I could change that. What would be best?


configure option which defines the extension(s)
ignore extension complytely

Report

glattering

14 years ago

either let user defines the extension, or take all files.
:))

Report

C

panzi

14 years ago

Ok, I changed it so that the extension does not matter. Expect the update when my crappy blog is back online (Maximum Thread count reached) or when I find another hosting space.

Report

janet

14 years ago

Thanks :)

Report

14 years ago

1.0.2b
Extension type of the lyrics file will be ignored. (.txt is no longer a must)

In amarok.py:
Bugfix: customMenuClicked was not called
ADD: Plugin.addCustomMenue and Plugin.removeCustomMenue. use this so the plugin will automatically delete custom menues at exit.
ADD: exit-handler which captures the SIGTERM signal. just overload the exit-method. custom menues will be deleted automatically!

1.0.2a
fixed executeable rights. (hups)

1.0.2
Fixes in dcopext.py:
Now the bool datatype is handelt right.

amarok.py and lyrics_filesystem.py:
changed behavior a bit. the fetchLyrics method has now a return value (the xml formatted lyrics) and the calling function handels the submit to amarok.

added i18n with a self written i18n-API minii18n.py, see: http://twoday.tuwien.ac.at/pub/stories/22913/

1.0.1
Port to pyKDE. Now I don't use the dcop and kdialog tools, I use pyKDE instead. I had to overwork dcopext so it works to call amarok.contextbrowser.showLyrics(QString) (otherwise allways amarok.contextbrowser.showLyrics() was called).
The overworked dcopext is included.

1.0
Initial upload.

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
1.0.2b
updated Apr 19 2006
added Apr 16 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 0
System Tags addon