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
Score 77.1%
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:
[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 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

Chocwise

10 years ago

I'm running Ubuntu 9.10 (Gnome), with compiz and emerald. screenlets is the normal 0.1.2-7 version from the official repository. Player is Audacious (2.1-1) for the most time. My Resolution is 1920x1080.
Here's my Lyrics1.ini as I've chowned/chmodded it. If I raise the strict access rules again and reboot, the x axis setting would be changed again:
http://pastebin.com/raw.php?i=AAANFvVQ

I don't want to use the tray icon. I'm a bit minimalistic with them (bad trauma because of the crammed system tray in WinXP back then...).

The chown/chmod workaround "fixes" it, btw. No negative side effects, apart from not being able to change settings live of course.

Report

C

dencer

10 years ago

I added "safe minimize" without real resizing & moving and few other improvements. But as I don't want to release such testing releases no more, here is link http://lyrics-screenlet.googlecode.com/files/Lyrics_0.6.9.tar.gz

Report

nielsavonds

10 years ago

Hi there,

I've been using Lyrics screenlet for a while now and I absolutely love it! However, I've noted a couple of (very small) bugs:

- If you are selecting Lyrics (with the arrows), double clicking the arrows will move 3 instead of 2. (The first single click moves 1, and then the second one is registered as a double click and moves another 2)
- If you search for lyrics twice, it will say there's twice as much. E.g. I search and find 5, I search again and I find 10 (which is just the same 5 again, it should clear first and then search).
- Selecting the Color Adaption option will crash the screenlet instantly with the following output in the terminal:

Changed: colorAdaptation
ImportError: No module named numpy.core.multiarray
Segmentatiefout (Segmentation error)

Thanks for making this screenlet!
Niels

Report

C

dencer

10 years ago

and to make it complete, I also noticed skipping some lyrics by using arrow buttons but didn't know the reason. It's double/triple clicks as you wrote and it will be fixed in next version. And to multiple search issue, it's not even bug, I made it willfully this way, I didn't expect someone will try to search twice :P. And I still don't know what to do in such case, delete previous results or doesn't add the same lyrics. In both cases result should be the same, so why to do searching more times? And disable searching for second time isn't best idea either, cause network connection problem can occur anytime.

Report

nielsavonds

10 years ago

Hi there,

Thanks for your replies. I installed Python-numpy and that did indeed fix the crashes, thanks!
You're right about the double searching thing, it's hard to decide what to do. (It's easy to criticize things, but a lot harder to find a better solution ;) ) So perhaps leaving it this way is indeed the best.

Thanks again for this awesome piece of software!
Niels

Report

CLEARview

10 years ago

Hi!,
Maybe you forgot installing "python-numpy"?
It is announced as a dependency for Lyrics Screenlet to work properly.

Bye.

Report

simunic

10 years ago

Hello
I've updated this screenlet from v 0.6.6 to the new one and I'm having some issues. There were songs which I could see their lyrics but now, with the update, I can't. By the way, there are song which hadn't lyrics before but now I can see them.
It's strange but the old version was set by default and the newer one too.
Is it only my problem or anybody has the same?

PS: My english sucks but I hope you understand.

Report

C

dencer

10 years ago

Ahh I'm sick of some of my updates, I have many lyrics saved on disk so for me it always seems to work. Try 0.6.8 version, it should work better than ever before

Report

simunic

10 years ago

It's seems to be working now. Thank you!

Report

wellingtonubuntu

10 years ago

Lyrics 0.6.6 don't works.
I installing the dependence but he realy don't work.
Lyrics beggin a search but stop.

ubuntu 9.10
nvidia 195

Report

chriskin

10 years ago

i edited the default icons through inkscape and these turned out

http://dl.dropbox.com/u/452182/edited.tar.gz

i think that they appear better on dark desktops than the original ones - as they are mostly transparent with a light gradient style.

Report

C

dencer

10 years ago

Wow thanx, will be used in next release. Should it be replacement for current one's or as the new theme? In second case theme name will be needed :D

Report

chriskin

10 years ago

if you want to add it in a new theme, use any name you like (if you want though, add a reference "by chriskin")

Report

nielsavonds

10 years ago

Hi there,

I've been using this screenlet for a while now and it's awesome (since I got used to minilyrics on Windows). However, since a couple of days it seems unable to download any lyrics and only displays the lyrics that are saved on my harddrive from before. I'm on a campus so my computer is probably behind a proxy server, which might cause the problem. However, I never had any problems in the past. Do you have any ideas of what I could try to do to fix this? I've tried an older version, deleting all config files and all files a search brings up. (I've tried a lot of different songs, including Smells Like Teen Spirit, so popularity is not the issue.)

I'll try at home this weekend to see if it's the campus' fault.

Thanks for this awesome screenlet,
Niels

Report

andresql

10 years ago

Im having the same problem.

Report

C

dencer

10 years ago

I tried one proxy and opps, it didn't work. In my case the reason was added symbol "/" at the end of proxy address, but in my previous testing it wasn't. Try this http://dl.dropbox.com/u/4466860/Lyrics_0.6.6_proxy.tar.gz, but it can be something different in your case, so the best will be run it throught terminal.

Report

nielsavonds

10 years ago

Hi,

I ran this new version in a terminal, but still no go. This is what it printed after changing to Smells Like Teen Spirit:

DEBUG:LyricsScreenlet:######## Song Changed: file:///home/niels/Muziek/Nirvana/Nirvana - Nevermind/01. Smells Like Teen Spirit.mp3
Start TimeLine
############ Elapsed Event
ELAPSED 0 fading = True
CHANGE LYRICS
SET TIME 200.000000
Song Info:
{'album': dbus.String(u'Nevermind'), 'artist': dbus.String(u'Nirvana'), 'file': dbus.String(u'file:///home/niels/Muziek/Nirvana/Nirvana - Nevermind/01. Smells Like Teen Spirit.mp3'), 'title': dbus.String(u'Smells Like Teen Spirit')}
{'album': dbus.String(u'Nevermind'), 'artist': dbus.String(u'Nirvana'), 'file': dbus.String(u'file:///home/niels/Muziek/Nirvana/Nirvana - Nevermind/01. Smells Like Teen Spirit.mp3'), 'title': dbus.String(u'Smells Like Teen Spirit')}
DEBUG:LyricsScreenlet:searching lyrics on disk
DEBUG:LyricsScreenlet:lyrics should be here: /home/niels/Nirvana - Nevermind/Smells Like Teen Spirit.lrc
DEBUG:LyricsScreenlet: For old compatibility, /home/niels/Nirvana - Nevermind/Smells Like Teen Spirit will be checked too
/home/niels/Nirvana - Nevermind/Smells Like Teen Spirit
Nothing on disk
ChekSum function error: [Errno 2] Bestand of map bestaat niet: dbus.String(u'file:///home/niels/Muziek/Nirvana/Nirvana - Nevermind/01. Smells Like Teen Spirit.mp3')
search on net
SEARCH FOR Smells Like Teen Spirit
reply: 'HTTP/1.1 200 OK\r\n'
header: Connection: close
header: Date: Fri, 19 Feb 2010 11:53:57 GMT
header: Server: Microsoft-IIS/6.0
header: X-UA-Compatible: IE=EmulateIE7
header: X-Powered-By: ASP.NET
header: X-AspNet-Version: 2.0.50727
header: Cache-Control: private, max-age=0
header: Content-Type: text/xml; charset=utf-8
header: Content-Length: 352
end of response
INFO:LyricsScreenlet:lyrics engine finished!
DEBUG:LyricsScreenlet:*************
minimalizing screenlet
****************
minimized

Thanks for your quick reply by the way,
Awesome support!
Niels

Report

C

dencer

10 years ago

There is definitely needed to write much better tests for searching on net, it's not the first time that it stopped work, mostly after my changes but sometimes I also wonder why. What was working yesterday, didn't work even for me at today's morning by listening fast.fm radio. I changed ALSong server and it again started to work, but now it is possible only in code, you can try it change in file ./Lyrics/lyricsengine/ALSong.py at line 173:
"self.server = servers[1]" replace by "self.server = servers[0]"

Report

nielsavonds

10 years ago

Hi there,

This worked for me, thanks! It didn't work at home either with the old one by the way, so it's probably not a proxy problem.

Thanks again,
Niels

Report

chriskin

10 years ago

installing the 0.6.6 release didn't change the version number on right click/ properties

not a real bug but i thought i should mention it
---------------

by the way, is the tray icon going to include more info about the songs or is it just for minimizing?

Report

firecad2006

10 years ago

some here updated but still says 0.6.5, was going to ask about it too then saw someone is having the some problem so im glad its not just me.

Report

C

dencer

10 years ago

I'm glad that everybody now see only unimportant issues. I made update so now it should be total perfection :D

Report

C

dencer

10 years ago

I wanted to quicky fix tray icon issue, so I forgot to update all details. And to 2nd question, I really don't know now, I didn't think about other usage.

btw, how google translate work for you, did you noticed some change with 0.6.1 & > version ?

Report

chriskin

10 years ago

just tried it with a japanese song and i'm getting only the japanese symbols. the translator only seems to work when the lyrics are written in latin letters (but then it just writes them a second time with a different font, since google translate probably can't understand romanji)

Report

C

dencer

10 years ago

yeah, when google translate didn't recognize correct language or don't know translate something, it return original or with some untranslated words. Until you get better result with direct use of google translate, it's not bug but expected behaviour :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
product-maker Base: 4 x 5.0 Ratings
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 1