Lyrics screenlet

Conky

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

38
7 .7
Description:

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:
find unsynchronized lyrics (later will be implemented by the screenlet itself)
drag&drop text or file with lyrics to screenlet
during playing song, use Space key to insert time info
save or upload lyrics before screenlet switch to another song :)

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

Set lyrics offset:
by 0.1s: Shift+Up/Down key
by 0.5s: Up/Down key

Supported players:
Rhythmbox
Exaile
Banshee
Audacious
Amarok
Music Player Daemon based players
Quodlibet - need to install plugin in package
Listen 0.6 and higher
Gmusicbrowser
Xmms - need to install pyxmms
Any other that support MPRIS API (direct or with plugin) - vlc, Songbird ...

Supported lyrics sources: ALSong, minilyrics, lrcdb
Last changelog:

9 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

0.6.9
-lyrics align settings: left, center, right
-lyrics translation on/off switch in menu
-update translation settings immediately
-safe minimizing (use when screenlet itself moves on desktop)
-works in gnome 2.30 (bug is in pycairo, not screenlet!)
0.6.8
- lyrics searching bug fix, now it should really works, I promise :D
0.6.7
- update of lyrics engine: ALSong now work again (it stopped to work at all after they changed ip address), minilyrics has better encoding handling
- theme update

older logs in changelog file

C

dencer

10 years ago

Did you try translate some lyrics throught it ? Does the translation look useful? Cause I did, but translation to languages that I understand looks funny :)

Report

Alexiron

10 years ago

hey man , i just upgraded from 9.04 to 9.10 and the screenlet does not save the window options like "lock" , "sticky" and "keep bellow" , every time i click them everything is ok , but on reboot the only option that is active is the "keep above" one , any suggestions?

Report

Alexiron

10 years ago

