Posts: 19
Joined: Jan 2021
Reputation:
1
benyjr
Junior Member
Posts: 19
I have Kodi 21 installed via flatpack on Ubuntu 24.04. The database is shared with a Kodi 21 install on my Nvidia Shield as per the official Kodi instructions. It's all working well.
I just have one question.
Are the active databases stored here:
/var/lib/mysql
or here:
/home/<user>/.var/app/tv.kodi.Kodi/data/userdata/Database
I absolutely cannot find this answer. There are Kodi databases in both locations.
Posts: 19
Joined: Jan 2021
Reputation:
1
benyjr
Junior Member
Posts: 19
I did follow these instructions for setting up MariaDB with Kodi and it did work perfectly.
I could not find the answer to my question however.
Posts: 905
Joined: Nov 2016
Reputation:
125
wags1
Posting Freak
Posts: 905
2024-05-20, 21:55
(This post was last modified: 2024-05-20, 21:58 by wags1. Edited 1 time in total.)
Not sure I understand exactly what you did. The reason to use an external DB (in this specific MariaDB) is so that you can share your library DB(s) between multiple instances of Kodi. If done correctly you should have your DB(s) shared not duplicated on each device running Kodi. For example in my case I have my DBs on my Synology NAS and all my devices that run Kodi access the library DBs there. They don’t have separate DBs.
Posts: 19
Joined: Jan 2021
Reputation:
1
benyjr
Junior Member
Posts: 19
I agree. Just based on the file revision date, the computer where MariaDB is installed, is using the local database.
Though the shield is still displaying an up to date library without having to force a scan.
It's weird.
Posts: 19
Joined: Jan 2021
Reputation:
1
benyjr
Junior Member
Posts: 19
Yeah,
I think this is what I will do.