Max2Play Home › Forums › Max2Play on ODROID U3/C1 › [SOLVED] Script for long button push › Reply To: [SOLVED] Script for long button push
3. Juli 2015 at 9:31
#15101
Hi timmo11,
if the complete path of the executable file is „/root/rescan“, than it should work by pasting this into the „Start my own Script“.
You might try to debug, if something is not working as expected: add some logging to the command in the webinterface to see what the command-line output is. In your case you might try this for the „Start my own Script“:
/root/rescan 2>&1 > /tmp/rescan-output
After pushing the button, there should be a file with the output of your script – to open it use „cat /tmp/rescan-output“
- This reply was modified 9 years, 6 months ago by flysurfer.