Jump to content

Unable to connect to nextPVR from emby


groenator

Recommended Posts

groenator

I installed the nextPvr plugin in my emby server, I configured the plugin to point to my docker instance where nextPvr is installed, however, emby cannot connect to the instance. 

I successfully connected with my android clients to NextPvr. And I know that the instance is up and running, the remote access is enabled, I use the same pin to connect too. 

Logging logs from emby server:

Quote
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()
 
2020-10-02 14:07:58.757 Info App: [NextPvr] Start GetRecordings Async, retrieve all 'Pending', 'Inprogress' and 'Completed' recordings
2020-10-02 14:07:58.757 Info App: [NextPvr] Start InitiateSession
2020-10-02 14:07:58.757 Info HttpClient: GET http://192.168.1.60:8866/public/Util/NPVR/Client/Instantiate
2020-10-02 14:07:58.765 Error ChannelManager: Error getting channel content
*** Error Report ***
Version: 4.5.1.0
Command line: /app/emby/EmbyServer.dll -programdata /config -ffdetect /app/emby/ffdetect -ffmpeg /app/emby/ffmpeg -ffprobe /app/emby/ffprobe -restartexitcode 3
Operating system: Linux version 4.15.0-112-generic (buildd@lcy01-amd64-027) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #113-Ubuntu SMP Thu Jul 9 23:41:39 UTC 202
Framework: .NET Core 3.1.7
OS/Process: x64/x64
Runtime: app/emby/System.Private.CoreLib.dll
Processor count: 12
Data path: /config
Application path: /app/emby
MediaBrowser.Model.Net.HttpException: MediaBrowser.Model.Net.HttpException: NotFound
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsyncInternal(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.SendAsync(HttpRequestOptions options, String httpMethod)
at Emby.Server.Implementations.HttpClientManager.CoreHttpClientManager.Get(HttpRequestOptions options)
at MediaBrowser.Plugins.NextPvr.LiveTvService.InitiateSession(CancellationToken cancellationToken)
at MediaBrowser.Plugins.NextPvr.LiveTvService.EnsureConnectionAsync(CancellationToken cancellationToken)
at MediaBrowser.Plugins.NextPvr.LiveTvService.GetAllRecordingsAsync(CancellationToken cancellationToken)
at MediaBrowser.Plugins.NextPvr.RecordingsChannel.GetRecordingGroups(InternalChannelItemQuery query, CancellationToken cancellationToken)
at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItems(IChannel channel, String externalFolderId, Nullable`1 sortField, Boolean sortDescending, CancellationToken cancellationToken)
at Emby.Server.Implementations.Channels.ChannelManager.GetChannelItemsInternal(Channel channel, IChannel channelProvider, InternalItemsQuery query, CancellationToken cancellationToken)
at Emby.Server.Implementations.Channels.ChannelManager.GetAllItems(Channel channel, IChannel channelProvider, Int64 parentId, Int32 currentRefreshLevel, Int32 maxRefreshLevel, CancellationToken cancellationToken)
at Emby.Server.Implementations.Channels.ChannelManager.RefreshChannel(Tuple`2 channelTuple, CancellationToken cancellationToken)
Source: Emby.Server.Implementations
TargetSite: Void MoveNext()

When I try to open http://192.168.1.60:8866/public/Util/NPVR/Client/Instantiate this link is not opening. Is a dead link. 

 

Can someone please advise what am I missing?

 

Thank you!

Link to comment
Share on other sites

I see you said this above but are you pointing it to the correct IP and port?  In my case it is http://192.168.0.100:8866  I left all of that other stuff out.

Hope this helps...

Edited by Bamit
Link to comment
Share on other sites

groenator
3 minutes ago, Bamit said:

Are you pointing it to the correct IP and port?  In my case it is \\192.168.0.100:8866

Hope this helps...

Yes, I am - my device is on 192.168.1.60:8866

My other clients can connect.

Link to comment
Share on other sites

groenator

According to my curl the URL emby is trying to open doesn't exist. 

How is this possible?

curl -vv http://192.168.1.60:8866/public/Util/NPVR/Client/Instantiate
*   Trying 192.168.1.60...
* TCP_NODELAY set
* Connected to 192.168.1.60 (192.168.1.60) port 8866 (#0)
> GET /public/Util/NPVR/Client/Instantiate HTTP/1.1
> Host: 192.168.1.60:8866
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Date: Fri, 02 Oct 2020 15:24:53 GMT
< Server: Kestrel
< Content-Length: 0
<
* Connection #0 to host 192.168.1.60 left intact

 

Link to comment
Share on other sites

I'm pretty sure you're using the old NextPVR plugin meant for use with NextPVR v4. There was an updated one for NextPVR v5 and above. 

Edited by sub3
Link to comment
Share on other sites

groenator
1 hour ago, sub3 said:

I'm pretty sure you're using the old NextPVR plugin meant for use with NextPVR v4. There was an updated one for NextPVR v5 and above. 

Yeah! I think I do. Where can I find version 5 to download from? I installed the plugin from emby catalogue.

Link to comment
Share on other sites

groenator
2 hours ago, sub3 said:

I haven't used it myself, but here:

 

Thanks! I found the link, I install it and works well now.

 

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...