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

Lyrics ID3

   1.8-beta  

Amarok Script

Score 79%
Lyrics ID3
zoom


Lyrics ID3
zoom


Lyrics ID3
zoom


Link:  http://
Minimum required   PyKDE/PyQt
Downloads:  4483
Submitted:  Nov 27 2006
Updated:  May 28 2012

Description:

Die deutsche Übersetzung der Skriptbeschreibung:
http://www.gansinger.net/lyricsID3/README.de.xhtml

Français:
http://www.gansinger.net/lyricsID3/README.fr.xhtml

Italiano:
http://www.gansinger.net/lyricsID3/README.it.xhtml

Available Languages
The script is available in:
- English
- German
- French
- Italian
- Czech
Read Lyrics from ID3
his is a lyrics script for Amarok. In contrast to many other lyrics scripts, it fetches the lyrics not from the Internet. It uses the possibility to store lyrics in the ID3 tag of mp3 files (USLT frame). So if there are lyrics stored in file and this script is running, Amarok will display the lyrics.
ID3v2 allows to store multiple lyrics in one file. They are separated by different language codes and/or comments. In this case the script let you choose between the different lyrics by a simple click.

Additionally there is a rudimentary support for Vorbis Comments and FLAC Comments. It is possible to specify a key value (the default is LYRICS). The first comment containg the keyword will be read out and displayed as lyrics in Amarok.

As for Ogg Vorbis there is a feature for reading lyrics in m4a (mp4 (AAC)).

Many lyrics contain characters, which are not in the range of ASCII. In order to handle these characters, you should use a appropriate standard out encoding, like UTF-8 or Latin1.

There is no configuration required by the script.

Save Lyrics to ID3
With this script you can save the lyrics of a song in the ID3v2.4 tag of a mp3-file. If you use a mp3-player which can read this tag (USLT frame in ID3), it will display the lyrics.
To store the lyrics, two options have to be specified: a three letter language code (ISO 839-2) and a comment or description of the lyrics. This script provide to modes on how to save the lyrics. These modes are Automatic Mode and Manual Mode. Additionally you can delete already stored lyrics.
All lyrics are stored in UTF-8, which require ID3v2.4. So all tags with versions 2.x will be updated to v2.4. If there is only a ID3v1.1 in the file, an additional tag will be created. If there is no tag at all, no lyrics will be stored.
Many lyrics contain characters, which are not in the range of ASCII. In order to handle these characters, you should use a appropriate standard out encoding, like UTF-8 or Latin1.

Automatic Mode
In this mode the lyrics are stored automatically. Every time Amarok starts a new song the scripts waits a specified time then it fetches the lyrics and stores them in the file. For a successful use of this mode, you have to configure some stuff. First of all you need the specify a language code and a description which will be used. Second you have to specify a waiting time. This represents the time between a track change and the start of the storing process. The amount of seconds is calculated by the song length divided by waitTime. Thus a bigger the value of waitTime leads to a shorter time between a track change and the storing process.
All these configurations can easily be done with the configuration dialog provided by the script. To use this, mark the script in the script manager in Amarok and click on configure (the script has to be in running mode).
If you to disable the Automatic Mode you can easily do this during the configuration process.

Manual Mode
- Saving Lyrics -
You can also save the lyrics manually. For this you can use the context menu entry: saveLyrics. The action is always based on the selcted songs in the playlist. If you click on saveLyrics, you will get a dialog where you can specify the language code, description and lyrics.
If there are already lyrics and the file, the dialog will show the language code and the description of the lyrics in the file. The displayed lyrics are always the ones, which Amarok displays in the context browser. To overwrite the lyrics just acknowledge the dialog. If you specify new options, the lyrics will be stored additionally except Change Comment is not checked. If this is checked, the lyrics will not be stored additionally. The lyrics will be stored with the same language key and a different comment. So the previous lyrics will be deleted in the file. If there are more than one lyrics with the selected language key in the file, just one will be overwritten.
- Deleting Lyrics -
This works like the saving process. If you use the context menu entry removeLyrics a dialog will show up. In this dialog you can specify the language code and the description of the lyrics which should be deleted.


