Its nearly 5am so I apologise in advance if this is a bit all over the place.
I am attempting to add an XML guide to some of my IPTV channels in tvheadend-testing on a Synology 1813+.
tv_grab_file is located in /usr/bin with rwxr-xr-x sc-tvheadend-testing:sc-media permissions
When I run the file manually via SSH I get:
: No such file or directory#!/bin/sh
/bin/tv_grab_file: line 13: syntax error near unexpected token `$'do\r''
'bin/tv_grab_file: line 13: `do
but when running the code via custom script in Task Scheduler as root, this produces correct results.
Over the last week I tried absolutely everything I could find but tvheadend refuses to show the grabber in EPG Grabber Modules - I would expect it to appear as Internal Grabber.
Assistance would be extremely appreciated!
Thank You