This screenlet downloads and display synchronized lyrics of music files playing in the audio player.

Version 0.7.0 allows to create and upload lyrics to the database (for some time it will be used for testing, but I'll try not to delete anything :P)
Steps to create synchronized lyrics:
[li]find unsynchronized lyrics (later will be implemented by the screenlet itself)[/li]
[li]drag&drop text or file with lyrics to screenlet[/li]
[li]during playing song, use Space key to insert time info[/li]
[li]save or upload lyrics before screenlet switch to another song :)[/li]

Requires:python-numpy can be needed on Ubuntu and possibly some other distributions in the case of crashing when you move cursor over control buttonspython-chardet for better dealing with different lyrics encoding, but it's optional

7 years ago

0.7.2
- fixed bug in saving/restoring cairo state in LyricsPanel visible on default theme
- searching lyrics on disk with ignoring case and accent and some bug fixes
- support of "offset" metadata in lyrics files
- added settings option - format of filename for saving/loading lyrics with automatic
conversion between them
- properties window works with newer screenlets package version

0.7.1
- fixed accessing of the song info metadata - doesn't crash on missing metadata
- works with a new gtk version (deprecation warning turned into TypeError)
- fixed bug in saving/restoring cairo context (in Widget and LyricsPanel classes)

0.7.0
- added possibility to upload lyrics to the database and using this database for searching
- reporting a missing lyrics to the database
- creating synchronized lyrics works again

339 comments

Comments

Now, my problem that the screenlet has no background in the dark or transparent theme.
The lyrics are displayed correctly, and even the color adaptation works fine.

In the transparent theme there is no background at all (As it should be), but in the dark theme, at the end of the song, when the lyrics are finishing, the background appears, but only at the bottom, just like if the background were part of the lyrics.

This images explain better what I mean:

At the start or middle of the song
http://s2.subirimagenes.com/imagen/previo/thump_8912754screenshot-from-2014.png

At the end
http://s2.subirimagenes.com/imagen/previo/thump_8912757screenshot-from-2014.png

Well, thats it, I hope you can help me.
OS: Linux Mint 16 with cinnamon.

runnig "python LyricsScreenlet.py" in the command line I got this error :

No module RSVG , graphics will not be so good
....
.
.
.
and it is solved by installing python-rsvg package !
but as "pchaubal89" said in the comments lyrics screenlet doesn't work anymore since lrcdb.org (the place where it got the lyrics from) has shutdown.

first, congrats for you screenlet, is awesome, but I've a problem to save my lyrics. The Save button is desactived,

ex. when the music has no lyrics, I use the drag&drop and use the SPACE to set info time, etc, but I cant save it cause the save (harddisk) button doesn't work. Because of this , everytime I want hear that music, I've to drag&drop, set the time info with space again. Can help me?

You can do it in settings :( (by checking Use Tray Icon under Lyrics tab). But you can configure it also in config file - in ~/.config/Screenlets/Lyrics/default/Lyrics1.ini add option minimizeToTray=True (I hope that nothing has changed in newer version).

But I think this should be already fixed in some version, probably at https://launchpad.net/~indiv-screenlets-dev. I will try to merge both versions and keep it up to date here.

tried the new version with the same accented two songs and both lyrics are now found. Hope this ends the accent bug.

What's bothering me now is the exception error I mentioned in my previous messages. It seems to appear more often than before (or perhaps it is just me!). After the exception the screenlet behaves strangely: the "lyrics engine finished!" message is not displayed anymore if song are changed (even if I think I've seen a new lyrics saved to disk, but I may be wrong) and sometimes the "searching" stamp is displayed forever. When I see it, I usually stop/start and searching on the net starts again with no timeout or conn problems.

Same error happened, this time with an URL timeout. Found another (very minor) bug: when you stop player with lyrics displayed, they are reset to the beginning and keep going 'til lyrics end, instead of stopping. Lyrics should display some "no song playing" message and go to tray, instead.

checked the offset, works nicely. Only minor bug: at the beginning, for some time (the offset!) the last lyric in the file is displayed. The title etc (with timestamp 0:00) are displayed after the offset. Could you eliminate this and (possibly) do not offset any 0:00 field?

The accented problem isn't completely fixed: when I played an accented song (lyrics on disk found by your screenlet some time ago) it is not found on the net and, worse, is not found on disk, too. Looks like the same slash missing in the file path as before. Strangely enough, the one i tested previously is correctly found on disk.

I include the debug for the two songs below.

I have not seen any improvement yet, for the search on the net with wildcards. Would it be possible to have some debug output on the fields that are actually searched? Without it I can't see if lyrics are not found because they are not there or because of the accents.

7 years ago

0.7.2
- fixed bug in saving/restoring cairo state in LyricsPanel visible on default theme
- searching lyrics on disk with ignoring case and accent and some bug fixes
- support of "offset" metadata in lyrics files
- added settings option - format of filename for saving/loading lyrics with automatic
conversion between them
- properties window works with newer screenlets package version

0.7.1
- fixed accessing of the song info metadata - doesn't crash on missing metadata
- works with a new gtk version (deprecation warning turned into TypeError)
- fixed bug in saving/restoring cairo context (in Widget and LyricsPanel classes)

0.7.0
- added possibility to upload lyrics to the database and using this database for searching
- reporting a missing lyrics to the database
- creating synchronized lyrics works again