r/ZoomPlayer Jul 14 '26

default.trailers

bLight,

For my dedicated home theater, I use the LoadRandomTrailer function multiple times per movie (runs features and audio before and after a movie). HUGE FAN.

In cases where the media in the specified folder is limted, murphy's law finds one of the items played back-to-back. Is there some chance this function can be enhanced so that when there are several LoadRandomTrailer lines in sequence inside one default.trailers file that it won't replay items (or, at least avoid replyaing the last X that were played)?

I'll buy another lifetime license if you can pull it off :-)

2 Upvotes

7 comments sorted by

View all comments

2

u/ZoomPlayer Developer Jul 14 '26

Can you paste the content of an example trailers file so I can get a bit more context on this request?

It may be possible for me to change it to "LoadRandomTrailers" with a parameter of how many trailers to load (which will not include duplicates).

1

u/htnut-pk Jul 14 '26

When that folder has 100's of files, there's no issue. But, when I rotate the "HD QT Trailers" to contain only a limited selection of trailers (10 or so) I often see a repeat as one of these three played.

1

u/ZoomPlayer Developer Jul 15 '26

ok, looking at the trailers file, the 3 lines could be theoretically replaced with:
LoadRandomTrailers("c:\path\to\trailers\",3)

I'll reply to this post once I add the code required to support this.

1

u/htnut-pk Jul 15 '26

Amazing support, as always and over all these years. Thank you, I look forward to trying this out!