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

chriskin

10 years ago

this is before opening rhythmbox

/home/christos/.screenlets/Lyrics/lyricsengine/ALSong.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
pyxmms package not installed, Xmms player support will be disabled
CachingBackend: Loading instances from cache
CachingBackend: Loading <Lyrics1>
Found a running session of Lyrics, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Lyrics was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.christos.running
Loading instances in: /home/christos/.config/Screenlets/Lyrics/default/
File: Lyrics1.ini
/home/christos/.config/Screenlets/Lyrics /default/Lyrics1
MPD configuration file /home/christos/.mpdconf doesn't exist, /etc/mpd.conf will be used
MPD configuration file /etc/mpd.conf doesn't exist, MPD support will be disabled
None
6600
DEBUG:LyricsScreenlet:Startup state: minimized
LOAD NEW THEME: default
FOUND: /home/christos/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.5
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
Set options in Lyrics Screenlet
LOAD NEW THEME: transparent
FOUND: /home/christos/.screenlets/Lyrics/themes/transparent
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.5
Info: Transparent theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
setFont Apricity 10
INFO:LyricsScreenlet:Screenlet has been initialized.
DEBUG:LyricsScreenlet:minimalizing screenlet
DEBUG:LyricsScreenlet:already minimalized
minimized
Restored instances from session 'default' ...
DEBUG:LyricsScreenlet:unfocus 1.0
/home/christos/.screenlets/Lyrics/LyricsScreenlet.py:960: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
array = pb.get_pixels_array()[0][0]
DEBUG:LyricsScreenlet:unfocus 0.0
'bool' object has no attribute 'currentsong'
'bool' object has no attribute 'status'
'bool' object has no attribute 'currentsong'
DEBUG:LyricsScreenlet:set elapsed: 0.0
DEBUG:LyricsScreenlet:redraw in onElapsed
INFO:LyricsScreenlet:Player Connected: MPD
'bool' object has no attribute 'currentsong'
'bool' object has no attribute 'status'


nothing happens after i start the song, even though it's tested to have lyrics on jaunty

i notice that it considers MPD to be the connected player, before i started the song

if i start the screenlet after the song already plays i get

/home/christos/.screenlets/Lyrics/lyricsengine/ALSong.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
pyxmms package not installed, Xmms player support will be disabled
CachingBackend: Loading instances from cache
CachingBackend: Loading <Lyrics1>
Found a running session of Lyrics, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Lyrics was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.christos.running
Loading instances in: /home/christos/.config/Screenlets/Lyrics/default/
File: Lyrics1.ini
/home/christos/.config/Screenlets/Lyrics /default/Lyrics1
MPD configuration file /home/christos/.mpdconf doesn't exist, /etc/mpd.conf will be used
MPD configuration file /etc/mpd.conf doesn't exist, MPD support will be disabled
None
6600
DEBUG:LyricsScreenlet:Startup state: maximized
LOAD NEW THEME: default
FOUND: /home/christos/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.5
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
Set options in Lyrics Screenlet
LOAD NEW THEME: transparent
FOUND: /home/christos/.screenlets/Lyrics/themes/transparent
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.5
Info: Transparent theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
setFont Apricity 10
INFO:LyricsScreenlet:Screenlet has been initialized.
DEBUG:LyricsScreenlet:minimalizing screenlet
DEBUG:LyricsScreenlet:was maximized, must move to the corner
DEBUG:LyricsScreenlet:set size: 64, 64, then position: 1047, 25
DEBUG:LyricsScreenlet:resize: [64, 64]
DEBUG:LyricsScreenlet:saving minimalized state to config
minimized
Restored instances from session 'default' ...
DEBUG:LyricsScreenlet:post position: <gtk.gdk.Event at 0x7f804a4c6f58: GDK_CONFIGURE x=852, y=25, width=64, height=64>
DEBUG:LyricsScreenlet:move window to: [1047, 25]
DEBUG:LyricsScreenlet:unfocus 1.0
/home/christos/.screenlets/Lyrics/LyricsScreenlet.py:960: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
array = pb.get_pixels_array()[0][0]
DEBUG:LyricsScreenlet:Song Changed: /media/Mousiki/Anathema - Discography/2003 - A Natural Disaster/03 Closer.mp3
DEBUG:LyricsScreenlet:searching lyrics on disk
DEBUG:LyricsScreenlet:lyrics should be here: /home/christos/Anathema - A Natural Disaster/closer.lrc
DEBUG:LyricsScreenlet: For old compatibility, /home/christos/Anathema - A Natural Disaster/closer will be checked too
DEBUG:LyricsScreenlet:set elapsed: 29
DEBUG:LyricsScreenlet:redraw in onElapsed
DEBUG:LyricsScreenlet:onPlay
INFO:LyricsScreenlet:Player Connected: Rhythmbox
DEBUG:LyricsScreenlet:set elapsed: 29
DEBUG:LyricsScreenlet:redraw in onElapsed
DEBUG:LyricsScreenlet:maximalizing screenlet
DEBUG:LyricsScreenlet:move window to: [852, 25]
DEBUG:LyricsScreenlet:writing maximalizing state to config
maximiximg
INFO:LyricsScreenlet:lyrics engine finished!
DEBUG:LyricsScreenlet:unfocus 0.0

