I have a weird issue during the movie database import when using Emby for Kodi.
Background: I am currently in the process of creating a media center using a Raspberry Pi 4 and Kodi. To access my Library on the Pi, I use the Emby for Kodi plugin.
Kodi version: 18.6-1 from https://archlinuxarm...rmv7h/kodi-rbp4
Emby for Kodi version: 4.1.19, obtained from the stable repository here: https://kodi.emby.tv/
Problem: The SQLite3 write-ahead log (WAL) of the Kodi database file MyVideos116.db grows excessively in size during the movie database import.
I have about 400 movies (ripped from my DVD collection).
Right now, the import is 10% done, the database has a size of about 13MiB (that’s ok) and the related WAL (MyVideos116.db-wal) has a size of ~ 5.9GiB (not ok). I suspect that the WAL will take about 60GiB of hard disk space when the process finishes. Each individual movie takes about 30 seconds to import and adds ~ 100MiB to the WAL file size.
Contrary, the tv series import was really fast and worked well, taking about some milliseconds per episode. Everything was fine with series episodes.
Monitoring the database over SSH, import ~13% done:
Kodi_database.png 77.74KB 2 downloads