Page 4 of 58 FirstFirst ... 234561454 ... LastLast
Results 31 to 40 of 572

Thread: Conky Rhythmbox Python Script

  1. #31
    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 ad_267 View Post
    I tried using this when listening to the radio and I get this output for anything:
    Code:
    ERROR: Issue calling the dbus service:float division
    Unknown
    That's with errors disabled. With errors enabled:
    Code:
    ERROR: Issue calling the dbus service:float division
    ERROR: Issue calling the dbus service:float division
    rhythmbox-client gives a blank artist and the radio station as the title.
    I'll take a look, first I have to find a radio to add...any good ones you can recommend?

  2. #32
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by kaivalagi View Post
    I'll take a look, first I have to find a radio to add...any good ones you can recommend?
    This is one I listen to a lot: http://www.95bfm.com/bfm128.m3u
    I don't know what kind of music you're into though, that's my university radio station and they play heaps of different stuff. That one doesn't always have the artist and title though. This station seems to always show these in rhythmbox: http://streams.swcast.net/launch.cgi...xy/hi-band.pls

    I'm not that worried about this if it would be a lot of work. What you've done so far is really great.

    Cheers,
    Adam
    Last edited by ad_267; November 7th, 2008 at 09:56 PM.

  3. #33
    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 ad_267 View Post
    This is one I listen to a lot: http://www.95bfm.com/bfm128.m3u
    I don't know what kind of music you're into though, that's my university radio station and they play heaps of different stuff. That one doesn't always have the artist and title though. This station seems to always show these in rhythmbox: http://streams.swcast.net/launch.cgi...xy/hi-band.pls

    I'm not that worried about this if it would be a lot of work. What you've done so far is really great.

    Cheers,
    Adam
    Still at work at 10:45PM...I need a remote login sorted to my home machine so I can play with my scripts

    I'll take a look over the next few days, no worries

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

    Re: Conky Rhythmbox Python Script

    UPDATE

    I've added rudimentary support for displaying stream info when using online radio

    Changes as follows:

    • Added genre to the datatypes, used with --datatype=GE
    • Added stream support, to display what is available and not crash
    • Updated README


    The first post has been updated and the apt package is available

    Chimo
    Last edited by kaivalagi; November 10th, 2008 at 12:56 AM.

  5. #35
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky Rhythmbox Python Script

    Quote Originally Posted by kaivalagi View Post
    I've added rudimentary support for displaying stream info when using online radio
    That's awesome thanks! Works great.

  6. #36
    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 ad_267 View Post
    That's awesome thanks! Works great.
    Glad it works

    Out of interest, in your experience, is the title text always in the same format for all radio stations? Or is it down to what they define it as?

  7. #37
    Join Date
    Jan 2008
    Location
    Auckland, New Zealand
    Beans
    3,129
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Conky Rhythmbox Python Script

    I don't listen to a lot of different radio stations, but the ones I use all seem to show the title in the format "Artist - Title". I don't know if this is a Rhythmbox thing or something set by the radio station.

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

    Re: Conky Rhythmbox Python Script

    UPDATE

    Updated the script as follows:

    • Added --errorlog and --infolog options to log data to a file
    • Refactored and tidied up
    • Updated README


    The first post is updated and the apt package will be available shortly

  9. #39
    Join Date
    May 2007
    Beans
    43

    Re: Conky Rhythmbox Python Script

    This is cool but it doesn't display my korean or chinese songs :s

  10. #40
    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 pijiu View Post
    This is cool but it doesn't display my korean or chinese songs :s
    mmm, it should support unicode and not be a problem, I don't have any korean/chinese songs to try it out on so can't create the problem.

    Can you try the attached script, I have amended it in a couple of places to hopefully handled what you need.

    just run it like before, except using the python command, e.g.

    Code:
    ${exec python /path/to/file/conkyRhythmbox.py ..options...}
    If that doesn't help, can you provide with with a link to an offending mp3/ogg to try out?
    Attached Files Attached Files
    Last edited by kaivalagi; November 15th, 2008 at 12:22 PM.

Page 4 of 58 FirstFirst ... 234561454 ... 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
  •