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

Lyrics Manager

   0.2.14  

Amarok Script

Score 70%
Lyrics Manager
zoom


Lyrics Manager
zoom


Lyrics Manager
zoom


Link:  Link
Minimum required   KDE 3.x
Downloads:  3604
Submitted:  Feb 24 2006
Updated:  Dec 2 2009

Description:

About:

This script is intended to extend amaroK lyrics operations. The main actions are:
* Edit lyrics with external editor
* Automatic text cleanup
* Export lyrics to file
* Import lyrics from file
* Mass import and export
* Erase and fill up lyrics
You can select menu items and features that you need. Also you are required to setup editor and storage directory depending on your previous choice. All these parameters are saved in config file and loaded silently at script startup.
Script will take care of HTML break tags while processing lyrics text, so you can edit and store plain text.
Mass operations could be used to backup and restore cached lyrics. Fill up feature prevents automatic lyrics fetching.
For more information see description on the homepage.


Dependencies:

amaroK >= 1.4.3
PERL >= 5.8
KDialog >= 1.0 (optional: for GUI configuration)

Tested on: amarok 1.4.10; perl 5.8.8; kdebase 3.5.9.




Changelog:

version 0.2.14
* fix: bug in collection search algorithm for device paths containing special chars

version 0.2.13
* update: improved flexibility of collection search algorithm




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from msan
Report inappropriate content



goto page:  1  2  3 

-
.

 kdialog

 
 by madpenguin8 on: Feb 24 2006
 
Score 50%

Just a little tip, try kdialog --icon "amarok" to make your kdialogs use the amarok icon, it makes the script look even more integrated.


Reply to this

-
.

 Re: kdialog

 
 by msan on: Feb 24 2006
 
Score 50%

Thank you for your advice! BTW, any comments, bug reports and feature requests are mush appreciated!


Reply to this

-
.

 config file error

 
 by migsy on: Feb 25 2006
 
Score 50%

I get an error, during the initial configuration, saying can't write config file. How do I write a config file manually?


Reply to this

-

 Re: config file erro

 
 by msan on: Feb 25 2006
 
Score 50%

According to Script-Writing HowTo at amaroK Wiki (http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo) amaroK scripts are run in the directory ~/.kde/share/apps/amarok/scripts-data/ so any configuration files should be written to that directory. If you have no writing permissions to that directory for some reason, then you can receive this kind of message.
You could download updated version (0.1.2) of the script as I've extended some error messages and you can see where actually config file is. Also it can be useful to read a new usage part of about information of this script in amaroK.
Please, reply this post and tell me, whether you successful with this instructions or not.


Reply to this

-

 It's not working...

 
 by SloppyNick on: Mar 9 2006
 
Score 50%
SloppyNickSloppyNick
RPA Electronics Design, LLC
-
Nicholas Gillotte 0

RPA Electronics Design, LLC
United States of America, Binghamton
Last visit Mar 10 2006
0 Friends
0 Groups

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

I ran the perl script, and set up the configuration file, which lives in:
~/.kde/share/apps/amarok/scripts-data

Here is the contents of my conf file:

# Lyrics Manager configuration
# preffered editor
editor=kwrite
# texts directory
texts_dir=~/.kde/share/apps/amarok/lyrics
# 'export after edit' flag (0/1)
export_after_edit=1


The popup menu in amaroK doesn't have the extra options unless the perl script is running. Is this intended? Also, clicking on the menu items doesn't seem to have any effect. Any ideas?


Reply to this

-

 Re: It's not working

 
 by msan on: Mar 9 2006
 
Score 50%

It seems to me that you're running perl script from command line. You need amaroK Script Manager (launched from Tools->Script Manager) to setup this script properly. Choose Install script and select downloaded archive, than choose Run.

The second thing is that perl don't understand paths, those are begun with '~', that's why you need global path (starting with '/') for texts directory. If you have KDialog and use GUI configuration, than there is no worries. I'll include support for a '~' in future versions.


