I just found the pre-roll feature. Kind of cool. But to me, the value is in randomizing among several (even dozens) of clips. Seeing the same thing over and over will get old quick.
But having to type out /my/path/to/preroll/this_one.mp4;/my/path/to/preroll/another_one.mp4 (etc etc etc) also gets old quick!
I think it would be WORLDS better to just specify, for example, “/my/path/to/prerolls”
I was just searching before suggesting the same thing. The pre-roll feature is great. I love it. But I have a couple of dozen video files that Plex chooses from and smashing all of the paths into one text field kinda sucks. Especially if I have to edit. Copy/Paste to a text editor, find where I need to make a change and do it, copy paste back into the text field. It would be so much better if all we needed to do was select a folder and tell Plex to either select a video from it randomly, play all in sequence, or play the next file. Just dump all the video files into that folder and let it rip each time you start a movie. Nice, clean and simple.
Find the folder which has all your pre-rolls in it
Right-click on this folder and select Open in PowerShell (in Windows 11 this might be Open in Terminal)
In the window that opens, it should say something like “PS C:\Users\Birdy\Videos\Pre-Rolls> |”, type in (or copy & paste) (Get-ChildItem .\* -include ('*.mkv', '*.mp4') | select -ExpandProperty FullName) -join ';' *
Press Enter
You should now see the files names of all your pre-roll videos on the screen, use your mouse to select all of the text displayed (but not the last line which starts with "PS C:")
Right-click your mouse - nothing will appear, but it’s now copied the text you selected to your clipboard (if a menu does appear, select Copy)
Navigate in Plex to the Movie pre-roll video setting
Paste (Ctrl+V) the text into the box
Click Save Changes
Hope that helps
* This command assumes that all your pre-roll videos are either .mkv or .mp4 files, if they are not, then change the extensions to whatever matches your files (e.g. .avi), you can also add as many as you need in the brackets.