You are not logged in.

#1 2016-10-04 20:20:30

Dinks
Member
From: Oxford
Registered: 2015-11-03
Posts: 28

Conky help - image with spaces in path

I am trying to include album art in Conky. How can I use paths containing spaces in ${image ...}?

I am getting the data from dbus (from gmusicbrowser) in a perl script.

Can anybody help?

Offline

#2 2016-10-05 00:29:43

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,011

Re: Conky help - image with spaces in path

Try these, they are archived over at #! - in read only mode, but it's a place to start.

How To - GMusicBrowser and Custom Layouts and if you still want it in Conky there is this as well How To - Conky/Lua, Music and Cover Art - 2 Methods for 18 Apps

kaivalagi's scripts are still available but I don't know if any of his music ones still work.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#3 2016-10-05 02:18:25

PackRat
jgmenu user Numero Uno
Registered: 2015-10-02
Posts: 2,612

Re: Conky help - image with spaces in path

How many image paths are there?

If there is just the one that gmusicbrowser uses to store images, you can create a one word symlink to the directory where the images are being stored. I just confirmed (but not with gmusicbrowser) that conky will follow the symlink to the image.

Another option would be to see if some sort of quoting can be used, i.e:

"image location"

Last edited by PackRat (2016-10-05 02:19:29)


You must unlearn what you have learned.
    -- yoda

Offline

#4 2016-10-06 05:56:33

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Conky help - image with spaces in path

PackRat wrote:

If there is just the one that gmusicbrowser uses to store images, you can create a one word symlink to the directory where the images are being stored. I just confirmed (but not with gmusicbrowser) that conky will follow the symlink to the image.

your perl script should do that imho.

Offline

Board footer

Powered by FluxBB