Reply to this

-
.

 Re: Re: It's not wor

 
 by SloppyNick on: Mar 10 2006
 
Score 50%
SloppyNickSloppyNick
RPA Electronics Design, LLC
-
Nicholas Gillotte 0

RPA Electronics Design, LLC
United States of America, Binghamton
Last visit Mar 10 2006
0 Friends
0 Groups

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

Yeah, the problem was that I was running the script from the command line.

Also, I had my global path, I just substituted ~ for privacy reasons.

One suggested fix is to allow a user to enter a hidden folder as the lyrics directory. I tried to do this from the configuration screen, but when I clicked OK, nothing happened. I suspect this was because the File Chooser couldn't display the folder, because it was hidden. Howver, it was easily fixable in the configuration file later.

So now it works. Thank you! Two thumbs up!!


Reply to this

-

 Re: Re: Re: It's not

 
 by msan on: Mar 10 2006
 
Score 50%

To select hidden directories you just need to turn on this feature in popup menu in Directory chooser. Afaik, it is true for all standard KDE choosers.


Reply to this

-
.

 Can't figure it out

 
 by DrMartinus on: Mar 10 2006
 
Score 50%

Hi,

I wanted to test this skript - it seems to be a good way to solve my problems. I can enter lyrics in files, they are saved (I just checked), but I have no idea how to make them visible again. When I click on "import" in the context menu, nothing happens, but I'd rather have this load the texts automatically.
Won't it work like any of these lyrics skripts that fetch lyrics from web servers?

Thanks for your help!

Martin


Reply to this

-

 Re: Can't figure it out

 
 by DrMartinus on: Mar 10 2006
 
Score 50%

sorry, just to complete my first comment:

Lyricsmanager returns a message that the text has been imported, so actually it should become visible at one place, shouldn't it?


Reply to this

-
.

 Re: Can't figure it

 
 by msan on: Mar 10 2006
 
Score 50%

Current version of Lyrics Manager can't autoload texts from files when song starts playing. But I think it's a great idea to adopt fetching lyrics mechanism for implementing such a feature. Fetching lyrics event is implemented in unstable amaroK 1.4 releases, those are not fully documented for now, however I'll try to check this out and if it could be adopted, I'll include support for this feature in next few releases of the script.

When you click "import", the script loads file contents to amaroK database. The loaded text should be visible in lyrics tab during the next track playing.

Also it is known issue that you import current track lyrics and lyrics tab is not autorefreshing (you need to relaunch song playing to see the text), but I don't know the way to walk around. If someone could help me with this issue, please, contact me!

I'm currently developing next version of the script with mass import and export support. Maybe it would be more suitable for your needs, because you can edit many files and than import them to amarok in one click!


Reply to this

-
.

 Re: Re: Can't figure it

 
 by sugnacamrevyg on: Mar 15 2006
 
Score 50%
sugnacamrevygsugnacamrevy g
KGU Consulting GmbH
-
Stefan Hirche 0

KGU Consulting GmbH
Germany, Schnarup-Thumby
Last visit Dec 21 2011
0 Friends
0 Groups

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

Hi,
maybe your problem is the same I've noticed yesterday. Some cached lyrics were shown, some not. I than understood, that only the lyrics I imported with your script were not shown. That is because the lyrics string that is saved was changed in 1.4. In the lyrics_text_to_amarok routine, you add br to every end of line. But amarok firstly needs correct xml for this string and secondly does this itself. So you shouldn't change the lines and all is perfect.


Reply to this

-

 amarok 1.4 issue

 
 by msan on: Mar 16 2006
 
Score 50%

Thank you very much for telling me about 1.4 version changes! I had some problems with 1.4 beta releases, beta2 is not working for me now, so I can't check it up by myself... I'll try to set it up soon and to fix the script.