and the lyrics on my screen :)

Report

C

dencer

10 years ago

check it now

Report

Compboy

10 years ago

Hi, when playing songs from a mounted smb drive in rhythmbox i do not get lyrics.
if i copy the same song to a local drive it will work without a problem. any ideas what i am doing wrong when mounting these drives?

Report

Compboy

10 years ago

mounting them with cifs seems to have solved the problem.

Report

C

dencer

10 years ago

I haven't any experiences in this area, maybe terminal output would help, where's the problem in the first case. If player can play this files, the screenlet could (with some change in code) too. But thats great you solved it already.

Report

svD4

10 years ago

hi,
at first thanks for your work, but your screenlet doesnt work for me...
screenlets 0.1.2, jaunty, lyrics 0.5.7.

The Screenlet has been started sucessfully on my desktop, but there is only a little "radio" as a symbol. i have no lyrics stored locally, but as i understood the screenlet is automatically downloading the lyrics from an online database?!

i'm using banshee 1.4.3... can you help me? :)

------------

simon@simon-ubuntu:~$ python /home/simon/.screenlets/Lyrics/LyricsScreenlet.py
/home/simon/.screenlets/Lyrics/lyricsengine/ALSong.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
pyxmms package not installed, Xmms player support will be disabled
CachingBackend: Loading instances from cache
CachingBackend: Loading <Lyrics1>
Found a running session of Lyrics, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Lyrics was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.simon.running
Loading instances in: /home/simon/.config/Screenlets/Lyrics/default/
File: Lyrics1.ini
/home/simon/.config/Screenlets/Lyrics /default/Lyrics1
MPD configuration file /home/simon/.mpdconf doesn't exist, /etc/mpd.conf will be used
MPD configuration file /etc/mpd.conf doesn't exist, MPD support will be disabled
None
6600
DEBUG:LyricsScreenlet:Startup state: minimized
LOAD NEW THEME: default
FOUND: /home/simon/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.5
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
Set options in Lyrics Screenlet
LOAD NEW THEME: default
FOUND: /home/simon/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.5
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
INFO:LyricsScreenlet:Screenlet has been initialized.
DEBUG:LyricsScreenlet:minimalizing screenlet
DEBUG:LyricsScreenlet:already minimalized
minimized
Restored instances from session 'default' ...
DEBUG:LyricsScreenlet:Song Changed: /home/simon/Musik/Jan_Delay-Wir_Kinder_Vom_Bahnhof_Soul-DE-2009-NOiR/08-jan_delay-large-noir.mp3
DEBUG:LyricsScreenlet:searching lyrics on disk
DEBUG:LyricsScreenlet:lyrics should be here: /home/simon/Jan Delay - Wir Kinder vom Bahnhof Soul/Large.lrc
DEBUG:LyricsScreenlet: For old compatibility, /home/simon/Jan Delay - Wir Kinder vom Bahnhof Soul/Large will be checked too
DEBUG:LyricsScreenlet:set elapsed: 132.282
DEBUG:LyricsScreenlet:redraw in onElapsed
DEBUG:LyricsScreenlet:onPlay
INFO:LyricsScreenlet:Player Connected: Banshee
OK
DEBUG:LyricsScreenlet:unfocus 1.0
INFO:LyricsScreenlet:lyrics engine finished!
DEBUG:LyricsScreenlet:minimalizing screenlet
DEBUG:LyricsScreenlet:already minimalized
minimized
DEBUG:LyricsScreenlet:Song Changed: /home/simon/Musik/Jan_Delay-Wir_Kinder_Vom_Bahnhof_Soul-DE-2009-NOiR/09-jan_delay-kommando_bauchladen-noir.mp3
DEBUG:LyricsScreenlet:searching lyrics on disk
DEBUG:LyricsScreenlet:lyrics should be here: /home/simon/Jan Delay - Wir Kinder vom Bahnhof Soul/Kommando Bauchladen.lrc
DEBUG:LyricsScreenlet: For old compatibility, /home/simon/Jan Delay - Wir Kinder vom Bahnhof Soul/Kommando Bauchladen will be checked too
DEBUG:LyricsScreenlet:onPlay
INFO:LyricsScreenlet:lyrics engine finished!
DEBUG:LyricsScreenlet:minimalizing screenlet
DEBUG:LyricsScreenlet:already minimalized
minimized

