Jump to content

Plugin crashing on Kodi start


naf623
Go to solution Solved by naf623,

Recommended Posts

I'm getting "Emby error" every time I start up Kodi on my R-Pi.

01:00:05   5.587644 T:1967284224  NOTICE: special://profile/ is mapped to: special://masterprofile/
01:00:05   5.587766 T:1967284224  NOTICE: -----------------------------------------------------------------------
01:00:05   5.587808 T:1967284224  NOTICE: Starting Kodi (15.2 Git:02e7013). Platform: Linux ARM 32-bit
01:00:05   5.587842 T:1967284224  NOTICE: Using Release Kodi x32 build (version for Raspberry Pi)
01:00:05   5.587880 T:1967284224  NOTICE: Kodi compiled Mar  1 2016 by GCC 4.9.3 for Linux ARM 32-bit version 4.1.18 (262418)
01:00:05   5.588100 T:1967284224  NOTICE: Running on OpenELEC (official) - Version: 6.0.3, kernel: Linux ARM 32-bit version 4.1.18
01:00:05   5.588133 T:1967284224  NOTICE: FFmpeg version: 2.6.4
01:00:05   5.588162 T:1967284224  NOTICE: WARNING: unsupported ffmpeg version detected
01:00:05   5.588194 T:1967284224  NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
01:00:05   5.588222 T:1967284224  NOTICE: ARM Features: Neon enabled
01:00:05   5.588252 T:1967284224  NOTICE: special://xbmc/ is mapped to: /usr/share/kodi
01:00:05   5.588285 T:1967284224  NOTICE: special://xbmcbin/ is mapped to: /usr/lib/kodi
01:00:05   5.588315 T:1967284224  NOTICE: special://masterprofile/ is mapped to: /storage/.kodi/userdata
01:00:05   5.588345 T:1967284224  NOTICE: special://home/ is mapped to: /storage/.kodi
01:00:05   5.588374 T:1967284224  NOTICE: special://temp/ is mapped to: /storage/.kodi/temp
01:00:05   5.588462 T:1967284224  NOTICE: The executable running is: /usr/lib/kodi/kodi.bin
01:00:05   5.588520 T:1967284224  NOTICE: Local hostname: bedroompi
01:00:05   5.588551 T:1967284224  NOTICE: Log File is located: /storage/.kodi/temp/kodi.log
01:00:05   5.591869 T:1967284224  NOTICE: -----------------------------------------------------------------------
09:33:47   5.769395 T:1967284224   ERROR: DBus: Error org.freedesktop.DBus.Error.ServiceUnknown - The name org.freedesktop.UPower was not provided by any .service files
09:33:47   5.775923 T:1967284224  NOTICE: load settings...
09:33:47   5.838463 T:1967268928  NOTICE: Thread FDEventMonitor start, auto delete: false
09:33:47   5.866399 T:1967284224  NOTICE: Found 1 Lists of Devices
09:33:47   5.866484 T:1967284224  NOTICE: Enumerated PI devices:
09:33:47   5.866514 T:1967284224  NOTICE:     Device 1
09:33:47   5.866930 T:1967284224  NOTICE:         m_deviceName      : HDMI
09:33:47   5.866968 T:1967284224  NOTICE:         m_displayName     : HDMI
09:33:47   5.866998 T:1967284224  NOTICE:         m_displayNameExtra:
09:33:47   5.867028 T:1967284224  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
09:33:47   5.867057 T:1967284224  NOTICE:         m_channels        : FL,FR
09:33:47   5.867088 T:1967284224  NOTICE:         m_sampleRates     : 8000,11025,16000,22050,24000,32000,44100,48000,88200,96000,176400,192000
09:33:47   5.867119 T:1967284224  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP,AE_FMT_AC3,AE_FMT_DTS,AE_FMT_EAC3
09:33:47   5.867167 T:1967284224  NOTICE:     Device 2
09:33:47   5.867232 T:1967284224  NOTICE:         m_deviceName      : Analogue
09:33:47   5.867262 T:1967284224  NOTICE:         m_displayName     : Analogue
09:33:47   5.867291 T:1967284224  NOTICE:         m_displayNameExtra:
09:33:47   5.867321 T:1967284224  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
09:33:47   5.867349 T:1967284224  NOTICE:         m_channels        : FL,FR
09:33:47   5.867378 T:1967284224  NOTICE:         m_sampleRates     : 48000
09:33:47   5.867407 T:1967284224  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
09:33:47   5.867437 T:1967284224  NOTICE:     Device 3
09:33:47   5.867491 T:1967284224  NOTICE:         m_deviceName      : Both
09:33:47   5.867521 T:1967284224  NOTICE:         m_displayName     : HDMI and Analogue
09:33:47   5.867549 T:1967284224  NOTICE:         m_displayNameExtra:
09:33:47   5.867578 T:1967284224  NOTICE:         m_deviceType      : AE_DEVTYPE_PCM
09:33:47   5.867626 T:1967284224  NOTICE:         m_channels        : FL,FR
09:33:47   5.867656 T:1967284224  NOTICE:         m_sampleRates     : 48000
09:33:47   5.867686 T:1967284224  NOTICE:         m_dataFormats     : AE_FMT_FLOAT,AE_FMT_S32LE,AE_FMT_S16LE,AE_FMT_FLOATP,AE_FMT_S32NEP,AE_FMT_S16NEP
09:33:47   5.889799 T:1967284224  NOTICE: Loaded settings file from special://xbmc/system/advancedsettings.xml
09:33:47   5.890068 T:1967284224  NOTICE: Contents of special://xbmc/system/advancedsettings.xml are...
                                            <?xml version="1.0" encoding="UTF-8" ?>
                                            <advancedsettings>
                                              <showexitbutton>false</showexitbutton>
                                              <fanartres>720</fanartres>
                                              <imageres>540</imageres>
                                              <video>
                                                <busydialogdelayms>750</busydialogdelayms>
                                              </video>
                                              <samba>
                                                <clienttimeout>30</clienttimeout>
                                              </samba>
                                              <network>
                                                <readbufferfactor>4.0</readbufferfactor>
                                              </network>
                                            </advancedsettings>
