I’m been debugging how stacked home videos work but I really don’t understand it all. Stacked videos is when you have multiple parts of the same movie but want Plex to list and play the multiple files as one file.
File name convention
I am using the name convention: identical file names except for the ending “- pt1, pt2, etc”. This works for both files residing in a big main directory and if the files are placed in a sub-directory containing all parts.
Meta-data title
If you place your agent Local Media Assets first, Plex will use the meta-data Title when naming the files. I’ve used this since I want colon (
in the titles.
This has worked for mp4 files (the title can be edited using Properties=>Details in File Explorer.
I have also changed the meta-data Title for mkv files but then I use mkvpropedit.exe, example:
mkvpropedit.exe "my testfile.mkv" -e info -s title="The meta-data title"
The meta-data Title needs to follow the same name conventions as the file names, i.e. same name except for the pt1/pt2/pt3/etc suffix.
Results
The naming convention is required to get this to work but some of my files works and other don’t. If I start from scratch the result might be different, meaning that some of the files that didn’t work last time now works, while other that worked last time doesn’t work know.
I can even have to libraries setup for the same physical directory and with the same settings, but they manage to stack different files.
Agents and Scanners
I’ve tried toggling with:
Settings=>Server=>Agents
and found that:
Movies=>Personal Media
works best when Local Media Assets are placed first.
Library Type
The library type that works best is Other Videos with the scanner set to Plex Video Files Scanner and the agent set to Personal Media.
Conclusion / Database content
Since different files work different times I am pretty sure the problem lies in Plex and I would very much look inside its database. But I don’t know what type it is or how to connect to it and view/manipulate its data. I found old links (from 2010) mentioning a tool named PlexDb-editor (and the db type was also mentioned) but this tool does not exist anymore.
Does an equivalent tool exists today? If not, does someone know which db engine Plex uses and can tip me of a tool I can use to connect to the database? Is there a description of the database anywhere? I have not managed to find any.
Any other findings regarding stacked home videos is much appreciated.
Thanks,
Jonas

