tubesync icon indicating copy to clipboard operation
tubesync copied to clipboard

Request: Enable the use of Regex on media name variables for constructing output filename

Open CDeLeon94 opened this issue 4 years ago • 1 comments

Advanced users could leverage regex on consistently structured video titles to parse out things like 'Season' or 'Episode Number' which I've seen requested various other ways.

Example: https://www.youtube.com/playlist?list=PL1tiwbzkOjQydg3QOkBLG9OYqWJ0dwlxF

The Draw of Destiny | Critical Role | Campaign 3, Episode 1 
Trial by Firelight | Critical Role | Campaign 3, Episode 2 
The Trail and the Toll | Critical Role | Campaign 3, Episode 3 
On the Trail of a Killer | Critical Role | Campaign 3, Episode 4 
The Threat Between the Walls | Critical Role | Campaign 3, Episode 5 
Growing Bonds and Teasing Threads | Critical Role | Campaign 3, Episode 6 
Behind the Curtain | Critical Role | Campaign 3, Episode 7 

Since the show is added as the "Campaign 3" playlist, hard coding "Campaign 3" and using /([0-9]+$)/ on the video title would yield the "Episode Number"

CDeLeon94 avatar Dec 20 '21 07:12 CDeLeon94

Not a bad idea, thanks. I'll pop it on the wishlist.

meeb avatar Dec 20 '21 08:12 meeb