Page 47 of 58 FirstFirst ... 37454647484957 ... LastLast
Results 461 to 470 of 572

Thread: Conky Rhythmbox Python Script

  1. #461
    Join Date
    Sep 2010
    Location
    Aotearoa
    Beans
    59

    Re: Conky Rhythmbox Python Script

    Is the problem with parsing new line characters caused by your script, conky or something else?

  2. #462
    Join Date
    Sep 2010
    Location
    Aotearoa
    Beans
    59

    Re: Conky Rhythmbox Python Script

    Can i seperate the %st (stream) part from the rest of the title when listening to internet radio
    Last edited by vehemoth; April 3rd, 2011 at 08:12 AM.

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

    Re: Conky Rhythmbox Python Script

    An easy way to determine whether conky has an issue or the script does is to the run the script in the command line instead of conky, and add the --verbose option on the end.

    Give that a go as I am a little blind right now, you've not actually posted the errors just descriptively what you've seen...the template looks to be okay but I have not tested it.

    For certain characters it is required that the UTF8 character set is configured for use in Conky. If UTF8 is not enabled you can end up seeing nonsense output. To enable UTF8 the following should be added before the TEXT section in your conkyrc file:
    Code:
    # Force UTF8? note that UTF8 support required XFT
    override_utf8_locale yes
    You may also want to post your conkyrc if you're still stuck

  4. #464
    Join Date
    Oct 2009
    Beans
    3

    Re: Conky Rhythmbox Python Script

    Hi people!

    I'm using the following script for displaying album art:

    Code:
    ${exec conkyRhythmbox --datatype=AR --nounknownoutput}
    ${exec conkyRhythmbox --datatype=TI --nounknownoutput}
    ${exec conkyRhythmbox --datatype=PT --nounknownoutput} / ${exec conkyRhythmbox --datatype=LE --nounknownoutput}
    ${exec cp "`conkyRhythmbox --datatype=CA | sed -e 's/\\\//g'`" /home/szasza/.album}${image /home/szasza/.album -p 166,810 -s 64x64}
    It is working fine ... when there is an album art in Rhythmbox. If not, it displays the previous album's (or the previous previous album's) cover. How can I get it show a - let's say - "noalbum.jpg" instead, or display nothing at all?

    By the way, many many thanks for your great work!
    Quiller

  5. #465
    Join Date
    Jul 2008
    Beans
    70

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by quillerszasza View Post
    Hi people!

    I'm using the following script for displaying album art:

    Code:
    ${exec conkyRhythmbox --datatype=AR --nounknownoutput}
    ${exec conkyRhythmbox --datatype=TI --nounknownoutput}
    ${exec conkyRhythmbox --datatype=PT --nounknownoutput} / ${exec conkyRhythmbox --datatype=LE --nounknownoutput}
    ${exec cp "`conkyRhythmbox --datatype=CA | sed -e 's/\\\//g'`" /home/szasza/.album}${image /home/szasza/.album -p 166,810 -s 64x64}
    It is working fine ... when there is an album art in Rhythmbox. If not, it displays the previous album's (or the previous previous album's) cover. How can I get it show a - let's say - "noalbum.jpg" instead, or display nothing at all?

    By the way, many many thanks for your great work!
    Quiller
    i know the following link is for Amarok, but it in principal it should fit your needs : http://www.larryni.me.uk/blog/2009/1...-art-in-conky/

    let me know if it helps..not near Ubuntu machine at moment so this is all i can think of
    Linux...The mistress we all left Windows for

  6. #466
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Last edited by Sector11; April 8th, 2011 at 11:52 PM.

  7. #467
    Join Date
    Dec 2010
    Beans
    1

    Exclamation Re: Conky Rhythmbox Python Script

    ...Sloved
    Last edited by makroelektro; May 9th, 2011 at 09:22 AM.

  8. #468
    Join Date
    Sep 2010
    Location
    Aotearoa
    Beans
    59

    Re: Conky Rhythmbox Python Script

    Hello
    I've got a problem when dealing with album art that has utf8 characters in the filepath. "conkyRhythmbox -d CA" won't copy it.

    Also is there a way to just get the path to the album art rather than copying it to the set director
    Thanks
    "I don't have a problem with someone using their talents to become successful, I just don't think the highest calling is success." - Richard Stallman
    sudo apt-get mail
    package not found

  9. #469
    Join Date
    Feb 2010
    Location
    SR11 Cockpit
    Beans
    Hidden!

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by vehemoth View Post
    Hello
    I've got a problem when dealing with album art that has utf8 characters in the filepath. "conkyRhythmbox -d CA" won't copy it.

    Also is there a way to just get the path to the album art rather than copying it to the set director
    Thanks
    A shot in the dark, I dont use rhythmbox but do you have:

    Code:
    override_utf8_locale yes  # Force UTF8? requires XFT
    TEXT
    Set above TEXT?

    Can you show a sample of the path? That might help.

  10. #470
    Join Date
    Sep 2010
    Location
    Aotearoa
    Beans
    59

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by Sector11 View Post
    A shot in the dark, I dont use rhythmbox but do you have:

    Code:
    override_utf8_locale yes  # Force UTF8? requires XFT
    TEXT
    Set above TEXT?

    Can you show a sample of the path? That might help.
    Yes I do, as it displays the album text just not the image. Here's that example path
    ~/Music/ogg/Константин - Константинополь -- Jamendo - OGG Vorbis q7 - 2011.03.20 [www.jamendo.com]
    "I don't have a problem with someone using their talents to become successful, I just don't think the highest calling is success." - Richard Stallman
    sudo apt-get mail
    package not found

Page 47 of 58 FirstFirst ... 37454647484957 ... 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
  •