09:33:47   5.891428 T:1967284224  NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
09:33:47   5.891465 T:1967284224  NOTICE: Default DVD Player: dvdplayer
09:33:47   5.891494 T:1967284224  NOTICE: Default Video Player: dvdplayer
09:33:47   5.891522 T:1967284224  NOTICE: Default Audio Player: paplayer
09:33:47   5.891558 T:1967284224  NOTICE: Disabled debug logging due to GUI setting. Level 0.
09:33:47   5.891587 T:1967284224  NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
09:33:47   5.891747 T:1967284224  NOTICE: CMediaSourceSettings: loading media sources from special://masterprofile/sources.xml
09:33:47   5.894839 T:1967284224  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
09:33:47   5.896185 T:1967284224  NOTICE: Loaded playercorefactory configuration
09:33:47   5.896416 T:1967284224  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
09:33:47   5.896546 T:1967284224  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
09:33:47   5.947585 T:1957688384  NOTICE: Thread ActiveAE start, auto delete: false
09:33:47   5.947827 T:1947202624  NOTICE: Thread AESink start, auto delete: false
09:33:47   5.953947 T:1886385216  NOTICE: Thread CRBPWorker start, auto delete: false
09:33:47   6.048682 T:1967284224  NOTICE: Running database version Addons19
09:33:47   6.291003 T:1967284224  NOTICE: ADDONS: Using repository repository.xbmc.org
09:33:47   6.291093 T:1967284224  NOTICE: ADDONS: Using repository repository.emby.kodi
09:33:47   6.291133 T:1967284224  NOTICE: ADDONS: Using repository repository.openelec.tv
09:33:47   6.291310 T:1875899456  NOTICE: Thread RemoteControl start, auto delete: false
09:33:47   6.329418 T:1967284224  NOTICE: Raspberry PI firmware version: Feb 19 2016 19:53:38 
                                            Copyright (c) 2012 Broadcom
                                            version 573126451d3fb80e6de5ffb7d1fa117d814417b8 (clean) (release)
