AnthonyMusgrove / Emby-ScripterX

Run custom external application or script (batch/bash/powershell/php/python/node.js/custom) on various events within the Emby Server.
https://emby-scripterx.com
78 stars 6 forks source link

Interpreter error #50

Closed sasagr closed 3 years ago

sasagr commented 3 years ago

I m not sure what I m doing wrong but when I m trying to add an .sh script and choose /bin/bash interpreter I m seeing an exclamation mark.

I m seeing it whatever interpreter I choose actually.

My server is running on a raspberry with Debian ss

AnthonyMusgrove commented 3 years ago

Hi @sasagr, thank you for your query! Could you please try updating to the latest version (v3.0.5.2), and ensure you clean your browser cache / history before trying again. Please let me know if there's any further issues!

sasagr commented 3 years ago

ok, I managed to add the interpreter. I set the scrpterX to run an .sh upon adding a Movie item type and nothing is happening. Here my script and and a link to the log:

!/bin/bash

echo "Test" >> /home/pi/td.log cd /home/pi/Downloader && python3 download_all.py --directory "/home/pi/RD/Movies" >> /home/pi/td.log &

my td.log file did not change

sasagr commented 3 years ago

it worked. It was a permission issue! (as usual)

AnthonyMusgrove commented 3 years ago

Awesome, thank you mate for your response. I just checked your log and noticed the error, permission issue is a perfect, easy outcome, thank you again!

System.ComponentModel.Win32Exception: System.ComponentModel.Win32Exception (2): No such file or directory