I have made an automation which shows Kodi player progress on Awtrix displays.
Its loosely based on Spotify automation from Awtrix app store, but with quite a lot of changes. Just wanted to share with everyone as i couldnt find any Awtrix integration for Kodi and its a great use case for Kodi players.
Hi dinth,thank for you work! i’d like to remove the second information that scrool time playing…how can i do?i’m new here…really thanks
Hi. You need to remove all mqtt.publish service calls with kodi_time as a target
hi it work like a charm with kodi but something was strange when i stop kodi , awtrix always display last kodi info all the day . one idea ?
Hmm, what’s the media_player entity state when you quit kodi?
Basically this automation is triggered by any state change of media_player entity, first thing it zeroes Kodi notification and then depending on state (if it’s plying or paused) it shows the relevant notification again. So theoretically if kodi state changes to anything except playing or paused, the notification should disappear straight away
ok i used kodi over my nvidia shield so i shutoff shield without stop kodi as you describe i understand why i have this issue .
i will have to find a soltuion: when shield is off clean the mqtt pattern or something like that
using this in an automation
Hmm interesting, dont you have issues after resuming your Shield from sleep?
I had issues with Kodi going to sleep with the video open so i set up my harmony to always stop the video before putting shield to sleep even before getting Awtrix
sheild is 2017 model uptodate.
No issue , i always stop playing or pause the video .
i just don’t stop kodi and stop th shield or pass from kodi to prime or other.
so i have an automtion cuting stand by appliance when i go to sleep i just add an mqtt action cleanning kodi topics , i 'll see if tomorow morning things changes