09:33:47   6.329510 T:1967284224  NOTICE: ARM mem: 752MB GPU mem: 256MB MPG2:0 WVC1:0
09:33:47   6.329542 T:1967284224  NOTICE: cacheMemBufferSize: 20MB
09:33:47   6.329813 T:1967284224  NOTICE: Config:
                                            arm_freq=1200
                                            audio_pwm_mode=1
                                            audio_sdm_mod_order=2
                                            config_hdmi_boost=5
                                            core_freq=400
                                            desired_osc_freq=0x387520
                                            disable_commandline_tags=2
                                            disable_l2cache=1
                                            emmc_pll_core=1
                                            force_eeprom_read=1
                                            force_pwm_open=1
                                            framebuffer_ignore_alpha=1
                                            framebuffer_swap=1
                                            gpu_freq=300
                                            hdmi_channel_map=8
                                            hdmi_force_cec_address=65535
                                            hdmi_ignore_cec_init=1
                                            init_uart_clock=0x2dc6c00
                                            lcd_framerate=60
                                            over_voltage_avs=0x1cfde
                                            overscan_bottom=48
                                            overscan_left=48
                                            overscan_right=48
                                            overscan_top=48
                                            pause_burst_frames=1
                                            program_serial_random=1
                                            sdram_freq=450
                                            temp_limit=85
09:33:47   6.329947 T:1967284224  NOTICE: Config:
                                            device_tree=-
