Jump to content
Sign in to follow this  
gottafixthat

ANSWERED Not Found Exception getting recordings

Recommended Posts

gottafixthat

I'm trying to get NextPVR working for a unified PVR between Emby and Kodi, but running into some issues getting Emby to connect to NextPVR.

 

For starters, I have disabled the built in Emby Live TV settings by removing all TV Sources, then installing the NextPVR plugin, v3.3.3.0.  Emby is at v4.3.0.30.

 

I have Emby running on a Synology DS1818+, and NextPVR is also running on the Synology as a Docker container with host networking, so it's all on the same IP, 192.168.86.2.  I can access NextPVR from a browser and on Kodi 18.5 running on a Shield.

 

Trying the most basic things first, I went into the "Next Pvr Recordings" section and it comes up empty. There is at least one recording, visible from the NextPVR web interface and Kodi.

 

Looking at the logs, it appears there is an exception being thrown by Emby saying it can't connect to NextPVR:

2019-12-07 19:46:25.600 Info App: [NextPvr] Start GetTimer Async, retrieve the 'Pending' recordings
2019-12-07 19:46:25.600 Info App: [NextPvr] Start InitiateSession
2019-12-07 19:46:25.600 Info HttpClient: GET http://192.168.86.2:8866/public/Util/NPVR/Client/Instantiate
2019-12-07 19:46:25.602 Info HttpServer: HTTP Response 200 to 192.168.86.117. Time: 21ms. http://192.168.86.2:8096/emby/Users/d535b9c22a1f4e07b32989b2b1ca1b5d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=63e31d811dd150914d17126747e936aa
2019-12-07 19:46:25.603 Info HttpServer: HTTP Response 200 to 192.168.86.117. Time: 18ms. http://192.168.86.2:8096/emby/Users/d535b9c22a1f4e07b32989b2b1ca1b5d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=ef1a83be1963fd6974bc6e5901eb87c5
2019-12-07 19:46:25.606 Error LiveTvManager: Error getting timers
	*** Error Report ***
	Version: 4.3.0.30
	Command line: /volume1/@appstore/EmbyServer/releases/4.3.0.30/EmbyServer.dll -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121
	Operating system: Unix 3.10.105.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/netcore/2.2.1/runtime/System.Private.CoreLib.dll
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/4.3.0.30
	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.GetTimersAsync(CancellationToken cancellationToken)
	   at Emby.LiveTV.LiveTvManager.<>c__DisplayClass81_0.<<GetTimersInternal>b__0>d.MoveNext()
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2019-12-07 19:46:25.607 Info App: [NextPvr] Start GetSeriesTimer Async, retrieve the recurring recordings
2019-12-07 19:46:25.607 Info App: [NextPvr] Start InitiateSession
2019-12-07 19:46:25.607 Info HttpClient: GET http://192.168.86.2:8866/public/Util/NPVR/Client/Instantiate
2019-12-07 19:46:25.613 Error LiveTvManager: Error getting recordings
	*** Error Report ***
	Version: 4.3.0.30
	Command line: /volume1/@appstore/EmbyServer/releases/4.3.0.30/EmbyServer.dll -package synology -programdata /var/packages/EmbyServer/target/var -ffmpeg /var/packages/EmbyServer/target/ffmpeg/bin/ffmpeg -ffprobe /var/packages/EmbyServer/target/ffmpeg/bin/ffprobe -ffdetect /var/packages/EmbyServer/target/ffmpeg/bin/ffdetect -restartexitcode 121
	Operating system: Unix 3.10.105.0
	64-Bit OS: True
	64-Bit Process: True
	User Interactive: True
	Runtime: file:///volume1/@appstore/EmbyServer/3rdparty/netcore/2.2.1/runtime/System.Private.CoreLib.dll
	Processor count: 4
	Program data path: /var/packages/EmbyServer/target/var
	Application directory: /volume1/@appstore/EmbyServer/releases/4.3.0.30
	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.GetSeriesTimersAsync(CancellationToken cancellationToken)
	   at Emby.LiveTV.LiveTvManager.<>c__DisplayClass87_0.<<GetSeriesTimersInternal>b__0>d.MoveNext()
	Source: Emby.Server.Implementations
	TargetSite: Void MoveNext()
	
2019-12-07 19:46:25.615 Info HttpServer: HTTP Response 200 to 192.168.86.117. Time: 37ms. http://192.168.86.2:8096/emby/LiveTv/Programs/Recommended?userId=d535b9c22a1f4e07b32989b2b1ca1b5d&IsAiring=true&limit=24&ImageTypeLimit=1&EnableImageTypes=Primary%2CThumb%2CBackdrop&EnableTotalRecordCount=false&Fields=ChannelInfo%2CPrimaryImageAspectRatio
2019-12-07 19:46:25.665 Info HttpServer: HTTP Response 200 to 192.168.86.117. Time: 339ms. http://192.168.86.2:8096/emby/Users/d535b9c22a1f4e07b32989b2b1ca1b5d/Items/Latest?Limit=16&Fields=PrimaryImageAspectRatio%2CBasicSyncInfo%2CProductionYear%2CStatus%2CEndDate&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CThumb&ParentId=767bffe4f11c93ef34b805451a696a4e
2019-12-07 19:46:25.872 Info HttpServer: HTTP Response 200 to 192.168.86.117. Time: 547ms. http://192.168.86.2:8096/emby/Shows/NextUp?Limit=24&Fields=PrimaryImageAspectRatio%2CSeriesInfo%2CDateCreated%2CBasicSyncInfo&UserId=d535b9c22a1f4e07b32989b2b1ca1b5d&ImageTypeLimit=1&EnableImageTypes=Primary%2CBackdrop%2CBanner%2CThumb&EnableTotalRecordCount=false

Anyone have any suggestions?  I've tried http://localhost:8866 as well as http://127.0.0.1:8866 and the IP address it's running on, http://192.168.86.2:8866 .  As I mentioned, Emby is also running on the same Synology NAS, so I'm wondering if it's something with everything running there.

 

Anyone have any suggestions?  I'd love to have the same recordings on Kodi as I have on Emby.

 

The only reason I use Kodi anymore, though is because it has a "real" fast forward and rewind and not the skip ahead and back that is in Emby.  Having Emby as the central storage though is great.

 

Share this post


Link to post
Share on other sites
Luke

Hi, what version of next pvr?

Share this post


Link to post
Share on other sites
emveepee

Given this statement "the same Synology NAS" that implies you are using v5.  The "official" plugin is only for v4 but I have released a beta version that is for v5 compatible here https://emby.media/community/index.php?/topic/74439-nextpvr-v5-emby-plugin/

 

As a bonus  it is much faster and more efficient then the v4 plugin.

 

There is one minor change I haven't posted but note the only reason it is beta and not production is I am not satisfied with the quality of the series support in Emby for TV Plugins in general.  There are a few annoying usability issues that aren't getting attention  and I don't want NextPVR or the addon to be blamed for Emby weaknesses. 

 

Martin

Edited by emveepee
  • Like 1

Share this post


Link to post
Share on other sites
gottafixthat

Thanks.  It is v5 of NextPVR that I'm running on the Synology NAS.

 

I manually installed the the beta plugin v3.5.3.0 and that seems to be working now.

 

I get Guide data, Live TV and Recorded programs now.  All seem to be working well.

 

Thanks for your help.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...