And there is no such simple solution as to cancel concatenation of br tags, because of amarok 1.3 users, those have different lyrics processing in player. There should be lyrics processing dependent on version number.


Reply to this

-

 Re: amarok 1.4 issue

 
 by panzi on: May 2 2006
 
Score 50%

In amarok 1.4 you display & set lyrics of the current son by:

dcop amarok contextbrowser showLyrics 'text text
text text

text text'

Or if you whant to display suggestions:
dcop amarok contextbrowser showLyrics ''

When a suggestion is clicked your script receives the event:
fetchLyricsByUrl

The url-argument will be cgi-encoded, which makes problems wth local urls (because they CAN contain spaces etc. and they can contain %20).
I Made a workarround:
I used python's urllib to encode (quote) it myself so that no character is contained which amarok encodes and even %xx parts are encoded (%25xx) and then I decode it in the fetch-event.

See my Local Lyrics fetcher (and two others, bundeld in one package) for amarok 1.4:
http://kde-apps.org/content/show.php?content=38120


Reply to this

-

 Re: Re: amarok 1.4 i

 
 by panzi on: May 2 2006
 
Score 50%

hmpf, all XML tags where striped from my description. I added a description on how to set lyrics/suggestions in the amarok-wiki.
see: http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo


Reply to this

-
.

 Re: Re: Re: amarok 1

 
 by msan on: May 3 2006
 
Score 50%

Thank you! It's very interesting and useful information. contextbrowser.showLyrics is a complete solution to refresh problem.

I've tested some notifications and dcop calls. They work. But I've noticed that new amaroK 1.4 notifications are sent not only to 'type=lyrics' scripts. My script could handle it too. It's a bad practice to use it, I think, because it would conflict with running lyrics script... It's not fair to set type of my script to 'lyrics', because the main aim of the script is not to fetch local lyrics, though I'm about to implement automatic import somehow :). By setting 'lyrics' type I deny other fetching scripts to run at the same time.

Some months ago, when I had read about lyrics fetching, tried it and discovered this constraint (to run only one 'type=lyrics' script), the idea of a script collection came to me. It is the same, I think, as fredlefred wrote in discussion in mini-forum of the Panzi's Lyrics script. I am trying to show the importance of such script and the value of this constraint. Your script (Panzi's Lyrics) is a great step towards. If you would not have much time to write it, I'm about to do it (or maybe someone else, who cares).
Imho it must be implemented in amaroK as an internal feature.



-

 Re: Re: Re: amarok 1

 
 by panzi on: May 3 2006
 
Score 50%

If you would not have much time to write it, I'm about to do it (or maybe someone else, who cares).

Wel I don't have any time to write it. But I still write it. (I'm so screwed)



-
.

 ipod

 
 by Hirs on: Apr 17 2006
 
Score 50%

It's perfect to add lyrics to ipod notes, only point export lyrics dir to your ipod notes directory

Thank you!


Reply to this

-
.

 Slash problem

 
 by bitcrazy on: Jun 20 2006
 
Score 50%

Hi,
fkirst thank you for this script. But I have a little problem with artist names, that contain slashes. Seems, that they aren't escaped in your script. I'm not a perl programmer, so I can't fix it for myself. Just an example AC/DC-TNT.txt would lead to a file not found error, 'cause of the slash.

Thanx

m0nk


If men could get pregnant, abortion would be a sacrament.
Reply to this

-

 Re: Slash problem

 
 by msan on: Jun 24 2006
 
Score 50%

Hi!

You can't place slash symbol in file names because it used in paths as a separator. It's a system restriction. 'AC/DC - TNT.txt' is considered as 'DC - TNT.txt' file in 'AC' subdirectory (you get an error, because this subdir is not exist).

Solution to this problem could be a slash replacing in file name. For ex., the name of text file would be 'AC-DC - TNT.txt' or 'AC%DC - TNT.txt'. If you like this, I could implement it...

If you have another proposal, let's discuss it!


Reply to this

goto page:  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.