i still have not find a solution :(

Report

christianhc

11 years ago

Hi,

Thnks for this great screenlet, i've been using it since version 0.15 i think..

I've just updated and tried resizing, the button no longers get lost: that's good. But this is the thing ... i like using it on my sidebar, meaning thinner than the default size and now i can't find the resizing button anymore, it's lost behind the player combo, is there a config file i can modify to do this resizing?

Report

nenelinux

11 years ago

great but no work with gmusicbrowser 1.0.2

can you fix that ??

Report

C

dencer

10 years ago

I almost forget, here is your gmusicbrowser support.

Report

C

dencer

11 years ago

must wait, I haven't any time now for open-source :(
But someone could tell developers about mpris

Report

mtax

11 years ago

This is one of my favorite screenlet ! But there is a little problem ; lyrics are not synchronized with songs. It's late (about 2 seconds)
How could I fix it ?

Thanks for help, and of course, thanks for this cool screenlet !

Report

C

dencer

11 years ago

use up and down keys, then save.

Report

Potet

11 years ago

That helps me too, but.. How do I save? :P

I can make it work with the arrow keys, but as soon as another song plays, it messes up again.. :/

Great Screenlet by the way. :D

Report

Potet

11 years ago

I found it: I just had to save the lyrics on the computer. :P

I love the Screenlet. I got one question/suggestion, however: Is it possible to make the screenlet invisible when I'm not playing music? Would have been nice, since the radio-icon don't fit into my desktop. :P

Report

C

dencer

11 years ago

Not the best but quick solution is to delete or modify icon file disconnected.svg. Normally, additional installed screenlets are in ~/.screenlets. Every screenlet has themes folder, so there you can find all icons. Better will be create new or modify existing icon to make transparent icon with very small dimesions, like 1x1. If you just delete, it can still react to mouse events on larger area.

As it's not the first suggestion to make it this way, maybe I'll recode it later.

Report

Potet

11 years ago

Ok, thanks. :D

Report

kaeltas

11 years ago

+1 vote point, thx for share this!

Report

arkroyal

11 years ago

Great screenlet, but I seem to be consistently missing the first line of lyrics from the currently playing song.

Anyone else got this problem and a fix?

Report

C

dencer

11 years ago

This would be noticed sooner if there was some bug. So there are 2 possible reasons:
- some lines contains some foreign letters so they are filtered (chinesse and more languages is filtered by default). You can try delete all saved lyrics, disable filtering and try again
- wrong lyrics (but every ? As you are the first one reporting this, there is some chance)

Report

arkroyal

11 years ago

I have turned off filtering and it made no difference. It does this consistently on two different PCs with two different players (Banshee and Amarok) and I have tried different songs as well (The Beatles!!??). I have not tried deleting the lyrics. Where are they stored? I cannot seem to find anything in the Musics folder.

Report

C

dencer

11 years ago

shame on me, it was really a bug :D It was occuring only in some cases. Now it is right.

Report

arkroyal

11 years ago

Just uninstalled, deleted the Lyrics folder and reinstalled. Still the same with EVERY song. Can anyone tell me where the lyrics are stored as they are not in default Music folder.

Report

C

dencer

11 years ago

You must allow saving lyrics on disk, you can select where it should be saved. Without allowing this, lyrics will be downloaded from net every time.
Did you try search button to find more lyrics and try them ? And whats with music from other artists, is it the same ?

Report

C

dencer

11 years ago

Saving is done automaticaly only in cases when lyric are found on Alsong site by md5 checksum of the first autio frame of mp3. That is first & quick attempt to find lyric. Then if nothing was found, screenlet will try to find it by artist/title/album info and this In most cases return more lyrics and nothing is saved automaticaly. This second searching you can run anytime from control panel and select best lyrics available.

So, as I haven't the same mp3 file as you (I cannot query lyric by md5 checksum), I tryed to find lyrics of the same song from Beatles as you by artist/title/album info and all lyrics have the first line. I don't really understand how it is possible that you still missing first line. There was a little bug before that cause first-line trimming in some, but not most cases, but from 0.5.8, everything should be ok.

Report

arkroyal

11 years ago

OK, I specified a lyrics folder off my main Music folder. Discovered that I have to click the save icon in the lyrics toolbar to write the lyrics to disk. I thought were automatically saved. I opened the .lrc for one song (Revolution by The Beatles -see below) and lo and behold - first line of the song - 'They say you wanna revolution' - is missing! Tried other songs with same result.

[0:0.00]The Beatles
[0:0.00]Past Masters, Volume Two
[0:0.00]Revolution
[0:0.00]
[0:12.70]Well you know
[0:16.53]we all want to change the world
[0:22.12]You tell me that it's evolution
[0:25.75]Well you know
[0:29.64]We all want to change the world
[0:35.32]But when you talk about destruction
[0:39.84]Don't you know you can count me out
[0:45.52]Don't you know it's gonna be alright
[0:51.51]Alright Alright
[0:51.51]
[1:2.15]You say you got a real solution
[1:5.79]Well you know
[1:9.65]we'd all love to see the plan
[1:15.08]You ask me for a contribution
[1:18.80]Well you know
[1:22.67]We're doing what we can
[1:28.54]But when you want money for people with minds that hate
[1:32.18]All I can tell you is brother you have to wait
[1:38.25]Don't you know it's gonna be alright
[1:44.18]Alright Alright
[1:44.18]
[2:11.92]You say you'll change the constitution
[2:14.99]Well you know
[2:18.87]we all want to change your head
[2:24.22]You tell me it's the institution
[2:27.69]Well you know
[2:31.58]You better free your mind instead
[2:37.40]But if you go carrying pictures of Chairman Mao
[2:41.45]You ain't going to make it with anyone anyhow
[2:47.17]Don't you know know it's gonna be alright
[2:53.12]Alright Alright

Report

chriskin

11 years ago

it sometimes happens here as well, i thought it was a problem of the sites the screenlet takes the lyrics from.

Report

chriskin

11 years ago

on karmic i don't get lyrics i used to get on jaunty
i use Rhythmbox 0.12.5

some times i get the lyrics only after i restart the screenlet after starting the music - something that doesn't always work

Report

C

dencer

11 years ago

Oh noo, again new Ubuntu release, why so soon :(
But I need more, still many reports without terminal output. BTW, you should allow lyrics saving and then use it in new system without searching :D

Report

9 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

0.6.9
-lyrics align settings: left, center, right
-lyrics translation on/off switch in menu
-update translation settings immediately
-safe minimizing (use when screenlet itself moves on desktop)
-works in gnome 2.30 (bug is in pycairo, not screenlet!)
0.6.8
- lyrics searching bug fix, now it should really works, I promise :D
0.6.7
- update of lyrics engine: ALSong now work again (it stopped to work at all after they changed ip address), minilyrics has better encoding handling
- theme update

older logs in changelog file

12345678910
112
product-maker mruchunglv Oct 07 2016 3 bad
product-maker KrakenHimoto Jul 28 2012 9 excellent
product-maker MadeInKobaia Jul 09 2012 9 excellent
product-maker scsimodo Dec 29 2011 9 excellent
product-maker torturedutopian Sep 02 2011 9 excellent
product-maker stratok Jun 19 2011 9 excellent
product-maker dodjob Apr 25 2011 9 excellent
product-maker Ubuntumutu Dec 22 2010 9 excellent
product-maker mystica Nov 30 2010 9 excellent
product-maker olegue Nov 27 2010 9 excellent
product-maker erar123 Nov 20 2010 9 excellent
product-maker aledb Nov 12 2010 9 excellent
product-maker balakrishnan Sep 25 2010 9 excellent
Be the first to comment
MojoMan
Feb 12 2016
Hellow
Mar 04 2015
atenrok
Dec 05 2012
MadeInKobaia
Jul 09 2012
dodjob
Apr 25 2011
boamaod
Apr 07 2011
y3m3th
Mar 19 2011
marcocolombini
Jan 28 2011
mystica
Nov 30 2010
olegue
Nov 27 2010
milanacow
Oct 20 2010
oemhack
Jun 26 2010
peacewithall
May 29 2010
play3man
May 25 2010
AstroLinux
May 19 2010
sgl
Apr 23 2010
Milena
Apr 12 2010
simunic
Mar 02 2010
erar123
Feb 26 2010
Kreisverkehr
Feb 10 2010
microscopuce
Jan 30 2010
lianimator
Jan 22 2010
Naf71
Jan 22 2010
firecad2006
Jan 21 2010
balakrishnan
Dec 02 2009
Potet
Oct 21 2009
LaGaDesk
Sep 13 2009
chriskin
Sep 12 2009
CLEARview
Sep 11 2009
kaeltas
Sep 04 2009
unformatted
Aug 18 2009
victorlisboa
Aug 04 2009
switzak
Mar 09 2009
naaamo2004
Mar 08 2009
epsyl
Mar 08 2009
PhobosK
Mar 07 2009
4tis
Mar 05 2009
Scnd101
Feb 09 2009
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
0.7.2
updated Mar 30 2011
added Feb 03 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 4