09:33:47   6.330052 T:1967284224  NOTICE: InitWindowSystem: Using EGL Implementation: raspberrypi
09:33:47   6.331677 T:1967284224  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 60.000000 Hz
09:33:47   6.331729 T:1967284224  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 59.940063 Hz
09:33:47   6.331766 T:1967284224  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 60.000000 Hz
09:33:47   6.331808 T:1967284224  NOTICE: Found resolution 720 x 480 for display 0 with 720 x 480 @ 59.940063 Hz
09:33:47   6.331844 T:1967284224  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 60.000000 Hz
09:33:47   6.331881 T:1967284224  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 59.940063 Hz
09:33:47   6.331915 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 60.000000 Hz
09:33:47   6.331951 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 59.940063 Hz
09:33:47   6.331986 T:1967284224  NOTICE: Found resolution 720 x 576 for display 0 with 720 x 576 @ 50.000000 Hz
09:33:47   6.332021 T:1967284224  NOTICE: Found resolution 1280 x 720 for display 0 with 1280 x 720 @ 50.000000 Hz
09:33:47   6.332056 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 50.000000 Hz
09:33:47   6.332091 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 24.000000 Hz
09:33:47   6.332129 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 23.976025 Hz
09:33:47   6.332164 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 25.000000 Hz
09:33:47   6.332200 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 30.000000 Hz
09:33:47   6.332235 T:1967284224  NOTICE: Found resolution 1920 x 1080 for display 0 with 1920 x 1080 @ 29.970032 Hz
09:33:47   6.332270 T:1967284224  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 72.000000 Hz
09:33:47   6.332306 T:1967284224  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 71.928070 Hz
09:33:47   6.332356 T:1967284224  NOTICE: Found resolution 640 x 480 for display 0 with 640 x 480 @ 75.000000 Hz
09:33:47   6.332392 T:1967284224  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 60.000000 Hz
09:33:47   6.332428 T:1967284224  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 59.940063 Hz
09:33:47   6.332478 T:1967284224  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 72.000000 Hz
09:33:47   6.332514 T:1967284224  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 71.928070 Hz
09:33:47   6.332549 T:1967284224  NOTICE: Found resolution 800 x 600 for display 0 with 800 x 600 @ 75.000000 Hz
09:33:47   6.332584 T:1967284224  NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 60.000000 Hz
09:33:47   6.332620 T:1967284224  NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 59.940063 Hz
09:33:47   6.332654 T:1967284224  NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 70.000000 Hz
09:33:47   6.332690 T:1967284224  NOTICE: Found resolution 1024 x 768 for display 0 with 1024 x 768 @ 75.000000 Hz
09:33:47   6.332725 T:1967284224  NOTICE: Found resolution 1152 x 864 for display 0 with 1152 x 864 @ 75.000000 Hz
09:33:47   6.332759 T:1967284224  NOTICE: Found resolution 1280 x 800 for display 0 with 1280 x 800 @ 60.000000 Hz
09:33:47   6.332796 T:1967284224  NOTICE: Found resolution 1280 x 800 for display 0 with 1280 x 800 @ 59.940063 Hz
09:33:47   6.332831 T:1967284224  NOTICE: Found resolution 1280 x 1024 for display 0 with 1280 x 1024 @ 60.000000 Hz
09:33:47   6.332866 T:1967284224  NOTICE: Found resolution 1280 x 1024 for display 0 with 1280 x 1024 @ 59.940063 Hz
09:33:47   6.332901 T:1967284224  NOTICE: Found resolution 1280 x 1024 for display 0 with 1280 x 1024 @ 75.000000 Hz
09:33:47   6.332935 T:1967284224  NOTICE: Found resolution 1440 x 900 for display 0 with 1440 x 900 @ 60.000000 Hz
09:33:47   6.332970 T:1967284224  NOTICE: Found resolution 1440 x 900 for display 0 with 1440 x 900 @ 59.940063 Hz
09:33:47   6.333004 T:1967284224  NOTICE: Found resolution 1680 x 1050 for display 0 with 1680 x 1050 @ 60.000000 Hz
09:33:47   6.333039 T:1967284224  NOTICE: Found resolution 1680 x 1050 for display 0 with 1680 x 1050 @ 59.940063 Hz
09:33:47   6.333074 T:1967284224  NOTICE: Found resolution 1366 x 768 for display 0 with 1366 x 768 @ 60.000000 Hz
09:33:47   6.333111 T:1967284224  NOTICE: Found resolution 1366 x 768 for display 0 with 1366 x 768 @ 59.940063 Hz
09:33:47   6.333146 T:1967284224  NOTICE: Found resolution 1600 x 900 for display 0 with 1600 x 900 @ 60.000000 Hz
09:33:47   6.333181 T:1967284224  NOTICE: Found resolution 1600 x 900 for display 0 with 1600 x 900 @ 59.940063 Hz
09:33:47   6.333214 T:1967284224  NOTICE: Found (1920x1080@60.000000) at 22, setting to RES_DESKTOP at 16
09:33:47   6.333580 T:1967284224  NOTICE: Checking resolution 23
09:33:47   6.441315 T:1967284224  NOTICE: GL_VENDOR = Broadcom
09:33:47   6.441397 T:1967284224  NOTICE: GL_RENDERER = VideoCore IV HW
09:33:47   6.441429 T:1967284224  NOTICE: GL_VERSION = OpenGL ES 2.0
09:33:47   6.441459 T:1967284224  NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 1.00
09:33:47   6.441504 T:1967284224  NOTICE: GL_EXTENSIONS = GL_OES_compressed_ETC1_RGB8_texture GL_OES_compressed_paletted_texture GL_OES_texture_npot GL_OES_depth24 GL_OES_vertex_half_float GL_OES_EGL_image GL_OES_EGL_image_external GL_EXT_discard_framebuffer GL_OES_rgb8_rgba8 GL_OES_depth32 GL_OES_mapbuffer GL_EXT_texture_format_BGRA8888 GL_APPLE_rgb_422 GL_EXT_debug_marker
09:33:48   7.130427 T:1967284224  NOTICE: Register - new cec device registered on cec->RPI: CEC Adapter (2708:1001)
09:33:48   7.130547 T:1856586816  NOTICE: Thread CECAdapter start, auto delete: false
09:33:48   7.152170 T:1831420992  NOTICE: Thread PeripBusUSBUdev start, auto delete: false
09:33:48   7.172043 T:1967284224  NOTICE: Running database version Addons19
09:33:48   7.177188 T:1967284224  NOTICE: Running database version ViewModes6
09:33:48   7.472385 T:1967284224  NOTICE: Running database version Textures13
09:33:49   8.458651 T:1800541248  NOTICE: Thread CECAdapterUpdate start, auto delete: false
09:33:50   8.584327 T:1967284224  NOTICE: Running database version MyMusic52
09:33:52  11.141524 T:1967284224  NOTICE: Running database version MyVideos93
09:33:52  11.156891 T:1967284224  NOTICE: Running database version TV29
09:33:52  11.162862 T:1967284224  NOTICE: Running database version Epg10
09:33:52  11.163105 T:1967284224  NOTICE: start dvd mediatype detection
09:33:52  11.163293 T:1822667840  NOTICE: Thread DetectDVDMedia start, auto delete: false
09:33:53  12.081058 T:1967284224 WARNING: JSONRPC: Could not parse type "PVR.Details.Channel"
09:33:53  12.081478 T:1967284224 WARNING: JSONRPC: Could not parse type "PVR.Details.ChannelGroup.Extended"
09:33:53  12.095721 T:1967284224 WARNING: JSONRPC: Could not parse type "GUI.Property.Value"
09:33:53  12.102287 T:1967284224 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
09:33:53  12.168386 T:1822069824  NOTICE: Thread LanguageInvoker start, auto delete: false
09:33:53  12.176013 T:1967284224  NOTICE: Previous line repeats 1 times.
09:33:53  12.176128 T:1967284224  NOTICE: initialize done
09:33:53  12.176167 T:1967284224  NOTICE: Running the application...
09:33:53  12.418596 T:1813681216  NOTICE: -->Python Interpreter Initialized<--
09:33:54  12.550162 T:1792152640  NOTICE: Previous line repeats 1 times.
09:33:54  12.550313 T:1792152640  NOTICE: Thread JobWorker start, auto delete: true
09:33:54  12.648234 T:1967284224  NOTICE: starting zeroconf publishing
09:33:54  12.648472 T:1967284224  NOTICE: Webserver: Starting...
09:33:54  12.649112 T:1967284224  NOTICE: WebServer: Started the webserver
09:33:54  12.649247 T:1967284224  NOTICE: starting upnp client
09:33:54  12.652386 T:1774187584  NOTICE: Thread JobWorker start, auto delete: true
09:33:54  12.654224 T:1967284224  NOTICE: ES: Starting event server
09:33:54  12.654968 T:1587852352  NOTICE: Thread JobWorker start, auto delete: true
09:33:54  12.656875 T:1596240960  NOTICE: Thread TCPServer start, auto delete: false
09:33:54  12.660589 T:1604629568  NOTICE: Thread EventServer start, auto delete: false
09:33:54  12.661052 T:1604629568  NOTICE: ES: Starting UDP Event server on 0.0.0.0:9777
09:33:54  12.661287 T:1604629568  NOTICE: UDP: Listening on port 9777
09:33:54  12.665223 T:1554297920  NOTICE: Thread JobWorker start, auto delete: true
09:33:54  12.899353 T:1813681216  NOTICE: ## OpenELEC Addon ## 0.6.12
09:33:56  14.843403 T:1822069824   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.ImportError'>
                                            Error Contents: No module named mutagen.flac
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby/service.py", line 29, in <module>
                                                import kodimonitor
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/kodimonitor.py", line 234, in <module>
                                                import clientinfo
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/itemtypes.py", line 21, in <module>
                                                import musicutils
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/musicutils.py", line 12, in <module>
                                            ImportError: No module named mutagen.flac
                                            -->End of Python script error report<--

