Page 10 of 58 FirstFirst ... 8910111220 ... LastLast
Results 91 to 100 of 572

Thread: Conky Rhythmbox Python Script

  1. #91
    Join Date
    Dec 2008
    Beans
    5

    Re: Conky Rhythmbox Python Script

    Thank you so much kaivalagi for these guides. I'm using both your email and rhythmbox scripts and they are working perfectly.

  2. #92
    Join Date
    Jul 2008
    Location
    Poland
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Rhythmbox Python Script

    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.

  3. #93
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by ryniek View Post
    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.
    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...
    Code:
    override_utf8_locale yes
    Any chance of running the script with an errorlogfile option set so we can see the error when conky crashes?

  4. #94
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    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

  5. #95
    Join Date
    Dec 2008
    Location
    Cabot, Arkansas
    Beans
    9
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Conky Rhythmbox Python Script

    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.
    Attached Files Attached Files

  6. #96
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    I'll take a look at some point, I also have to get CD support sorted too

  7. #97
    Join Date
    Jul 2008
    Location
    Poland
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by kaivalagi View Post
    I think you need to have this setting in the conkyrc file above TEXT...
    Code:
    override_utf8_locale yes
    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.

    Quote Originally Posted by kaivalagi View Post
    Any chance of running the script with an errorlogfile option set so we can see the error when conky crashes?
    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.

  8. #98
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    @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)

  9. #99
    Join Date
    Jul 2008
    Location
    Poland
    Beans
    36
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Rhythmbox Python Script

    If i type
    Code:
    exec conkyRhythmbox --datatype=TI
    in Terminal, it disappears, nothing else.

    when i changed exec to execpi, the output in Conky was something like that:
    Code:
    Artist: ${execpi}
    But when i have exec, the output is fine.

    When i changed to exec, and turn on conky, i had a Traceback in Terminal:

    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)
    but everything, except polish letters in output, works fine.
    Cheers.
    Last edited by ryniek; January 10th, 2009 at 03:06 PM.

  10. #100
    Join Date
    Feb 2008
    Location
    52°38'41.6"N/1°19'43.6"E
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    loose the exec in the terminal, i.e.

    Code:
    conkyRhythmbox --datatype=TI
    What then?

    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

Page 10 of 58 FirstFirst ... 8910111220 ... LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •