I’ve poked through the Sqlite database and I’m sure I’m just missing this. I want to create a script to automate the creation of softlinks into another directory so I can create multiple libraries. (My Mom has cancer and her ability to navigate the filter function of Plex has passed, and she wants only to watch John Wayne movies, for instance.)
I see the section_locations table which has the root_path, library_sections with the name of the sections, and directories which has the path and parent_directory_id (self referencing id to directories). I cannot find where the directories are linked to a section_location. Does anyone happen to know this?
I found all the rest of the data I need in the various metadata tables.
Thank you in advance.