Report

CLEARview

10 years ago

Hi man,
I see you terminal output and everything seems to be ok.
Maybe the tracks you are playing are not that popular. Try playing known songs as Thriller from Michael Jackson :D haha!
Give it a try with popular songs to be sure.
I use Ubuntu Jaunty always dist-upgraded and my LyricsScreenlet 0.5.7 works very good. Data base for lyrics are not that good as it should be, though.

Bye

Greetings for Dencer

Report

svD4

10 years ago

ah, thank you... it was unpopular... i thought "jan delay"'s new album is famous because its #1 in german charts :P...
anyway, thanks for your work! now it works great :)

Report

C

dencer

10 years ago

Doesn't matter if it is popular in Germany if most lyric uploaders are from Asia :D Hope I'll find some time for reimplement of creating synchronized lyrics from unsynchronized. Maybe it helps.

Report

LaGaDesk

10 years ago

It is so wonderful. I love it... :)
Thank you very much!

Report

lordmartires

10 years ago

Nice .... Finally it worked ...
It's truly amazing ! wonderful ...
Thanks

Report

chriskin

10 years ago

it doesn't work on mine , is there any package needed for it to work?

Report

C

dencer

10 years ago

No, for this simple version there is no need to install something.

Maybe more explanation is needed on how it works. I add color adaptation, cause I use transparent theme and I use Keep above option. When some aplication just under screenlet has similarly color as lyrics text color, it is almost invisible. In this version it use only one pixel at left-up corner as background color!!!

Second reason, why it doesn't work may be that it really doesn't work :D. I noticed some problem from terminal output in comment above:
pixel = pb.get_pixels_array()[0][0]
Traceback (most recent call last):
File "/home/angelo/.screenlets/Lyrics/LyricsScreenlet.py", line 941, in doColorAdaptation
bgColor = (pixel[0][0]/255.0, pixel[1][0]/255.0, pixel[2][0]/255.0)
IndexError: invalid index to scalar variable.

It would be great if you checked output from terminal if you have the same problem.

Report

chriskin

10 years ago

will do
remind me who i start it from terminal though, i never tried that in the past (i think)

Report

C

dencer

10 years ago

python $HOME/.screenlets/Lyrics/LyricsScreenlet.py

Report

chriskin

10 years ago

i got no error on the inverse through terminal. all i got was the info of the songs , the music player and the lyrics source.

Report

C

dencer

10 years ago

If there isn't any error, then it's hard to tell why nothing happens on your machine. Inverse color adaptation is best to test on desktop wallpaper with many colors by moving screenlet all around.

Report

notthesun

10 years ago

hi man, first your screenlet it's wonderfoul...ok now the problem...i use the version 0.5.4 and it works with some songs...i don't know why but with many songs it won't works...this is the output on terminal
/home/angelo/.screenlets/Lyrics/lyricsengine/ALSong.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
pyxmms package not installed, Xmms player support will be disabled
CachingBackend: Loading instances from cache
CachingBackend: Loading <Lyrics1>
Found a running session of Lyrics, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Lyrics was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.angelo.running
Loading instances in: /home/angelo/.config/Screenlets/Lyrics/default/
File: Lyrics1.ini
/home/angelo/.config/Screenlets//default/Lyrics1
MPD configuration file /home/angelo/.mpdconf doesn't exist, /etc/mpd.conf will be used
MPD configuration file /etc/mpd.conf doesn't exist, MPD support will be disabled
None
6600
DEBUG:LyricsScreenlet:Startup state: minimized
LOAD NEW THEME: default
FOUND: /home/angelo/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.3
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
Set options in Lyric
LOAD NEW THEME: default
FOUND: /home/angelo/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.3
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
INFO:LyricsScreenlet:Screenlet has been initialized.
DEBUG:LyricsScreenlet:minimalizing screenlet
DEBUG:LyricsScreenlet:already minimalized
minimized
Restored instances from session 'default' ...
DEBUG:LyricsScreenlet:unfocus 1.0
/home/angelo/.screenlets/Lyrics/LyricsScreenlet.py:940: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
pixel = pb.get_pixels_array()[0][0]
Traceback (most recent call last):
File "/home/angelo/.screenlets/Lyrics/LyricsScreenlet.py", line 941, in doColorAdaptation
bgColor = (pixel[0][0]/255.0, pixel[1][0]/255.0, pixel[2][0]/255.0)
IndexError: invalid index to scalar variable.
DEBUG:LyricsScreenlet:Song Changed: /media/sda6/new/Staind - Break The Cycle/Staind - Break The Cycle - 04 - It's Been Awhile.mp3
DEBUG:LyricsScreenlet:searching lyrics on disk
DEBUG:LyricsScreenlet:lyrics should be here: /home/angelo/.lyrics/Staind - Break The Cycle/It's Been Awhile.lrc
DEBUG:LyricsScreenlet: For old compatibility, /home/angelo/.lyrics/Staind - Break The Cycle/It's Been Awhile will be checked too
ERROR:LyricsScreenlet:
list is unsupported now

