Lyrics screenlet

Conky by dencer 339 comments

all I can do is to redirect you to page 11 in comments. It's functionality of screenlets itself, not lyrics screenlet. - Apr 06 2010
Lyrics screenlet

Conky by dencer 339 comments

to make work color adaptation, you must probably install python-numpy. It's needed on some distributions and I should update info on page for this. If you don't want to install it and want revert settings back without reinstall, delete files in ~/.config/Screenlets/Lyrics - Mar 19 2010
Lyrics screenlet

Conky by dencer 339 comments

to 1st issue, what player do you use ? I know about Exaile player with mpris plugin to behave not always properly on song change. Try different player to determine problem.
to 2nd, you must have turned on google translate and target language must be english, or it returned original. For easier manipulation with translation, you can try testing version 0.6.9, there are some links on page 12 :P - Mar 15 2010
Lyrics screenlet

Conky by dencer 339 comments

Screenlet doesn't support uploading lyrics to any server yet. At first I thought that I'll add upload to lrcdb server, but it doesn't work for a long time and maybe it will never work again. And rest servers isn't very open, so I don't know either. I would like to do it, but I haven't resources. - Mar 15 2010
Lyrics screenlet

Conky by dencer 339 comments

at least for some time, yes. At first I wanted only use subversion control, but probably I'll continue in uploading whole archive for easier download.
Even today after upload on googlecode I found (and fix) one problem in changes I've made. And this happens often to me, mainly cause it's coded in python. So it's better let such version test properly before official releases. And sometimes someone ask for some feature, but making new versions after every request isn't good. - Mar 13 2010
Lyrics screenlet

Conky by dencer 339 comments

I added translation on/off switch to context menu and translation settings works now immediately, not from next song as before. Maybe better will be add some controls directly to the panel, but u know, another icons, code, ... (more work :P).
As I already wrote in comments above, no more unstable releases, so here is testing one http://lyrics-screenlet.googlecode.com/files/Lyrics_0.6.9.tar.gz - Mar 13 2010
Lyrics screenlet

Conky by dencer 339 comments

here it is, testing release with text align option http://lyrics-screenlet.googlecode.com/files/Lyrics_0.6.9.tar.gz - Mar 13 2010
Lyrics screenlet

Conky by dencer 339 comments

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 - Mar 13 2010
Lyrics screenlet

Conky by dencer 339 comments

I could add such option in next release, what means solve one bug first - Mar 05 2010
Lyrics screenlet

Conky by dencer 339 comments

That's my minimizing algorithm :P, seems doesn't working well for everyone. It shrink(this needs resize and move) by location on desktop, but for unknown reason, something go wrong on some systems. Info about distribution, window manager, player could help. You could also try to allow tray icon in LyricsScreenlet settings, in this case it doesn't do resizing & moving. - Mar 02 2010
Lyrics screenlet

Conky by dencer 339 comments

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. - Mar 01 2010
Lyrics screenlet

Conky by dencer 339 comments

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 - Feb 27 2010
Lyrics screenlet

Conky by dencer 339 comments

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 - Feb 19 2010
Lyrics screenlet

Conky by dencer 339 comments

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]" - Feb 19 2010
Lyrics screenlet

Conky by dencer 339 comments

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. - Feb 18 2010
Lyrics screenlet

Conky by dencer 339 comments

still it shouldn't be related to concrete screenlet. As I don't know what version do you use, my tip is this bug https://bugs.launchpad.net/screenlets/+bug/345359. I have installed version 0.1.2-7, that already has this fixed, but probably many distros use stable version, and this have this bug. If you don't know how to update for you distro, try replace file backend.py from http://dl.dropbox.com/u/4466860/backend.py (in my ubuntu it is in /usr/share/pyshared/screenlets, in my older mandriva in /usr/lib/python2.5/site-packages/screenlets). And don't forget on doing backup first. - Feb 18 2010
Lyrics screenlet

Conky by dencer 339 comments

I'm glad that everybody now see only unimportant issues. I made update so now it should be total perfection :D - Feb 16 2010
Lyrics screenlet

Conky by dencer 339 comments

if you send me such lyrics file, maybe I'll do something, in some day - Feb 15 2010
Lyrics screenlet

Conky by dencer 339 comments

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 - Feb 15 2010
Lyrics screenlet

Conky by dencer 339 comments

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 ? - Feb 15 2010
Lyrics screenlet

Conky by dencer 339 comments

I almost forget, here is your gmusicbrowser support. - Feb 15 2010
Lyrics screenlet

Conky by dencer 339 comments

try to monitor configuration file in ~/.config/Screenlets/Lyrics/ Check if this settings is written after you set them, after you quit screenlet and after restart, cause no such thing happens to me. And does it happen to other screenlets ? But during testing I found another issue, tray icon probably works only for me, cause I run it different way, so thanks :) - Feb 15 2010
Lyrics screenlet

Conky by dencer 339 comments

hey, I have in plan improve these icons :D