Dependencies
  • Python 2.2, 2.3, 2.4 or 2.6
  • Python Mutagen (http://code.google.com/p/mutagen/)
  • pyhton-qt3
  • Python Minidom
  • Python urllib
  • kdialog


  • Warning
    The lyrics are stored in the mp3-File. I can not guaranty that the file is not damaged after the writing process.
    The file type is only verified by extension.

    Translators wanted
    I am looking for translators. So if you want to contribute, translate the script in your favorite language and send me the result. I will release your translation with the script.
    If you have experience with translation and gettext you can use messages.pot provided with the script. Otherwise you can contact me and I'll explain how to do the translation.

    Previous Versions
    Previous Versions of the script can be found at:
    http://stifi.st.ohost.de/scripts/

    Save Lyrics to ID3 Button
    If you want to have a button in Amaroks Context Browser which triggers a saving cycle you can download the patches here:
    http://www.student.tugraz.at/stefan.gruber/saveButtonPatch/

    Feedback is appreciated and please report any bugs.

    Finally, thanks to every contributer!




    Changelog:

    Version 1.8-beta
  • Bug fix in XML processing by madli *thanks*

  • Version 1.8-alpha (cs)
  • Czech translation from Pavel Fric *thanks*

  • Version 1.8-alpha
  • KApplication and kdialog is not needed anymore (-->Script should now work with newer versions of python and kde)
  • Removed automatic installer for python-mutagen

  • Version 1.7
  • corrected link in README to French translation
  • Italian translation and some spell checks from Marco Poletti *thanks!*

  • Version 1.6a
  • small bug fix version

  • Version 1.6
  • french translation by pgraber *thanks!*
  • set STD_ENCODING to ASCII as default

  • Version 1.5
  • some unicode fixes on notifiactions
  • disabled debug output by default

  • Version 1.4
  • new Icon
  • fixed character sets errors in mass tagging

  • Version 1.3
  • support for FLAC
  • configurable key name for FLAC/Vorbis
  • added Mass Tagging Feature
  • the action is now based on the selected songs in the playlist
  • Configuration Dialog

  • Version 1.2a
  • removed popup if no lyrics are found

  • Version 1.2
  • removed debug(lyrics)
  • reading support for m4a
  • using mutagen for Ogg Vorbis
  • Timer for Automatic Mode is stopped, if Amarok stops playing the song.

  • Version 1.1
  • started with translation (gettext)
  • If mutagen is not installed, the scripts tries to install it.
  • READMEs are in well formated XHTML
  • Automatic Mode can be disabled
  • changing comments is now possible
  • some structural changes in the code
  • very small bug fixes
  • all dialogs are now in front by default

  • Version 1.0
  • error message on wrong language code was always shown after configuring the script

  • Version 0.9
  • spec-file
  • better description of the script behaviour
  • politer messages
  • non-ASCII characters in comments are handled
  • small bug fixes

  • Version 0.8
  • exit gracefully on stop
  • automatic mode did not work

  • Version 0.7
  • removed dependency of dcop lib (which caused many problems for python2.5 users)
  • saving in vorbis is deactived by default, because I have no time to maintain this script

  • Version 0.6
  • many encoding fixes (thanks to aeternos)

  • Version 0.5
  • GUI for configuration
  • improved the dialog for saving the lyrics
  • you can now edit the lyrics before saving
  • better dialog for deleting the lyrics

  • Version 0.4
  • added non ISO language codes
  • waiting time is now configurable
  • (click on 'configure' to initialize your configuration-file)
  • new configure option: comment
  • cleaned up code

  • Version 0.3
  • removed pause option
  • small bug fixes

  • Version 0.3alpha
  • initial release with python-mutagen



  • LicenseGPL
    Source(Lyrics ID3 v1.8-beta)
    other(Previous Versions)
    other(Patch for "Save to ID3" button)
    Send to a friend
    Subscribe
    Other  Apps  from stifi
    Report inappropriate content



    goto page: prev   1  2  3  4 

    -
    .

     Rock man!

     
     by Dareus on: Jul 31 2007
     
    Score 50%

    This is a really cool script.
    It's exactly what I need(ed).
    A little wish: is there a way for the script to search on the web if no lyrics are found in the file?
    When you add some new files to collection is quite annoying to search manually (with the help provided by the contest browser) for the lyrics; if it was automated...


    Reply to this

    -

     Re: Rock man!

     
     by stifi on: Aug 1 2007
     
    Score 50%

    Quote:
    little wish: is there a way for the script to search on the web if no lyrics are found in the file?
    When you add some new files to collection is quite annoying to search manually (with the help provided by the contest browser) for the lyrics; if it was automated...

    Sorry, no. But some time ago, I wrote a patch and a script for Amarok, which changes the lyrics script, if the script returns no lyrics. You can try it, if you have a little experience in patching and compiling ...
    http://bugs.kde.org/show_bug.cgi?id=135213


    Reply to this

    -

     Support for FLAC

     
     by imruska on: Sep 23 2007
     
    Score 50%

    This is a very useful script. I have, however, a large number of Flac files on my computer with lyrics tags. Could you also add FLAC support to your script now after Vorbis and M4A?
    Thanks.


    Reply to this

    -

     Re: Support for FLAC

     
     by stifi on: Sep 23 2007
     
    Score 50%

    I think there is no official lyrics tag in flac (like in Vorbis). For Vorbis I used "LYRICS" but I think no other software uses this tag name, so it is rather useless, because there is no writting support for these tags in my script. The same problem applies for flac. But if you tell me the tag name of the tag you want to use (reading of course), I can implement that feature.

    Thanks for your comment.

    Flac tags for reference:
    http://flac.sourceforge.net/faq.html#general__tagging


    Reply to this

    -

     Re: Re: Support for

     
     by imruska on: Oct 8 2007
     
    Score 50%

    There was a discussion at Hydrogenaudio.org what should be the tag for lyrics for Flac files, and people came up with the most obvious answer: "LYRICS". So if you could just implement it, it would be great.
    Thanks


    Reply to this

    -

     Re: Support for flac

     
     by stifi on: Oct 12 2007
     
    Score 50%

    I'm quite busy these days ...

    I'll try to implement reading lyrics of flac files with a configurable tag name. But give me some time. Write support will not be available until there is a (pseudo)standard for lyrics in flac files.


    Reply to this

    -

     Re: Re: Re: Support for

     
     by stifi on: Oct 15 2007
     
    Score 50%

    done


    Reply to this

    -
    .

     Two problems

     
     by daho on: Jan 31 2008
     
    Score 50%

    This is a great script, although I have two problems which might be related or not and hope someone can help me with them:

    Firstly I can't read the stored lyrics from the tags. Every time I try to launch the 'Lyrics from ID3' script, I am told that Mutagen is needed and the script exits, although Python-Mutagen is installed. If I choose to let the script try to download and store it in the script folder, it fails.

    And secondly, the script won't write to .ogg files and just tells me the file format is not supported. Maybe I got this wrong, but I thought the script is supposed to have rudimentary Vorbis support.

    I am on a Debian etch system and use Amarok 1.4.4 and KDE 3.5.5.


    Reply to this

    -

     Re: Two problems

     
     by stifi on: Feb 5 2008
     
    Score 50%

    [Python-Mutagen]
    What does it mean: "If I choose to let the script try to download and store it in the script folder, it fails."

    [OGG-Support]
    The support is disabled by default. You have to enable it by modifying the source code. If you do not know how to do that do not use ogg-support because it is not tested and will probably not work with unicode.


    Reply to this

    -

     Re: Two problems

     
     by daho on: Feb 6 2008
     
    Score 50%

    Thanks for your reply.
    Quote:

    What does it mean: "If I choose to let the script try to download and store it in the script folder, it fails."

    Well, if I start the "Lyrics from ID3" script, a window pops up and tells me that I need Python-Mutagen and asks me if it should try to download and install it in the script directory. I click yes and after a short while it tells me that downloading and installation failed.
    Hmm, forget about it, while writing this I made the above described steps again to check the messages, and this time the installation was successful. I do not know why, all the other times it failed.
    However, the question why the script does not recognise the already installed version of Python-Mutagen in the first place remains.

    Quote:

    The support is disabled by default. You have to enable it by modifying the source code. If you do not know how to do that do not use ogg-support because it is not tested and will probably not work with unicode.

    That's a pity! Is regular ogg-support planned for the future? I really hope so since ogg has many advantages and is becoming more and more popular.

    Daniel


    Reply to this

    -

     Re: Re: Two problems

     
     by stifi on: Feb 10 2008
     
    Score 50%

    Quote:
    That's a pity! Is regular ogg-support planned for the future? I really hope so since ogg has many advantages and is becoming more and more popular.

    Unfortunately I'm very limitted in my spare time. Because I do not want to release anything before it was tested enough, ogg-support will not get stable soon. -- sorry ):. My plans are to start developing again when Amarok 2 gets stable and useable.


    Reply to this

    -
    .

     READ ID3

     
     by astateo on: Feb 1 2008
     
    Score 50%

    hi there! thank you so much for this great script! the script works perfectly with amarok and apparently it stores all the lyrics in the mp3s. I say apparently because i haven't find any way to read the lyrics inside the files without amarok, i would like to have access to these information also in other operating systems (ex. windows) or other progams under linux but all the id3 tag editors i found don't retrieve any lyrics from the mp3 files processed by your script (and perfectly read by amarok). any explanation about this? suggestion welcome for others methods to read the id3 tags. thanks!


    Reply to this

    -

     Re: READ ID3

     
     by stifi on: Feb 4 2008
     
    Score 50%

    Maybe your choosen software is not handling ID3v2.4 or the USLT frame. I use kid3 (Version 0.9), which shows me the lyrics in the files without having any problems.


    Reply to this

    -
    .

     Re: Re: READ ID3

     
     by astateo on: Feb 6 2008
     
    Score 50%

    Thanks a lot! it works fine. keep on with your good job :)


    Reply to this

    -

     error

     
     by pierissimo on: Feb 17 2008
     
    Score 50%

    When i try to launch the script, I obtain the error message:

    Script Save Lyrics To ID3 exit with errore code 1

    Traceback (most recent call last):
    File "/home/piero/.kde/share/apps/amarok/scripts/save_lyrics_to_id3/save_lyrics_to_id3.py", line 70, in <module>
    .encode(STD_ENCODING,'replace') + " %s'" % strerror )
    NameError: name 'STD_ENCODING' is not defined



    why???


    piero
    Reply to this

    -

     Re: error

     
     by stifi on: Feb 25 2008
     
    Score 50%

    Sorry for the late answer ...
    You are missing a python package. Through a bug in the lyrics script you do not get the name of the missing pyhton package.
    Insert STD_ENCODING="ascii" in the line just before the first try: in ~/.kde/share/apps/amarok/save_lyrics_to_id3/save_lyrics_to_id3.py.
    After that the script should show an error message about the missing pyhton package.


    Reply to this

    -

     python error

     
     by pierissimo on: Feb 26 2008
     
    Score 50%

    except ImportError, (strerror):
    os.popen( "kdialog --sorry '" + (_("Some needed Python modules could not be found.\\nPython output:")) \
    .encode(STD_ENCODING,'replace') + " %s'" % strerror )
    # Exit with 0, because the additional Amarok error message is annoying (will not work if os could not be loaded)
    os._exit(0)


    where have I to insert STD_ENCODING="ascii" line?

    thanx


    Reply to this

    -

     Re: python error

     
     by stifi on: Feb 26 2008
     
    Score 50%

    line number 33 (between FIXME: ... and try: ...) in ~/.kde/share/apps/amarok/scripts/save_lyrics_to_id3/save_lyrics_to_id3.py


    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.