Hello,
In my house I have multiple media players (nVidia Shield). On all these players I use Kodi to watch video. I’ve created a central MariaDB for Kodi on my Synology NAS. This whole setup is working fine, the only annoying thing is that I manually have to update the library to add the newly downloaded content to my library.
Is there a way to use the Kodi integration in Home Assistant to update the MariaDB on my Synology NAS? I’ve been trying to create a automation, but this doesn’t work unfortunately:
alias: KODI - Update Kodi Library
description:
triggers:
- trigger: state
entity_id:
- media_player.nvidia_shield_woonkamer
to: "on"
from: "off"
conditions:
- condition: state
entity_id: input_boolean.kill_switch
state: "off"
actions:
- action: kodi.call_method
data:
method: VideoLibrary.Scan
target:
device_id: 423f5d8800cfe7315412ad1a3f830237
mode: single
1 post - 1 participant