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

11 years ago

I think that you have running Music Player Daemon and no other supported player when screenlet starts. In such case it connect to it (doesn't matter if its stopped and dont play any song) and it doesn't react to any other player.

I will try to add possibility to select any of the running player

Report

avinaka

11 years ago

thnx dencer for replying fast
i m using ubuntu jaunty and amarok 2 as player so player might not be the problem

can u plz tell me how to setup proxy for the screenlet i havent set it up bcoz i dont knw how to

i will do test for other thngs u said

Report

C

dencer

11 years ago

Do you use authentication to your proxy server?

Report

avinaka

11 years ago

no it is a open proxy

no authentication is required

Report

C

dencer

11 years ago

I wrote a script whitch try several alternative approaches to download some lyrics and give some additional info. You can run it from terminal: python proxy_test.py > output. It can run for several seconds so be patient, and the result will be output file. If you send me this file to my email: dancakm@gmail.com, maybe then I will be able to find solution.

Here is the script:
http://lyrics-screenlet.googlecode.com/files/proxy_test.py

Report

C

dencer

11 years ago

yeah, with amarok 2 it should work. I will look on proxy much closer, but without internet in the next 2-3 days it will be a little difficult :D

Report

C

dencer

11 years ago

yeah, with amarok2 it should work. I will look at proxy much closer, but without internet for the next 2-3 days, it will be a little difficult :D

Report

avinaka

11 years ago

hey i am new to linux i installed the screenlet, now whatever song i play it shows a transistor like icon which probably indicates lyrics not found.

I guess i am having this problem because i am behind a proxy server can anyone help me by telling how to configure it for proxy servers

Report

C

dencer

11 years ago

I tried to setup http proxy and test it. It worked, but I am not sure if I setup it well.

It's a little harder to detect whats wrong, as now the same icon is shown when screenlet isn't connected to any player and when it doesn't found lyrics. In the next release I add new icon, but now you should read output from terminal for more info, even if you are new to linux :-) There may be more problems then just proxy, e.g. player, d-bus comunication problem, music file format, missing library... Or one more test you can do, find some lyrics with .lrc extension and save it to the folder with music file. Name of lyrics and music file must be same, just different extension (.lrc and .mp3 or other). Screenlet search on disk first, then on net.

Report

djokica

11 years ago

hello,

i am new,

how to install screenlets?
I install sceenlets program, but now i download new screenlets and then i dont know whats next?

:-(

Report

C

dencer

11 years ago

Hi,

you can install new screenlets throught Screenlet Manager, it's second option in menu. Or you can unpack and put screenlet's folder to your $HOME/.screenlets/ directory

hope this helps

Report

Wyt

11 years ago

this looks awesome. but I dont know why, it just crashes while I move my cursor over the bottom panel with arrows. I didn't know why, and terminal told me that there was some problem with importing some "numpy-array". so I guessed that was a missing extension of my python :D

so "apt-get install python-numpy" resolved it :) just for the case anyone had the same problem - I'm on Ubuntu Jaunty

enjoy this great screenlet :)

Report

legion1978

11 years ago

Very nice u included listen player ;) it works really fine

Report

chriskin

11 years ago

i'm following your screenlet on every new release, but since you had the icon always appearing when the screenlet is not working, i got a little strange feeling. why is the icon there at the first place? :S

can i modify it to remove it?

Report

C

dencer

11 years ago

When screenlet haven't what to showing, I think it is waste of space on the desktop. Of course you can change whatever you want, but now only in source code :D. However, I can make this as option in the settings.

Report

chriskin

11 years ago

i was thinking about changing the image it uses into a fully transparent one
can't say that i am not a noob, but isn't that possible?

Report

C

dencer

11 years ago

I know my icons artwork doesn't look very eye candy :P, hope this will change one day. You can easily create totaly transparent svg image in Inkscape and replace icons in themes folder. And maybe png icon will work too, but it's without guarantee

Graphics suggestions (as well as others) are always welcomen, just needs more details.

Report

Naf71

11 years ago

I will be very happy to get the version compatible with xmms and songbird?

Report

C

dencer

11 years ago

xmms shouldn't be problem, but songbird allways crashes after I installed plugin for mpris API

Report

legion1978

11 years ago

uuhhh....
Does this work with Listen player..?
I really wanna let rhythmbox behind.. ;)

thnx

Report

C

dencer

11 years ago

I omitted Listen player cause it was impossible to do (without extending by plugin) in version 0.5 whitch I have installed. After first look at source code of 0.6 and later it look promissing

Report

Alexiron

11 years ago

hi , it must be a great screenlet but i've got a problem , i installed it but when i click launch on screenlets manager it does not start..... any ideas?

Report

Alexiron

11 years ago

anyone?? when i am running it on terminal i am getting "ImportError: cannot import name Plugins"

Report

C

dencer

11 years ago

try to delete first line ("from screenlets import Plugins") from file ./players/RhythmboxPlayer.py

Report

Alexiron

11 years ago

thanks for your reply , i did it but it did not change anything :( :(

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 6