2016-12-19, 13:11
Hi all,
I've been trying to display the currently playing song of my MPD daemon on my home screen. I'm not new to programming, but I am new to Kodi and it's internals.
I was hoping it would be as easy as declaring a variable that is available to the skin/interface elements/xml, and updating that variable using external scripts (i've got some python scripts that output the exact string I need in a variable). I've ended up thinking I need a add-on or service to periodically run the external scripts and update the variable, but I'm getting nowhere.
All help is appreciated.
PS: I'm not looking for a plugin or add-on or service that already does this for me, or a MPD client or whatever. My main goal posting here is to understand what I need to do, not find something that already does this.
Thanks!
I've been trying to display the currently playing song of my MPD daemon on my home screen. I'm not new to programming, but I am new to Kodi and it's internals.
I was hoping it would be as easy as declaring a variable that is available to the skin/interface elements/xml, and updating that variable using external scripts (i've got some python scripts that output the exact string I need in a variable). I've ended up thinking I need a add-on or service to periodically run the external scripts and update the variable, but I'm getting nowhere.
All help is appreciated.
PS: I'm not looking for a plugin or add-on or service that already does this for me, or a MPD client or whatever. My main goal posting here is to understand what I need to do, not find something that already does this.
Thanks!