-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 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 
--
-
 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 
--
-
 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
--
-
 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    Open-PC.com   
Apps
Groups
Knowledge Base
Events
Forum
People
Jobs
Register
Login

-
- Content .- Fans  .- Knowledge Base  . 

Lyrics ID3

   1.7  

Amarok Script

Lyrics ID3
zoom


Lyrics ID3
zoom


Lyrics ID3
zoom


Link:  http://
Depends on:  PyKDE/PyQt
Downloads:  3421
Submitted:  Nov 27 2006
Updated:  Aug 19 2008
Score: 
score80%80%score
 80% good
bad   good

Description:

Die deutsche Übersetzung der Skriptbeschreibung:
http://www.student.tugraz.at/stefan.gruber/lyricsID3/de

Français:
http://www.student.tugraz.at/stefan.gruber/lyricsID3/fr

Italiano:
http://www.student.tugraz.at/stefan.gruber/lyricsID3/it

Available Languages
The script is available in:
- english
- german
- french
- italian
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 or 2.4
  • Python Mutagen (http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen)
  • pyKDE/pyQT (python-sip4)
  • 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.




    Changelog:

    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.7)
    other(Previous Versions)
    other(Patch for "Save to ID3" button)
    send to a friend
    subscription
    other apps from stifi

    goto page: prev   1  2  3  4 

    -

     Two questions

     
     by arvenil on: Nov 11 2008
     

    Great script! Thanks for it!
    Two questions:
    1. Are there any tools for linux which can also edit those lyrics tags in id3?
    2. Are there other players which use lyrics tags?


    reply to this

    -

     Re: Two questions

     
     by v6lur on: Nov 12 2008
     

    1 - Kid3: http://kde-apps.org/content/show.php/Kid3?content=10415
    (2 - don't know)


    ...more or less.
    reply to this

    -

     Re: Two questions

     
     by compulsechris on: Oct 5 2009
     

    2) Songbird does with add-ons. Also has an add on for batch tagging with lyrics. (But get fasterbird first.)


    reply to this

    -
    .

     Great plugin working perfectly

     
     by vinci on: Feb 27 2009
     

    One advice : under debian/ubuntu you need the following packages :

    python (obvious) python-kde3 python-urljr python-xml python-mutagen

    It took me some time to guess that python-kde4 was not the required one ;) The message was quite cryptic :
    sh: Syntax error: Unterminated quoted string



    reply to this

    -

     Re: Great plugin working perfectly

     
     by stifi on: Mar 2 2009
     

    Thnx for the bug report. Unfortunately, there are many changes in package names since KDE4 was released. Additionally, is Gnome the standard desktop in Ubuntu which results in some missing packages (eg kdialog is not available by default, at least at my desktop). I'll try to find a way to solve the package clutter.
    Anyway, I'm happy that you solved the problem on your own and sorry for any inconvenience.


    reply to this

    -

     About FLAC

     
     by sacrediou on: Jun 5 2009
     

    First of all, thanks a lot for this great script !

    I've seen "support for FLAC" in version 1.3 on the online changelog of this tool but the feature seems to be absent of version 1.7 that I'm using... and in its changelog too !

    Did you take the decision to drop this feature, or is it a mistake ?

    Hope to see a fix/workaround, because I love this script for mp3 and it would be wonderful if it's possible to do the same with flac.

    It's a shame that there's still no standard for embedded lyrics in ogg vorbis and flac. Hope to have one someday...

    Keep the good work :-)

    Sacrediou


    reply to this

    -

     Re: About FLAC

     
     by stifi on: Jun 10 2009
     

    Sorry, but FLAC is only supported in a rudimentary way. If lyrics are stored in a FLAC file with comment 'LYRICS' they are read out and shown in Amarok. As you already mentioned, is there no standard on how to store lyrics in FLAC. So it is very unlikely that you have FLAC files with lyrics stored with the comment LYRICS. Writing lyrics with my script in FLAC files is not supported. Since I am not using FLAC I will not implement that feature because testing would be insufficient. Sorry, for any confusion caused by my Change-log.


    reply to this

    -
    .

     Re: Re: About FLAC

     
     by sacrediou on: Jun 10 2009
     

    OK, I understand. I'll try writing lyrics with other tool and use Lyrics ID3 to see it in Amarok.

    Thank you for your answer... and your very good script :-)


    Sacrediou, the hidden turkey !
    reply to this

    -
    .

     Python & KDE 4.3.2

     
     by NioS on: Oct 7 2009
     

    Hello ! I've still Amarok 1.4.10 on my Kubuntu-KDE4.3.2 but I can't get this script working. I used to use it before, even with KDE 4.2.4, but now it's not working anymore.
    Maybe I haven't got the good version of Python (the latest is 2.6, whereas Lyrics ID3 works with 2.4 max)

    When I launch the "Save" script in a shell, I get : "sh: Syntax error: Unterminated quoted string"

    Yet, I think I've installed all the required packages...
    Please help !


    reply to this

    -

     Re: Python & KDE 4.3.2

     
     by stifi on: Oct 7 2009
     

    It seems that you discovered a bug in my script. Unfortunately I stopped using KDE and Amarok. I think there are some complications with some libraries. If you want you can write me an E-Mail and I'll help you to debug the script. Anyway my advise is to look for an alternative music player with lyrics support because Amarok 1.x (with Scripts) and KDE 4.x isn't a good combination in my opinion.


    reply to this

    goto page: prev   1  2  3  4 

    add commentback




    -
    -
    all messages
    openDesktop.org Facebook App

    Partners
    Place Your Link Here!
    online casino bonus

    -
    Best Twitter Client
     Official Twitter Web Interface
     Choqok
     Plasma Twitter Applet
     Twitux
     gTwitter
     Spaz
     Twitterfox
     Gwibber
     Qwit
     TweetDeck
     Other
     Not using Twitter

    resultmore
    Cool Sites
    iPhone Hintergrundbilder

     
     Who we are
    Contact
    More about us
    Frequently Asked Questions
    Register
    Twitter
    Blog
    Explore
    Apps
    Jobs
    Knowledge Base
    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-2010 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.