Traceback (most recent call last):
File "/home/angelo/.screenlets/Lyrics/players/player.py", line 110, in check_players
self.connectPlayer(self.activePlayers[0])
File "/home/angelo/.screenlets/Lyrics/players/player.py", line 175, in connectPlayer
self.onSongChanged(songNow)
File "/home/angelo/.screenlets/Lyrics/LyricsScreenlet.py", line 486, in onSongChanged
self.addLyrics(lyrics)
File "/home/angelo/.screenlets/Lyrics/LyricsScreenlet.py", line 335, in addLyrics
processedLyrics = self.processLyrics(lyrics)
File "/home/angelo/.screenlets/Lyrics/LyricsScreenlet.py", line 617, in processLyrics
lines = lyrics.rsplit(os.linesep)
AttributeError: 'list' object has no attribute 'rsplit'
DEBUG:LyricsScreenlet:set elapsed: 17
DEBUG:LyricsScreenlet:redraw in onElapsed
OK
DEBUG:LyricsScreenlet:unfocus 1.0
DEBUG:LyricsScreenlet:set elapsed: 0
DEBUG:LyricsScreenlet:redraw in onElapsed
DEBUG:LyricsScreenlet:unfocus 1.0
DEBUG:LyricsScreenlet:unfocus 1.0
/home/angelo/.screenlets/Lyrics/widget.py:681: DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
alpha = self.pixbuf.get_pixels_array()[y][x][3][0]
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
Can't detect pixel alpha value in ImageButton, bounding box will be used. Cause: invalid index to scalar variable.
DEBUG:LyricsScreenlet:unfocus 1.0
[1.0, 1.0, 1.0, 0.5]
0.5
[1.0, 1.0, 1.0, 1.0]
1.0
/home/angelo/.screenlets/Lyrics/themes
active theme is: default
/usr/share/screenlets/Lyrics/themes
Path /usr/share/screenlets/Lyrics/themes not found.
Changed: lyrics_directory
Changed: lyrics_directory
Changed: lyrics_directory
Changed: lyrics_directory
DEBUG:LyricsScreenlet:unfocus 1.0
DEBUG:LyricsScreenlet:unfocus 1.0
DEBUG:LyricsScreenlet:unfocus 1.0
DEBUG:LyricsScreenlet:Song Changed: /media/sda6/new/Cat Stevens - Wild World.mp3
DEBUG:LyricsScreenlet:searching lyrics on disk
DEBUG:LyricsScreenlet:lyrics should be here: /home/angelo/.lyrics/Cat Stevens - Greatest Hits Of Cat Stevens/Wild World.lrc
DEBUG:LyricsScreenlet: For old compatibility, /home/angelo/.lyrics/Cat Stevens - Greatest Hits Of Cat Stevens/Wild World will be checked too
ERROR:LyricsScreenlet:
list is unsupported now

'list' object has no attribute 'rsplit'

can you help me???

Report

C

dencer

10 years ago

Now in 0.5.5 it should be better. But your output contain more scary reports :), on other one I look later.

Report

notthesun

10 years ago

thank you man...your new version of screenlet works good...

Report

Spox5

10 years ago

I tested on Exaile 0.3.0, Audacious2, Rhythmbox and Banshee, but this screenlet's not work on my ubuntu 9.04 :(
Do you have any idea how to fix this problem?

