[Unit]
Description=Snapclient
After=kodi.service network-online.target sound.target
Requires=kodi.service network-online.target sound.target

[Service]
Environment=ALSA_PLUGIN_DIR=/storage/.kodi/addons/service.snapclient/lib
ExecStart=/bin/sh /storage/.kodi/addons/service.snapclient/bin/snapclient.start
Restart=always

[Install]
WantedBy=kodi.target
