2022-06-14, 10:07 PM
Hello,
I am in need of a method of refreshing the URLs provided in my IPTV M3U file daily. My provider updates the URLs with new access tokens daily.
I've read an old post regarding "NScriptHelper.dll -serviceetting.m3u.update". This sounds like it's what I need but is it still supported? When I execute it on my Ubuntu 20.04 server I get a 404 error. The post I read was old, maybe the syntax or parameters have changed?
Is there some other method I could call from a script to update the URLs on my channel list in NPVR?
I'm running NVPR 5.2.7.220410 on this Ubuntu server.
ken@ubuntu:/var/opt/nextpvr/scripts$ /opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll -serviceetting.m3u.update
[1] Unexpected error with service: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at NScriptHelper.Program.GetService(String service)
ken@ubuntu:/var/opt/nextpvr/scripts$
Thanks!
I am in need of a method of refreshing the URLs provided in my IPTV M3U file daily. My provider updates the URLs with new access tokens daily.
I've read an old post regarding "NScriptHelper.dll -serviceetting.m3u.update". This sounds like it's what I need but is it still supported? When I execute it on my Ubuntu 20.04 server I get a 404 error. The post I read was old, maybe the syntax or parameters have changed?
Is there some other method I could call from a script to update the URLs on my channel list in NPVR?
I'm running NVPR 5.2.7.220410 on this Ubuntu server.
ken@ubuntu:/var/opt/nextpvr/scripts$ /opt/dotnet/dotnet /opt/nextpvr/system/NScriptHelper.dll -serviceetting.m3u.update
[1] Unexpected error with service: System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.GetWebResponse(WebRequest request)
at System.Net.WebClient.DownloadBits(WebRequest request, Stream writeStream)
at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
at System.Net.WebClient.DownloadString(Uri address)
at System.Net.WebClient.DownloadString(String address)
at NScriptHelper.Program.GetService(String service)
ken@ubuntu:/var/opt/nextpvr/scripts$
Thanks!