Report

C

dencer

10 years ago

Run it from terminal and send me output. And because you use Ubuntu, try install python-numpy too, if haven't yet.

Report

Spox5

10 years ago

/home/spox/.screenlets/Lyrics/lyricsengine/ALSong.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
pyxmms package not installed, Xmms player support will be disabled
CachingBackend: Loading instances from cache
CachingBackend: Loading <Lyrics1>
Found a running session of Lyrics, adding new instance by service.
Error in screenlets.services.get_service_by_name: org.freedesktop.DBus.Error.ServiceUnknown: The name org.screenlets.Lyrics was not provided by any .service files
Screenlet has already been added to /tmp/screenlets/screenlets.spox.running
Loading instances in: /home/spox/.config/Screenlets/Lyrics/default/
File: Lyrics1.ini
/home/spox/.config/Screenlets//default/Lyrics1
MPD configuration file /home/spox/.mpdconf doesn't exist, /etc/mpd.conf will be used
MPD configuration file /etc/mpd.conf doesn't exist, MPD support will be disabled
None
6600
DEBUG:LyricsScreenlet:Startup state: minimized
['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', 'addWidget', 'alpha', 'anim_fraction', 'anim_steps', 'anim_timer', 'bounds', 'bounds_backup', 'button_press_notify', 'children', 'contains', 'draw', 'drawComponent', 'enabled', 'enterAnim', 'enter_notify', 'eventsCallbacks', 'frame', 'getBounds', 'getHeight', 'getTheme', 'getTotalAlpha', 'getWidth', 'image', 'imageOver', 'img_scale', 'isEnabled', 'isVisible', 'key_press_notify', 'lastBounds', 'leave_notify', 'opaque', 'overAlpha', 'parent', 'pixbuf', 'pressedAnim', 'redraw', 'registerEvent', 'scale', 'setEnabled', 'setEnterAnimation', 'setOverAlpha', 'setPosition', 'setPressedAnimation', 'setScale', 'setSize', 'setTheme', 'setVisible', 'setVisibleAnimation', 'startPressedAnim', 'startReleasedAnim', 'theme', 'visibilityThreshold', 'visible', 'visibleAnim']
['__doc__', '__init__', '__module__']
LOAD NEW THEME: default
FOUND: /home/spox/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.3
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
Set options in Lyric
LOAD NEW THEME: default
FOUND: /home/spox/.screenlets/Lyrics/themes/default
theme.conf found! Loading option-overrides.
theme.conf loaded:
Name: dark
Author: Marcel Dancak
Version: 0.3
Info: Dark theme
Override: text_scale
Override: color_normal
Override: color_highlight
Set THEME
INFO:LyricsScreenlet:Screenlet has been initialized.
DEBUG:LyricsScreenlet:minimalizing screenlet
DEBUG:LyricsScreenlet:already minimalized
minimized
Restored instances from session 'default' ...
OK
DEBUG:LyricsScreenlet:unfocus 1.0
Traceback (most recent call last):
File "/home/spox/.screenlets/Lyrics/players/player.py", line 110, in check_players
self.connectPlayer(self.activePlayers[0])
File "/home/spox/.screenlets/Lyrics/players/player.py", line 172, in connectPlayer
songNow = player.getCurrentFile()
File "/home/spox/.screenlets/Lyrics/players/mpris.py", line 111, in getCurrentFile
return self.getCurrentFromMetadata(self.playerAPI.GetMetadata())
File "/home/spox/.screenlets/Lyrics/players/mpris.py", line 107, in getCurrentFromMetadata
return gnomevfs.get_local_path_from_uri(uri)
RuntimeError: unknown error
DEBUG:LyricsScreenlet:onStop
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
File "/var/lib/python-support/python2.6/dbus/connection.py", line 214, in maybe_handle_message
self._handler(*args, **kwargs)
File "/home/spox/.screenlets/Lyrics/players/mpris.py", line 62, in onTrackChange
path = self.getCurrentFromMetadata(metadata)
File "/home/spox/.screenlets/Lyrics/players/mpris.py", line 107, in getCurrentFromMetadata
return gnomevfs.get_local_path_from_uri(uri)
RuntimeError: unknown error

Report

C

dencer

10 years ago

hmmm, so unknown error, I don't know how to fix such thing :D, but it helped a little. Try version 0.5.4 and send me output again, it (very very) probably will not work, but should give better info about problem.

Report

Spox5

10 years ago


Version 0.54 is working properly:)

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 4