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

thanx for reporting bugs, check out if this will fix all problems http://dl.dropbox.com/u/4466860/Lyrics_0.7.1.tar.gz

Report

Lemmiwinks

10 years ago

Wicked, CPU usage is back to normal, screenlet does not hang anymore! Thanks!

Report

Lemmiwinks

10 years ago

Still found a bug in version 0.71:
Umlauts like ö, ä, ü, and also the ß seem to be screwed up...

Report

C

dencer

10 years ago

Is it screwed up in ID3 tags or in lyrics? In any case, give me title, artist and album on which this happens and I'll look at this

Report

masstrider

10 years ago

hi, i register just because i wanted to vote +1 for this app.

Report

C

dencer

10 years ago

thanx, voting system changed to weird for me about month ago, but thanx :D

Report

gmagus

10 years ago

how can i add lyrics when the data base?

Report

C

dencer

10 years ago

How to upload lyrics to database?
- Use button with hardisk icon with green arrow. To create new lyrics, read notes

How to add lyrics source database?
- I don't know now about any other good source. If you know, give me some info and I can implement it

If your question was about something different, tell me more details

Report

gmagus

10 years ago

como agregar las letras que no encuentra.

Report

ilverz

10 years ago

How can i install lyrics?

thanks

Report

ketetefid

10 years ago

Whaaaaaaaaat?
I can't believe this!!!

Report

peacewithall

10 years ago

Thank you so much !!.

This screenlets amazing, really good work, and a brilliant idea !, thanks again :).

Report

mixalns

10 years ago

is so wonderful work, thanks so much for the share

Report

idecline

10 years ago

Is it possible to add other sources? or automatically use local lyrics if there s one?

Report

sgl

10 years ago

One thing: when a song starts, title does not appears correctly, and in some songs, voice does not match with lyircs...

Report

C

dencer

10 years ago

I don't exactly know what you mean, but info about song is added only when lyrics first line doesn't starts from begining (0s). Sometimes people write this info into lyrics, so it can look different. And some lyrics doesn't fit cause the same song can have more versions or just someone did bad job. Thats why you can search for more lyrics and choose best for you (and save).

Report

pavan6754

10 years ago

i have installed lyrics screenlet using screenlet manger in FEDORA 11it installed sucessfull but for any player it always says "lyrics not found"
i have checked google translator ..
please help me to sole this problem

Report

C

dencer

10 years ago

I will need some info:
do you use proxy? with password? (I have some arrears here)
what music format files do you use? Is metadata set right?

Or give me output from terminal by running: python ~/.screenlets/Lyrics/LyricsScreenlet.py

Report

pavan6754

10 years ago

ya i use http proxy to connect to default gateway of our college LAN,
i played .mp3 music files
and i don't know about metadata

[root@localhost rpavan]# python ~/.screenlets/Lyrics/LyricsScreenlet.py
python: can't open file '/root/.screenlets/Lyrics/LyricsScreenlet.py': [Errno 2] No such file or directory
[root@localhost rpavan]# python .screenlets/Lyrics/LyricsScreenlet.py
/usr/share/themes/WLM9Purple/gtk-2.0/gtkrc:93: Unable to locate image file in pixmap_path: "Panel/handle-v1.png"
/usr/share/themes/WLM9Purple/gtk-2.0/gtkrc:96: Overlay image options specified without filename
/usr/share/themes/WLM9Purple/gtk-2.0/gtkrc:101: Unable to locate image file in pixmap_path: "Panel/handle-h1.png"
/usr/share/themes/WLM9Purple/gtk-2.0/gtkrc:104: Overlay image options specified without filename
/usr/share/themes/WLM9Purple/gtk-2.0/Styles/panel:19: Unable to locate image file in pixmap_path: "Panel/PanelBasicx.png"
/usr/share/themes/WLM9Purple/gtk-2.0/Styles/panel:51: Unable to locate image file in pixmap_path: "Panel/panel-focusx.png"
/usr/share/themes/WLM9Purple/gtk-2.0/Styles/panel:54: Background image options specified without filename
/usr/share/themes/WLM9Purple/gtk-2.0/Styles/treeview:155: Unable to locate image file in pixmap_path: "Lines/line-h-tree.png"
/usr/share/themes/WLM9Purple/gtk-2.0/Styles/treeview:158: Background image options specified without filename
/usr/share/themes/WLM9Purple/gtk-2.0/Styles/window:13: Unable to locate image file in pixmap_path: "Others/bg-p.png"
/usr/share/themes/WLM9Purple/gtk-2.0/Styles/window:16: Overlay image options specified without filename
/usr/share/themes/WLM9Purple/gtk-2.0/gtkrc:482: error: invalid string constant "handlebox", expected valid string constant
/home/rpavan/.screenlets/Lyrics/lyricsengine/ALSong.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
CachingBackend: Loading instances from cache
Traceback (most recent call last):
File ".screenlets/Lyrics/LyricsScreenlet.py", line 1440, in <module>
screenlets.session.create_session(LyricsScreenlet)
File "/usr/lib/python2.6/site-packages/screenlets/session.py", line 471, in create_session
session = ScreenletSession(classobj, backend_type=backend)
File "/usr/lib/python2.6/site-packages/screenlets/session.py", line 105, in __init__
self.connect_daemon()
File "/usr/lib/python2.6/site-packages/screenlets/session.py", line 110, in connect_daemon
bus = dbus.SessionBus()
File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 219, in __new__
mainloop=mainloop)
File "/usr/lib/python2.6/site-packages/dbus/_dbus.py", line 108, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
File "/usr/lib/python2.6/site-packages/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[root@localhost rpavan]

.screenlet folder is in /home/rpavan

Report

C

dencer

10 years ago

it seems like not related to the lyrics screenlet, it's D-Bus problem. Also I noticed that you run it as root. When I run it as root, it also crash, but with different problem. But try it run as normal user. If it doesn't help, find something about dbus configuration and try to fix it. Or just update to new distro. Btw, what distro do you use ?

Report

9

balakrishnan

10 years ago

my favorite screenlet of all time. And it keeps getting better and more refined.
Really great work.

Are you planning to port this to Universal Applets, since Screenlets is apparently no longer being maintained?
I certainly hope you are able to do that without too much trouble. Also wish you luck with the problem with GNOME 2.30, hope you are able to work around it.

Wishing you all the best.
Thanks

Report

C

dencer

10 years ago

Yeah, Screenlets are old and unsupported, but still heavy used. Port to Universal Applets is possible step, but not enough requests came so far :P

Report

9

balakrishnan

10 years ago

It's just that no one's really sure how much longer Screenlets will continue to be in the repos, especially since GNOME 3.0 is around the corner.
What's the likelihood that GNOME 3.0 will break the Screenlets framework or at least some of its functionality? Given that Uni Applets is currently active, I'd guess that it could work better with GNOME 3.
Given that the only two screenlets I use now are Lyrics and Impulse, I'd love to see these two ported over to Uni Applets.
I think though that Uni Applets won't be too different from Screenlets, so most Screenlets will probably work just as well in Universal Applets.

PS: nice job with 0.6.9, the safe minimize feature is neat.
Thanks.

Report

Tewan

10 years ago

I've tried relentlessly to force keep_above to false, chowning to root, chmodding to 444, but it always manages to get changed back to true. Is there any way to fix this before I screenshot the screenlet, print it, and use it for target practice?

Report

idecline

10 years ago

I think the problem is with your screenlet, there s a kinda global setting.
For the ver. im using,its at the options on screenlet manager

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 8