but okay, as many wants it completely disappear, in next version you will be satisfied. I already added possibility to use tray icon instead, just few tests and modifications are still needed. - Feb 08 2010
Lyrics screenlet

Conky by dencer 339 comments

I played a little with animation, but now it doesn't look very nice when animation is slow. Text is aligning to the raster, to better look on display. Only one animation is boring also to me, but it will take more time to change it. - Jan 28 2010
Lyrics screenlet

Conky by dencer 339 comments

Check if it really works in new version. Many times something works only on my machine :P - Jan 28 2010
Lyrics screenlet

Conky by dencer 339 comments

by default, chinese, japanese and probably more are filtered, cause many english lyrics already contains chinese, japanese, ... translations. You must uncheck Filter some languages first (I know, not very meaningful name).

And for second case, I get translation quite quick. But in this version, it was manly for testing, if it such feature have sence. I can later add saving translations, so it can solve this issue at all. - Jan 23 2010
Lyrics screenlet

Conky by dencer 339 comments

I always forget something to write. To use google translate, python-simplejson package is needed. Check this first, even if I use karmic too, and had it installed before.
If it doesn't help, use terminal. I didn't care much about list index bounds, so there is another reason to crash - Jan 22 2010
Lyrics screenlet

Conky by dencer 339 comments

2nd and 3rd completed, however fade in/out now only on song change

But I'm not sure if I understant to the 1st suggestion. Animation should never stop, still slowly move from one line to another? - Jan 21 2010
Lyrics screenlet

Conky by dencer 339 comments

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 :) - Jan 21 2010
Lyrics screenlet

Conky by dencer 339 comments

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

Conky by dencer 339 comments

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. - Oct 21 2009
AnotherFolderView Screenlet

Conky by dencer 62 comments

it's secret only in python :) You must set pango layout height, but python bindings doesn't already have set_height method (maybe last version of pygtk has it, but how many people use it). Anyway, I was needing to write transparency support to gtkglext in C, so I added even this feature.

If you want use it, it's function in utils module:
import utils
utils.pangoLayoutSetHeight(pangoLayout, height)
But as it's a little dirty solution, it's needed to compile for different python versions and systems. I compiled it only for 32-bit systems and python versions 2.5 and 2.6. - Oct 20 2009
Lyrics screenlet

Conky by dencer 339 comments

use up and down keys, then save. - Oct 17 2009
Lyrics screenlet

Conky by dencer 339 comments

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. - Oct 10 2009
Lyrics screenlet

Conky by dencer 339 comments

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 ? - Oct 09 2009
Lyrics screenlet

Conky by dencer 339 comments

shame on me, it was really a bug :D It was occuring only in some cases. Now it is right. - Oct 09 2009
Lyrics screenlet

Conky by dencer 339 comments

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) - Oct 08 2009
Lyrics screenlet

Conky by dencer 339 comments

check it now - Oct 04 2009
Lyrics screenlet

Conky by dencer 339 comments

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. - Oct 04 2009
Lyrics screenlet

Conky by dencer 339 comments

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 - Oct 04 2009
Lyrics screenlet

Conky by dencer 339 comments

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. - Sep 16 2009
AnotherFolderView Screenlet

Conky by dencer 62 comments

it was too late to think yesterday, 60 isn't power of 2, it must be 64 :D - Sep 12 2009
AnotherFolderView Screenlet

Conky by dencer 62 comments

It's first version, needs more tuning to work on more computers :D - Sep 12 2009
AnotherFolderView Screenlet

Conky by dencer 62 comments

Or maybe it's because of non power of 2 textures size, some drivers/hardware still don't like that. If you really want to try to make it run, you could rewrite lines like
label.texture = self.textTexture(name, int(60*self.scale), int(26*self.scale), self.scale)
to have the same dimmensions
self.textTexture(name, int(60*self.scale), int(60*self.scale), self.scale)
Probably all 26 to 60. - Sep 11 2009
AnotherFolderView Screenlet

Conky by dencer 62 comments

whats your hardware configuration? Do you use 64bit software? With the same data and PyOpenGL version it should behave the same, bud didn't. On 64bit processor, data could be different, so I need more info. - Sep 11 2009
AnotherFolderView Screenlet

Conky by dencer 62 comments

I expected troubles. Maybe it is by different version of PyOpenGL. Try easy_install -U PyOpenGL, but must have python-setuptools installed. Or check http://pyopengl.sourceforge.net/documentation/installation.html for installing latest version by distutils. Then you should have the same version as my (3.0.1a3), so I will be able to check exact line causing problems, or it will be working :) - Sep 11 2009
Lyrics screenlet

Conky by dencer 339 comments

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. - Sep 06 2009
Lyrics screenlet

Conky by dencer 339 comments

python $HOME/.screenlets/Lyrics/LyricsScreenlet.py - Sep 04 2009
Lyrics screenlet

Conky by dencer 339 comments

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. - Sep 04 2009
Lyrics screenlet

Conky by dencer 339 comments

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