ynot1234567890 wrote: > I guess so if that's how your system is configured. I am using docker > and in that install it's simply /config/shell. You may need to update > the path to the shell files in configuration.yaml file to ensure they > get executed. For the next revision I will try to use relative paths to > avoid this issue, > > > Code: -------------------- > > shell_command: > lms_qry_alb: 'bash /config/shell/qry_alb.sh {{text1}} {{text2}}' > lms_qry_alb_song: 'bash /config/shell/qry_alb_song.sh {{text1}} {{text2}} {{text3}}' > lms_spot_art: 'bash /config/shell/spot_art_top.sh {{text1}}' > lms_spot_art_alb: 'bash /config/shell/spot_art_alb.sh {{text1}} {{text2}}' > lms_spot_art_alb_song: 'bash /config/shell/spot_art_alb_song.sh {{text1}} {{text2}} {{text3}}' > lms_spot_playlist: 'bash /config/shell/spot_playlist.sh {{text1}}' -------------------- > > > > You will know if the shell files get executed if the album_id, song_id > sensors get updated and obviously if the song and album functions are > queuing to LMS properly.
I'm pretty close to getting this working. I've got everything in Home Assistant and I can change songs, pause, etc. However the shell scripts aren't working I don't think. I have home assistant installed on a synology NAS using docker. The home assistant folder is accessible through the web folder which allows you to access through windows. Do I have the shell scripts installed in the correct place? They are located under /volume1/web/HomeAssistant/shell. How do I test the scripts? I tried to follow thetroubleshooting but not sure how to do it. I used putty to get the /volume1/web/HomeAssistant/shell folder and tried to run the commands but they didn't work. It came back with -sh: bash-4-4#: command not found. No idea if I'm doing this correctly. Thanks for the help and for creating this! ------------------------------------------------------------------------ grimmace92's Profile: http://forums.slimdevices.com/member.php?userid=67328 View this thread: http://forums.slimdevices.com/showthread.php?t=109273 _______________________________________________ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins