Server Version#: Version 4.103.2
Player Version#: Various
In the Extras settings, Movie Pre-Roll Video, I want to enter a folder path and have it pick randomly from files in the folder, not limited to a single file.
Example: I have multiple 80s-90s commercials (in files), I want them to play in between TV show episodes (played from files).
What I have now is to commit to just one like this:
E:\Other Videos\Plex Pre-Roll\Plex Preroll-Outrun-1080-20.mp4
What I want to enter in the field is this, and have it pick randomly:
E:\Other Videos\Plex Pre-Roll\
PS- I assumed it already did this, but I couldn’t get it to work. I was surprised through trouble shooting and reading that it has to be just one file?
You’re not limited to just one, but you can’t specify a folder. As the text below the Movie Pre-Roll Video field explains, you can specify multiple complete paths to individual pre-roll videos. If you separate them with commas, Plex will play every specified pre-roll video before the movie. If you separate them with semicolons, Plex will randomly play one of them before the movie.
example:
comma-separated - Plex will play all three in order: C:\prerolls\video1.mkv,C:\prerolls\video2.mkv,C:\prerolls\video3.mkv
semicolon-separated - Plex will randomly play one: C:\prerolls\video1.mkv;C:\prerolls\video2.mkv;C:\prerolls\video3.mkv
This is obviously not ideal. Besides being extremely clunky, there’s a limit to the size of the field, though I don’t recall what the limit is.