6 hours ago
Hi,
I'm running NextPVR 7.0.5.260307 on Windows and I'm trying to automate the M3U channel update via NScriptHelper, but I keep getting "Not Allowed" (error code 13).
What works fine:
- NScriptHelper.exe -status → returns ok
- NScriptHelper.exe -pin:0000 -service:method=system.epg.update → works fine
- Calling setting.m3u.update manually via the web UI works perfectly
What does NOT work:
- dotnet "C:\Program Files\NextPVR\NScriptHelper.dll" -pin:0000 -service:method=setting.m3u.update → Not Allowed (code 13)
- Same result with NScriptHelper.exe
- Same result with curl and Python requests against the API
I found a similar thread from 2020 (V5) where "sub" fixed this with an updated NShared.dll. It seems the same security restriction is back in V7.
Background: My IPTV provider changes stream URLs every 2-3 days. When this happens, recordings fail until I manually click "Update Channels" in Settings → Devices. I want to automate this so recordings don't fail.
Is there a supported way to trigger setting.m3u.update from a script in V7? Or is there another approach to keep the M3U channels updated automatically?
Thanks!
I'm running NextPVR 7.0.5.260307 on Windows and I'm trying to automate the M3U channel update via NScriptHelper, but I keep getting "Not Allowed" (error code 13).
What works fine:
- NScriptHelper.exe -status → returns ok
- NScriptHelper.exe -pin:0000 -service:method=system.epg.update → works fine
- Calling setting.m3u.update manually via the web UI works perfectly
What does NOT work:
- dotnet "C:\Program Files\NextPVR\NScriptHelper.dll" -pin:0000 -service:method=setting.m3u.update → Not Allowed (code 13)
- Same result with NScriptHelper.exe
- Same result with curl and Python requests against the API
I found a similar thread from 2020 (V5) where "sub" fixed this with an updated NShared.dll. It seems the same security restriction is back in V7.
Background: My IPTV provider changes stream URLs every 2-3 days. When this happens, recordings fail until I manually click "Update Channels" in Settings → Devices. I want to automate this so recordings don't fail.
Is there a supported way to trigger setting.m3u.update from a script in V7? Or is there another approach to keep the M3U channels updated automatically?
Thanks!