Hi all, just starting out using Dashticz and slowly learning.
I have hit a bit of a brick wall.
I want to display album art on my dashboard, i have figured out how to get the album art from my logitech media server but when the song changes the album art does not change with it.
The only way to see the change is to reload the page in the browser.
Any advice would be appreciated.
Thanks
Mark.
albumart refresh
Moderators: leecollings, htilburgs, robgeerts
- HansieNL
- Posts: 969
- Joined: Monday 28 September 2015 15:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: albumart refresh
What code do you use to show the album art?sundodger wrote: Sunday 11 August 2019 20:23 Hi all, just starting out using Dashticz and slowly learning.
I have hit a bit of a brick wall.
I want to display album art on my dashboard, i have figured out how to get the album art from my logitech media server but when the song changes the album art does not change with it.
The only way to see the change is to reload the page in the browser.
Any advice would be appreciated.
Thanks
Mark.
Blah blah blah
-
sundodger
- Posts: 29
- Joined: Sunday 11 August 2019 17:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: albumart refresh
i use this in my config to get the album art, I have tried adjusting the refesh time but doesn't seem to make a difference.
Code: Select all
buttons = {} //only once!!
buttons.albumart = {
width: 4,
isimage: true,
refreshimage: 2000,
image: 'http://192.168.1.122:9000/music/current/cover.jpg?player=b8%3A27%3Aeb%3A29%3A3c%3A50',
url: 'http://192.168.1.122:9000/music/current/cover.jpg?player=b8%3A27%3Aeb%3A29%3A3c%3A50'
};-
sundodger
- Posts: 29
- Joined: Sunday 11 August 2019 17:24
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: albumart refresh
that fixed it, working perfectly now.
thank you.
thank you.
Who is online
Users browsing this forum: No registered users and 1 guest