How can I add {edition-"words from file name"} to file?
Posted: 08 Apr 2024, 01:20
I'm seperating the Prelims and Early Prelims of my UFC fights as editions. How do I have it recognize either Prelims or Early.Prelims from the file name and make that the edition name (while also changing the . in "Early.Prelims" to a space)?
Starting with UFC.261.Usman.vs.Masvidal.2.Prelims.576p.AVC.mkv the output should be UFC 261 Usman vs. Masvidal 2 (2021) 720p AVC {edition-Prelims}.mkv
Satrting with UFC.261.Usman.vs.Masvidal.2.Early.Prelims.576p.AVC.mkv should be UFC 261 Usman vs. Masvidal 2 (2021) 720p AVC {edition-Early Prelims}.mkv
I've got the rest of it, I just can't figure out how to automate the {edition-*******} part.
Tanks for any tips you can give.
Starting with UFC.261.Usman.vs.Masvidal.2.Prelims.576p.AVC.mkv the output should be UFC 261 Usman vs. Masvidal 2 (2021) 720p AVC {edition-Prelims}.mkv
Satrting with UFC.261.Usman.vs.Masvidal.2.Early.Prelims.576p.AVC.mkv should be UFC 261 Usman vs. Masvidal 2 (2021) 720p AVC {edition-Early Prelims}.mkv
I've got the rest of it, I just can't figure out how to automate the {edition-*******} part.
Tanks for any tips you can give.