Jump to content

Emby for Kodi - fullsync error


barzog

Recommended Posts

I use latest Emby for Kodi on latest CoreElec. After configuration during fullsync I get this error in kodi.log:

2020-09-22 23:12:01.100 T:3506946944  NOTICE: EMBY.sync -> --<[ fullsync ]
2020-09-22 23:12:01.108 T:3506946944  NOTICE: EMBY.library -> ERROR:: 'NoneType' object has no attribute 'makeelement'
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 497, in startup
                                                self.sync_libraries()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/library.py", line 449, in sync_libraries
                                                sync.libraries(forced=forced)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/sync.py", line 120, in libraries
                                                xmls.sources()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/helper/xmls.py", line 54, in sources
                                                source = etree.SubElement(video, 'source')
                                              File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 530, in SubElement
                                            AttributeError: 'NoneType' object has no attribute 'makeelement'
2020-09-22 23:12:01.116 T:3506946944  NOTICE: EMBY.helper.utils -> exiiiiitttinggg
2020-09-22 23:12:01.120 T:3506946944  NOTICE: EMBY.library -> ---<[ library ]

As a result - no data is synced, on each kodi restart I've receive pop-up "Resume sync" which gives me same error.

Errors 

2020-09-22 23:11:47.455 T:3595559808   ERROR: CAddon[plugin.video.emby]: failed to load addon settings from special://profile/addon_data/plugin.video.emby/settings.xml

appear after initial configuration and kodi restart. If I delete plugin.video.emby/setting.xml file, after plugin configuration there is no such errors (but fullsync error sare present), after kodi restart - I get 2 types of error

Same config on Emby for Kodi on Windows with same Emby server works perfectly.

Kodi log with Emby for Kodi log level=debug attached.

 

kodi.log

Link to comment
Share on other sites

quickmic

Thanks, for some reason, the "video" section is missing, and I guess this causes the problem.

Have a look at mine:

 

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<sources>
  <video>
    <default pathversion="1" />
    <source>
      <name>Emby</name>
      <path pathversion="1">smb://</path>
      <allowsharing>true</allowsharing>
    </source>
    <source>
      <name>Emby</name>
      <path pathversion="1">http://</path>
      <allowsharing>true</allowsharing>
    </source>
  </video>
  <files>
    <default pathversion="1" />
    <source>
      <name>kodi.emby.media</name>
      <path pathversion="1">http://kodi.emby.media</path>
      <allowsharing>true</allowsharing>
    </source>
  </files>
</sources>

 

Can you please add the video section, or replace the whole content.

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...