I think the point we’re saying is that Plex itself does not have a mechanism to do this.
If you want a short clip to repeat, consider doing doubling. Append the file a few times, then create the file. Open this new file, and append itself to itself a few times, then create the file. Open this NEW new file and (etc etc). repeat. This has the effect of appending the file to itself a few hundred times while only having to append it a handful of times.
Come to think of it, you might be able to script this… Do the work of appending a file to itself, but before submitting go to the upper menu and expand the “Multiplexer” option, and click on “Command Line”. This will show the actual command line MKVToolNix uses to run itself. I plopped a file onto itself and this is what it spat out, with hard returns to separate each command:
"C:\Program Files\MKVToolNix\mkvmerge.exe"
--ui-language en
--output ^"PATH_TO_OUTPUT_FILENAME^"
--no-subtitles
--no-chapters
--language 0:en
--display-dimensions 0:1920x1080
--language 1:en
^"^(^" ^"PATH_TO_FILE_1^" ^"^)^"
--no-subtitles
--no-chapters
+ ^"^(^" ^"PATH_TO_FILE_2^" ^"^)^"
--track-order 0:0,0:1
--append-to 1:0:0:0,1:1:0:1
I do not know how the --append-to 1:0:0:0,1:1:0:1 command is parsed, so I do not know how to add more files…
Hmm…
Ok, reading the documentation in section 2.5, if the IDs are not specified, MKVToolNix will append using the matching ID’s using a “Video:Video” and “Audio:Audio” append styling. At this point, it seems to claim you can simply do mkvmerge -o output.mkv part1.mkv +part2.mkv
Since your files are identical, and probably have nothing but the video track. So you could do something like this:
mkvmerge -o output.mkv INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv +INPUT.mkv
Paste +INPUT.mkv as many times as you want. More complex scripts could automate the pasting of “INPUT” based on reading the length of the original file, and multiplying the input file until the overall length of the output file reached a certain pre-specified length.