Page 9 of 15 FirstFirst ... 7891011 ... LastLast
Results 81 to 90 of 145

Thread: Conky Banshee Python Script

  1. #81
    Join Date
    May 2006
    Location
    Chicago, IL
    Beans
    15
    Distro
    Ubuntu 6.06

    Re: Conky Banshee Python Script

    How would you manually change the script to use python 2.6?

    I am trying to get conkyBanshee to work under Ubuntu 10.10 and having a terrible time.

    Thanks

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

    Re: Conky Banshee Python Script

    I do beleive that Ubuntu 10.10 has a bug not having the python2 symbolic link, all other distro's I've used including previous versions of Ubuntu do have a python2 sym link...chances are it's been forgotten about in the hurry to rollout 10.10....

    To fix things so the script can work as it is supposed to just add a symbolic link in for python2 like this:

    Code:
    sudo ln -s /usr/bin/python2.6 /usr/bin/python2

  3. #83
    Join Date
    May 2006
    Location
    Chicago, IL
    Beans
    15
    Distro
    Ubuntu 6.06

    Re: Conky Banshee Python Script

    Thank you, I finally figured it out right before you posted this.

    Now I am going to try and figure out album art work.

    I see that it is copying the album art to /tmp/cover not sure how to make it display.
    Last edited by tstreit; October 25th, 2010 at 10:54 PM.

  4. #84
    Join Date
    Sep 2010
    Beans
    3

    Re: Conky Banshee Python Script

    Only
    Code:
    lrwxrwxrwx 1 root root       9 2010-09-16 12:07 /usr/bin/python -> python2.6
    -rwxr-xr-x 1 root root 2605008 2010-09-15 19:10 /usr/bin/python2.6
    thx, symlinking works as well.

  5. #85
    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 098799 View Post
    thx, symlinking works as well.
    I do suspect this is a temporary issue with 10.10, although it could be that the python2 sym link is one of those "unwritten linux standards"...

    If you sym link the problem will be catered for regardless of any updates I push out in the future

  6. #86
    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 tstreit View Post
    I see that it is copying the album art to /tmp/cover not sure how to make it display.
    Just point to /tmp/cover with the $image variable in conky e.g.:
    Code:
    ${image /tmp/cover -p 5,5 -s 64x64}
    If you want to use some other filepath then use the -c/--coverartpath option with the script and change the image variable for that filepath. Linux is not windows, an extension is not really required in most cases, rename an image to lose it's extension and then see what happens when you double click it...it still gets opened
    Last edited by kaivalagi; October 25th, 2010 at 11:39 PM.

  7. #87
    Join Date
    May 2006
    Location
    Chicago, IL
    Beans
    15
    Distro
    Ubuntu 6.06

    Re: Conky Banshee Python Script

    Thanks I will give that a try.

  8. #88
    Join Date
    May 2006
    Location
    Chicago, IL
    Beans
    15
    Distro
    Ubuntu 6.06

    Re: Conky Banshee Python Script

    Okay, I have it displaying using this code:

    Code:
    ${exec cp "`conkyBanshee --datatype=CA | sed -e 's/\\\//g'`" /home/tstreit/.cache/media-art}${image /tmp/cover -p 165,600 -s 64x64}
    But I have to shutdown conky each time for the art work to update.

    Any suggestions?

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

    Re: Conky Banshee Python Script

    You don't need this method anymore as the cover art will always be called the same thing...the script now copies the content to the same file name on each request.

    try:
    Code:
    ${exec conkyBanshee --datatype=CA}${image /tmp/cover -p 165,600 -s 64x64}
    Or better still use a template file then in the template have this:
    Code:
    ${image [--datatype=CA] -p 165,600 -s 64x64}
    A template file can be used to load lots of datatypes in one go and feed this back into conky through a execp or execpi variable. The example files found in /usr/share/conkybanshee/example/ should help you as they demonstrate both the way you do things and the way templates work.

    Hope that helps

  10. #90
    Join Date
    Feb 2010
    Beans
    18

    Re: Conky Banshee Python Script

    Hi,

    I use banshee to play mp3.
    I don't understand the last part of your answer :
    'Having the same media file would be a good thing to test with...'

    You want my music to perform some test?

Page 9 of 15 FirstFirst ... 7891011 ... 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
  •