Page 15 of 15 FirstFirst ... 5131415
Results 141 to 145 of 145

Thread: Conky Banshee Python Script

  1. #141
    Join Date
    Mar 2009
    Location
    DC Metro Area
    Beans
    34
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Banshee Python Script

    Quote Originally Posted by kaivalagi View Post
    2 Options I can think of, they're not tested but should get you there...

    1) Run the command through a script file which doesn't return the data? e.g. create runme.sh which contains:

    Code:
    #!/bin/sh
    conkyBanshee --datatype=CA
    then use:

    Code:
    ${execpi 1 ~/runme.sh}${image /tmp/cover -p 65,475 -s 150x150 -n}
    2) Use a template for the image output i.e. template file named "cover.template":

    Code:
    ${image [--datatype=CA] -p 65,475 -s 150x150 -n}
    and inside the conkyrc:

    Code:
    ${execpi 1 ~/conkyBanshee.py --template=cover.template}
    Excellent! Thank you kindly. Sorry for the PM, should have guessed you'd subscribe.

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

    Re: Conky Banshee Python Script

    Quote Originally Posted by Axess_Denied View Post
    Excellent! Thank you kindly. Sorry for the PM, should have guessed you'd subscribe.
    No problem and no worries

  3. #143
    Join Date
    Mar 2009
    Location
    DC Metro Area
    Beans
    34
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Banshee Python Script

    After all of the great help here, I finally got my Conky config the way I wanted it.

    Take a look and let me know what you think.
    Attached Images Attached Images

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

    Re: Conky Banshee Python Script

    Nice, I thin you should share the music parts of it for other banshee users

  5. #145
    Join Date
    Mar 2009
    Location
    DC Metro Area
    Beans
    34
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Conky Banshee Python Script

    Quote Originally Posted by kaivalagi View Post
    Nice, I thin you should share the music parts of it for other banshee users
    Great point!

    Here is the conky config for Banshee only using the Banshee script discussed in this thread:

    Code:
    ${voffset -6}${color slate grey}${font Verdana:size=12}Music: ${hr 2}
    #${if_running banshee}
    ${execp ~/conkyBanshee.py --template=~/conkyBanshee.template}
    ${execpi 1 ~/conkyBanshee.py --template=cover.template}
    #$endif
    Here is the template that displays Banshee information (conkyBanshee.template):

    Code:
    ${font verdana:bold:size=8}${color white} [--datatype=TI]
    ${font verdana:size=8}${color grey}  [--datatype=AR]
    ${font verdana:size=8}${color grey}  [--datatype=AL]  ([--datatype=YR])
    ${font verdana:size=6}${color white}  [--datatype=PT] / ${color grey}[--datatype=LE]
    Here is the template to display cover art (cover.template):

    Code:
    ${image [--datatype=CA] -p 32,506 -s 215x215 -n}

Page 15 of 15 FirstFirst ... 5131415

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
  •