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
76 stars 6 forks source link

Qnap - Scripter-X 4.0.0.8 on Emby 4.8.0.1 not working anymore for .sh scripts #65

Open mabogdan1981 opened 2 years ago

mabogdan1981 commented 2 years ago

image png 8a56774ef212998565a7b9f186de29b3

As described on title - Scripter-X 4.0.0.8 on Emby 4.8.0.1 not working anymore for .sh scripts on QNAP.

This is my .sh script: --------------------------------------------------------------------------------------------------------------------------------------------#!/bin/bash

cd "/share/Web/scripts" sudo /usr/bin/php update_time.php "${2}" ${5} ${6} ${7} ${8} ${9} ${10} >> /share/Web/logs/shell_logs/emby/update_time_php.log 2>&1

Until a few days ago, this script was workin just fine. It was sending data from emby to a php script wich updated a personal website with seen episodes and movies and output results on a .log text file but now everthing is blank (no logs anymore and no updates to my website).

This are the logs from emby server:

Screenshot 2022-06-17 205520

Emby 4.7.0.60 is the last version of emby where is working just fine.

AnthonyMusgrove commented 2 years ago

Hi mate, thank you for reporting this. I'll take a look at it as soon as possible!