NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 4 5 6 7 8 … 193 Next »
IPTV M3U

 
  • 0 Vote(s) - 0 Average
IPTV M3U
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#11
2020-01-05, 02:59 PM (This post was last modified: 2020-01-05, 03:00 PM by mvallevand.)
(2020-01-05, 08:16 AM)MrGenius1 Wrote: I get -sh: dotnet: not found when running the command.

On docker dotnet is inside the container so to test it you'd need to run a docker bash shell.

Typically (and this is why I asked if it added the EPG) you would do this in the UpdateEPG.sh command, assuming you want all channels imported. It is kind of a useless command for anyone who prunes their lists.

Martin
MrGenius1
Offline

Junior Member

Posts: 32
Threads: 6
Joined: Dec 2019
#12
2020-01-05, 05:22 PM
(2020-01-05, 02:59 PM)mvallevand Wrote:
(2020-01-05, 08:16 AM)MrGenius1 Wrote: I get -sh: dotnet: not found    when running the command.

On docker dotnet is inside the container so to test it you'd need to run a docker bash shell.

Typically (and this is why I asked if it added the EPG) you would do this in the UpdateEPG.sh command, assuming you want all channels imported.  It is kind of a useless command for anyone who prunes their lists.

Martin

Getting this command working is very helpful for people like me that can change their m3u file before NextPVR sees it. Running this command will update my sports links that are already in place for the weekly and daily games. I currently have my EPG set to pull data every 6 hours.
MrGenius1
Offline

Junior Member

Posts: 32
Threads: 6
Joined: Dec 2019
#13
2020-01-05, 05:26 PM
When running the command in a Docker Bash Shell I get this error. A fatal error was encountered. The library 'libhostpolicy.so' required to execute the application was not found in '/app/'.
Failed to run as a self-contained app. If this should be a framework-dependent app, add the /app/NScriptHelper.runtimeconfig.json file specifying the appropriate framework.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#14
2020-01-05, 05:41 PM
It seems to sub is missing a file on linux and docker this should get it running

copy to clipboard

Code:
{
    "runtimeOptions": {
        "framework": {
            "name": "Microsoft.NETCore.App",
            "version": "3.1.0"
        },
        "additionalProbingPaths": [
            "/app/"
        ]
    }
}

cat > NScriptHelper.runtimeconfig.json
paste from clipboard
ctrl-d

Martin
MrGenius1
Offline

Junior Member

Posts: 32
Threads: 6
Joined: Dec 2019
#15
2020-01-05, 05:48 PM
Ok. Completed that update. Now we're here.

[1] Unexpected error updating EPG: 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)
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#16
2020-01-05, 06:00 PM (This post was last modified: 2020-01-05, 06:00 PM by mvallevand.)
Yes I guest the API isn't working it fails for me with curl too, even on Windows.

Code:
2020-01-05 12:52:02.330    [DEBUG][50]    method=setting.m3u.update
2020-01-05 12:52:02.330    [DEBUG][50]    parameters:
2020-01-05 12:52:02.330    [DEBUG][50]       method: setting.m3u.update
2020-01-05 12:52:02.330    [DEBUG][50]       client_ip: ::ffff:127.0.0.1
2020-01-05 12:52:02.330    [DEBUG][50]       user_agent: curl/7.64.0
2020-01-05 12:52:02.330    [DEBUG][50]       host_callback: 127.0.0.1:8866
2020-01-05 12:52:02.330    [DEBUG][50]       sid: default
2020-01-05 12:52:02.335    [DEBUG][50]    setting.m3u.update
2020-01-05 12:52:02.355    [DEBUG][50]    CaptureSource.LoadAll()
2020-01-05 12:52:02.528    [DEBUG][50]    Checking for updates in
2020-01-05 12:52:02.611    [ERROR][50]    Unexpected error updating
System.ArgumentException: The path is empty. (Parameter 'path')
   at System.IO.Path.GetFullPath(String path)
   at System.Net.WebClient.GetUri(String address)
   at NShared.IPTVRecorder.UpdateM3U()
2020-01-05 12:52:02.612    [DEBUG][50]    <?xml version="1.0" encoding="utf-8" ?>
<rsp stat="ok">
</rsp>

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,724
Threads: 767
Joined: Nov 2003
#17
2020-01-05, 06:07 PM
I’ll check it when I’m back home in a couple of days.
MrGenius1
Offline

Junior Member

Posts: 32
Threads: 6
Joined: Dec 2019
#18
2020-01-05, 06:08 PM
(2020-01-05, 06:07 PM)sub Wrote: I’ll check it when I’m back home in a couple of days.

Ok. Enjoy your time away
kaos3000
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Dec 2019
#19
2020-01-21, 04:48 AM (This post was last modified: 2020-01-21, 04:49 AM by kaos3000.)
I am in a Windows environment and testing out the
Code:
dotnet NScriptHelper.dll -service:setting.m3u.update
command in a command window for now. I am getting [1] Unable to login. Where in the command do I add the UN/PW in this script? And is the word username fully spelled out or user? Same question for password. I've tried a few different placements and spellings but it's all just a guessing game at this point. Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#20
2020-01-21, 01:30 PM (This post was last modified: 2020-01-21, 01:32 PM by mvallevand.)
Once a fixed version is available you would add the -pin:#### eg

Code:
dotnet NScriptHelper.dll -pin:1234 -service:setting.m3u.update

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Ability to add EPG Catagory to IPTV streams samwiliams33 1 319 2025-02-07, 07:34 PM
Last Post: mvallevand
  Select only Existing Channels when Updating IPTV Channels taylormia 5 2,101 2022-11-13, 04:29 AM
Last Post: sub
  Maintaining IPTV stations and lists f0945a5662 2 1,185 2021-11-18, 06:38 PM
Last Post: f0945a5662
Smile NextPVR as an IPTV broadcaster? rory.breaker 3 3,495 2021-02-21, 09:35 AM
Last Post: rory.breaker
  Multiple IPTV Devices mvallevand 12 6,376 2020-08-11, 12:20 AM
Last Post: mvallevand
Thumbs Up IPTV Channel Numbers seias 0 1,501 2020-01-08, 04:02 AM
Last Post: seias
  IPTV Channel List devontex 1 2,563 2019-05-06, 06:31 PM
Last Post: sub
  Automatically restart IPTV streams on drop out? JP23 4 3,924 2018-09-12, 08:52 PM
Last Post: sub
  Separate IPTV folders with the same name bicbasher 0 1,395 2018-04-28, 11:50 PM
Last Post: bicbasher
  IPTV Device & HTTP Multicast Streaming Peta_N 11 12,610 2014-08-30, 12:07 PM
Last Post: kylebrophy

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode