spookmeester 2 Posted October 13, 2018 Share Posted October 13, 2018 (edited) Hi, I followed this guide: https://github.com/MediaBrowser/plugin.video.emby/wiki/Emby-Repository The EmbyCon addon does work but I prefer this one because images load a lot faster. The syncing process works perfect and my media is visible in Kodi, but when I want to play something it results in a error. This is what I see in the embyserver.txt log file: 2018-10-13 12:06:42.252 Error HttpServer: Error processing request *** Error Report *** Version: 3.5.3.0 Command line: /opt/emby-server/system/EmbyServer.dll -programdata /var/lib/emby -ffmpeg /opt/emby-server/bin/ffmpeg -ffprobe /opt/emby-server/bin/ffprobe -restartexitcode 3 -updatepackage emby-server-deb_{version}_amd64.deb Operating system: Unix 4.15.0.29 64-Bit OS: True 64-Bit Process: True User Interactive: True Processor count: 8 Program data path: /var/lib/emby Application directory: /opt/emby-server/system System.ArgumentNullException: Value cannot be null. Parameter name: id at Emby.Server.Implementations.Library.UserManager.GetUserById(Guid id) at Emby.Server.MediaEncoding.Api.MediaInfoService.Get(GetPlaybackInfo request) at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) System.ArgumentNullException at Emby.Server.Implementations.Library.UserManager.GetUserById(Guid id) at Emby.Server.MediaEncoding.Api.MediaInfoService.Get(GetPlaybackInfo request) at Emby.Server.Implementations.Services.ServiceExecGeneral.GetTaskResult(Task task) at Emby.Server.Implementations.Services.ServiceHandler.ProcessRequestAsync(HttpListenerHost appHost, IRequest httpReq, IResponse httpRes, ILogger logger, String operationName, CancellationToken cancellationToken) at Emby.Server.Implementations.HttpServer.HttpListenerHost.RequestHandler(IHttpRequest httpReq, String urlString, String host, String localPath, CancellationToken cancellationToken) This is the log file from kodi: 12:27:01.063 T:3869242112 NOTICE: EMBY.downloadutils -> ERROR:: === Bad status response: 404 === 12:27:01.069 T:3869242112 NOTICE: EMBY.downloadutils -> ERROR:: Failed to retrieve the session id: 12:27:15.086 T:3869242112 NOTICE: EMBY.kodimonitor -> Method: Playlist.OnClear Data: {"playlistid":1} 12:27:16.340 T:3374314240 NOTICE: EMBY.default_tvshows -> Parameter string: ?dbid=14&mode=play&id=c5210e295c3c65ea46c5a958e4b74457&filename=series.name.S01E01.title.mkv 12:27:16.685 T:3374314240 NOTICE: EMBY.playbackutils -> Play called c5210e295c3c65ea46c5a958e4b74457: Out of the Past 12:27:16.921 T:3374314240 NOTICE: EMBY.downloadutils -> ERROR:: === Bad status response: 400 === 12:27:16.927 T:3374314240 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<-- - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS! Error Type: <class 'downloadutils.HTTPException'> Traceback (most recent call last): File "/home/osmc/.kodi/addons/plugin.video.emby.tvshows/default.py", line 50, in <module> entrypoint.doPlayback(itemid, dbid) File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/entrypoint.py", line 52, in doPlayback pbutils.PlaybackUtils(item).play(itemId, dbId) File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/playbackutils.py", line 98, in play play_url = putils.PlayUtils(self.item, listitem).get_play_url(force_transcode) File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/playutils.py", line 56, in get_play_url info = self.get_playback_info() File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/playutils.py", line 100, in get_playback_info info = self.emby.get_playback_info(self.item['Id'], self.get_device_profile()) File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/read_embyserver.py", line 671, in get_playback_info 'LiveStreamId': None File "/home/osmc/.kodi/addons/plugin.video.emby/resources/lib/downloadutils.py", line 335, in downloadUrl raise HTTPException(response.status_code) HTTPException -->End of Python script error report<-- 12:27:17.843 T:3374314240 WARNING: CPythonInvoker(8, /home/osmc/.kodi/addons/plugin.video.emby.tvshows/default.py): the python script "/home/osmc/.kodi/addons/plugin.video.emby.tvshows/default.py" has left several classes in memory that we couldn't clean up. The classes include: N9XBMCAddon9xbmcaddon5AddonE 12:27:17.856 T:3869242112 NOTICE: EMBY.userclient -> post capabilities 12:27:17.870 T:4079047248 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.emby.tvshows/8f6fd6355b38ea3bcae06bf5e151e6d7/?dbid=14&mode=play&id=c5210e295c3c65ea46c5a958e4b74457&filename=series.name.S01E01.title.mkv] 12:27:17.956 T:3869242112 NOTICE: EMBY.downloadutils -> ERROR:: === Bad status response: 404 === 12:27:17.973 T:3869242112 NOTICE: EMBY.downloadutils -> ERROR:: Failed to retrieve the session id: 12:27:33.979 T:3869242112 NOTICE: EMBY.userclient -> post capabilities Thanks in advance, Spook Edited October 13, 2018 by spookmeester Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 13, 2018 Share Posted October 13, 2018 What server version are you running? Also is it possible for you to attach the complete logs instead of snippets. Error 400, I'll need more to find out what the issue could be, thank you. Link to comment Share on other sites More sharing options...
spookmeester 2 Posted October 13, 2018 Author Share Posted October 13, 2018 Hi, Emby server version: 3.5.3.0 Ubuntu server: 18.04 I attached a zip file with the logs. Thanks! logs.zip 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 13, 2018 Share Posted October 13, 2018 Hi, Emby server version: 3.5.3.0 Ubuntu server: 18.04 I attached a zip file with the logs. Thanks! Thank you, I will check it out and get back to you on this. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 14, 2018 Share Posted October 14, 2018 @@Luke I'm not certain about this error. The server throws an error when using playbackinfo, saying value cannot be null. What value? And why now? It works for everyone else using the stable add-on. Can you check the server log attached in post #3. Link to comment Share on other sites More sharing options...
Luke 37119 Posted October 14, 2018 Share Posted October 14, 2018 Make sure you're supplying UserId as part of the PlaybackInfo request body. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted October 14, 2018 Share Posted October 14, 2018 (edited) The userid is sent with the request. But maybe there's an issue somewhere that I can't see regarding that value. Seems to fail to post capabilities as well which could also be related. @@spookmeester Can you give Emby for Kodi beta a try to see if this issue persists? I would really appreciate it, as I'm getting closer to release a new stable version, it'd be nice to confirm that everything works for you as well. You can find the beta version in the beta repo or installing the dependencies (v0.13) http://kodi.emby.media/Public%20testing/Dependencies/beta/ And the addon v 3.1.31a http://kodi.emby.media/Public%20testing/ Edited October 14, 2018 by Angelblue05 Link to comment Share on other sites More sharing options...
spookmeester 2 Posted October 14, 2018 Author Share Posted October 14, 2018 @@Angelblue05 I installed the beta and this works perfect, no more errors! Thank you for you fast replies and support! 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now