srobo / srcomp-mixtape

A service which plays tracks throughout a competition.
0 stars 2 forks source link

Allow video filenames to use a placeholder for match number #16

Closed WillB97 closed 3 years ago

WillB97 commented 3 years ago

Allows the filename specified in the obs_video track to be specified as match-{match}.mp4 where {match} is replaced with with each match number. Also adds support for the verify command to take the range of match numbers to be tested against the placeholder.

Ideally this PR would be applied against #14 since the first 4 commits are that branch, as such this should be applied after it.

PeterJCLaw commented 3 years ago

Haven't looked in detail, but as a first thought -- might be worth using {match_num} rather than {match} as the placeholder? That seems clearer to me.

WillB97 commented 3 years ago

That does make it more obvious what we're talking about. I've updated it to use {match_num}