Jump to content

Problem with mixed content directories?

Recommended Posts


Hello, thanks for Emby and the plugin, it's really great and works brilliantly with Kodi.

I have the usual Movie and TV library set up, but I also have a separate Documentaries library which has a mixed content.  Everytime I boot I see this error appear, which I don't think was there before I had the Documentaries library.


It's not a big deal as I can browse and play the contents of the library, but as an addon dev myself I see this in the log all the time and have finally gotten around to reporting it ;-)




Share this post

Link to post
Share on other sites

Hi, is there an entry in the server log at the same time, like for instance the http server rejecting a request?

Also what addon do you develop?

Share this post

Link to post
Share on other sites

Hey, I develop a popular VPN plugin for LibreELEC, plus I have some stuff I just use personally to help me manage Kodi against my family trying to break it.

Here's the server log https://www.dropbox.com/s/xszxa2x9g226rwj/embyserver.txt?dl=0 it probably covers a number of restarts but one deliberate one at 08:18.  In this example I'm running Emby and Kodi on the same Windows box (, but I get the same problem on my RPi boxes too, connecting to the same Emby server.

I restarted the client to recreate a couple times.  He's the view from the client so you can see the time stamps which are within a few seconds.

2020-08-01 08:18:06.372 T:892  NOTICE: Emby -> ---[ START EMBYCLIENT ]---
2020-08-01 08:18:06.373 T:892  NOTICE: Emby.emby.client -> state cannot be empty
2020-08-01 08:18:06.544 T:892  NOTICE: EMBY.entrypoint.default -> path: ?type=mixed&mode=browse&id=f7b93310b9e773b95c46ee83d72464bc&reload= params: {
                                                "type": "mixed",
                                                "mode": "browse",
                                                "id": "f7b93310b9e773b95c46ee83d72464bc"
2020-08-01 08:18:06.546 T:892  NOTICE: EMBY.entrypoint.default -> --[ v:f7b93310b9e773b95c46ee83d72464bc/mixed ] None
2020-08-01 08:18:06.595 T:9492  NOTICE: ZTools : (service.py) Starting Zomboided Tools service, version is 0.7.2
2020-08-01 08:18:06.595 T:9492  NOTICE: ZTools : (service.py) Kodi build is 18.7 Git:20200520-f14f7a84e3
2020-08-01 08:18:06.624 T:892  NOTICE: EMBY.default -> ERROR:: 'Device name cannot be null'
                                            Traceback (most recent call last):
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\default.py", line 41, in <module>
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint\default.py", line 150, in __init__
                                                browse(params.get('type'), params.get('id'), params.get('folder'), server)
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\entrypoint\default.py", line 391, in browse
                                                view = EMBY['api'].get_item(view_id)
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\api.py", line 138, in get_item
                                                return  self.users("/Items/%s" % item_id)
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\api.py", line 86, in users
                                                return  self._get("Users/{UserId}%s" % handler, params)
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\api.py", line 53, in _get
                                                return  self._http("GET", handler, {'params': params})
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\api.py", line 50, in _http
                                                return  self.client.request(request)
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\http.py", line 86, in request
                                                data = self._request(data)
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\http.py", line 190, in _request
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\http.py", line 228, in _get_header
                                              File "C:\Users\Matt\AppData\Roaming\Kodi\addons\plugin.video.emby\libraries\emby\core\http.py", line 235, in _authorization
                                                raise KeyError("Device name cannot be null")
                                            KeyError: 'Device name cannot be null'
2020-08-01 08:18:06.625 T:892  NOTICE: EMBY.default -> ---<[ default ]
2020-08-01 08:18:06.773 T:9276   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.emby/?type=mixed&mode=browse&id=f7b93310b9e773b95c46ee83d72464bc&reload=


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

  • Create New...