Link to comment
Share on other sites

Reinstalled the add-on, started getting library sync errors.

Reset the local database, got Emby Errors.

Now I keep getting library sync thread exited.

 

I see "database disk image is malformed". Can I fix that, or do I need to do a full reset or reimage?

11:28:04  36.020657 T:1756984384  NOTICE: EMBY.librarysync -> ERROR:: database disk image is malformed
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 901, in run
                                                self.run_internal()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 972, in run_internal
                                                librarySync = self.startSync()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 95, in startSync
                                                completed = ManualSync().sync()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 1026, in sync
                                                return self.fullSync(manualrun=True)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 257, in fullSync
                                                completed = process[itemtype](embycursor, kodicursor, pDialog)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 1041, in movies
                                                all_kodimovies = dict(emby_db.getChecksum('Movie'))
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/embydb_functions.py", line 203, in getChecksum
                                                return self.embycursor.fetchall()
                                            DatabaseError: database disk image is malformed
11:28:04  36.022835 T:1756984384   ERROR: Exception in thread Thread-14:
                                            Traceback (most recent call last):
                                              File "/home/stephan/projects/openelec-6.0/build.OpenELEC-RPi2.arm-6.0.3/Python-2.7.3/.install_pkg/usr/lib/python2.7/threading.py", line 551, in __bootstrap_inner
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 901, in run
                                                self.run_internal()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 972, in run_internal
                                                librarySync = self.startSync()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 95, in startSync
                                                completed = ManualSync().sync()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 1026, in sync
                                                return self.fullSync(manualrun=True)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 257, in fullSync
                                                completed = process[itemtype](embycursor, kodicursor, pDialog)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 1041, in movies
                                                all_kodimovies = dict(emby_db.getChecksum('Movie'))
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/embydb_functions.py", line 203, in getChecksum
                                                return self.embycursor.fetchall()
                                            DatabaseError: database disk image is malformed
Link to comment
Share on other sites

  • Solution

I've replaced the library folders with ones from a different, working system. Its doing a manual sync now, seems to be working again...

  • Like 1
Link to comment
Share on other sites

Angelblue05

The emby database got corrupted somehow. To fix this in the future, you'll need to go into the Kodi profile folder and delete the emby database and myvideosxx (and mymusicxx if you have music enabled). This should do the trick. Otherwise, using a backup works too.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...