Thank you so much kaivalagi for these guides. I'm using both your email and rhythmbox scripts and they are working perfectly.
Thank you so much kaivalagi for these guides. I'm using both your email and rhythmbox scripts and they are working perfectly.
Thanks for the script. It's great, but the Track Number don't want to work. It gaves me the Genre not the Track number. And sometimes when it changes to next song, conky is being killed automatically.
And it doesn't support European letters i.e. Polish letters.
Last edited by ryniek; December 31st, 2008 at 01:23 AM.
I can confirm the track number output is screwed, now fixing...
Unicode support should be working, pijiu got it working for Korean characters here: http://ubuntuforums.org/showpost.php...3&postcount=59
I think you need to have this setting in the conkyrc file above TEXT...
Any chance of running the script with an errorlogfile option set so we can see the error when conky crashes?Code:override_utf8_locale yes
UPDATE
New script available with the following changes:
- Unrated rating now outputs nothing
- Fixed statustext to work inside template now
- Fixed track number output
The first post has been updated and the apt package will be available shortly
Cheers
The script works great with Rhythmbox playing normal playlists, but for some reason it can't ascertain the title, artist, or album of last.fm songs. The output is "unknown" for my .conkyrc file and your example one.
I've attached verbose output from conkyRhythmbox.
I'll take a look at some point, I also have to get CD support sorted too
i have this setting. But if i'm listening to song which has polish letters, i.e. ł,ą,ę,ś, Rhythmbox Script can't show these letters on Conky. I've installed the latest version (2.0.4) of your script and it's the same situation.
Actually the conky is working fine. The progressbar from you script was the fault of the conky crash. When the song has been automatically changed, sometimes progressbar had crashed with the conky and sometimes it worked fine. I think the bug works randomly. Now i'm using only percent notificator of passed song time, without progressbar, and it works fine for now.
Cheers.
@ryniek
When you run the script in the terminal do you get the correct characters output?
I am seeing issues with unicode support in conky quite a bit lately, I have a sneaky feeling conky is causing the issue
Can you try using conky with execi instead of execpi etc, as I suspect the execp/execpi behaves differently with unicode support (not certain though)
If i typein Terminal, it disappears, nothing else.Code:exec conkyRhythmbox --datatype=TI
when i changed exec to execpi, the output in Conky was something like that:
But when i have exec, the output is fine.Code:Artist: ${execpi}
When i changed to exec, and turn on conky, i had a Traceback in Terminal:
but everything, except polish letters in output, works fine.Code:Traceback (most recent call last): File "/usr/share/conkyrhythmbox/conkyRhythmbox.py", line 474, in <module> main() File "/usr/share/conkyrhythmbox/conkyRhythmbox.py", line 471, in main rhythmboxinfo.writeOutput() File "/usr/share/conkyrhythmbox/conkyRhythmbox.py", line 424, in writeOutput print output.encode("utf-8") UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 6: ordinal not in range(128)
Cheers.
Last edited by ryniek; January 10th, 2009 at 03:06 PM.
loose the exec in the terminal, i.e.
What then?Code:conkyRhythmbox --datatype=TI
I assume it still has a problem...
I'll take a look at some point in the next couple of days...busy weekend right now
Bookmarks