Kodi Community Forum
v20 Profiles and Thumbnail/Cached Artwork locations - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228)
+---- Thread: v20 Profiles and Thumbnail/Cached Artwork locations (/showthread.php?tid=369003)



Profiles and Thumbnail/Cached Artwork locations - beeswax - 2022-07-21

Hi, I'm after some clarification on how Kodi handles cached artwork/thumbnails in a multi-profile setup.  In the previous Matrix-based Kodiverse in my house, the Kodi endpoints had 2 profiles (Grownups and Kids).  I don't recall what options I chose when creating the profiles but I ended up with separate thumbnails directories inside each profile.  This was obviously a huge waste of disk space considering everything connects to a central MySQL db so I designated the GrownUps profile as the primary Thumbnails store by using PathSubstitution within the kids profile like so:

xml:
<pathsubstitution>
    <substitute>
        <from>special://masterprofile/profiles/Kids/Thumbnails/</from>
        <to>/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata/profiles/GrownUps/Thumbnails/</to>
    </substitute>
</pathsubstitution>

This worked fine and I considered it a perfectly acceptable solution.  I've now upgraded my main Kodi install which runs the MySQL db to Nexus and taken the opportunity to do a completely clean install of Nexus on one of the Nvidia Shield Pros (2019 version).  This meant I went through the process of creating the GrownUps/Kids profiles again and I think I've unintentionally selected better/correct options when creating the profiles because now, there is no Thumbnails folder in either the GrownUps or Kids profiles, so I assume they both must be using the "master" profile, which is ideal but I just want to understand it so I know how to approach backups, maintenance etc in the future.

Looking at my profiles.xml in Nexus, both profiles have the <hasdatabases> option set to "false", does setting this to false cause the profile to look to the master profile's Thumbnails folder?  The wiki page on Profiles doesn't go as far as explaining this referring only to "Media Info".  This passage I find particularly confusing:
Quote:Media Info: Allows you to have separate information saved for your media, i.e. IMdB, AllMusic, etc

Judging from the way my Nexus setup is handling things, I believe the "Media Info" referred to on the Wiki includes Thumbnails, is that correct?