whyboris/Simplest-File-Renamer

filename like this [xxxxxx.vtt?language=en] not works

Opened this issue · 3 comments

will rename to xxxxx.vtt.[ext]?language=en

Sorry, the app expects normal file names and extensions, like xxxxx.vtt.

Just so I understand, your original file name was:
xxxxxx.vtt?language=en
And it got renamed to
xxxxxx.vtt.[ext]?language=en
?

yeah,i want to rename the file from xxxxxx.vtt?language=en to xxxxxx.srt
but it fail

Thank you for clarifying!

The way I detect extensions is path.parse(file);

https://github.com/whyboris/Simplest-File-Renamer/blob/master/src/app/home/home.component.ts#L247

I'm unsure what's going wrong here. I'm currently more-eager to work on Video Hub App:
https://github.com/whyboris/Video-Hub-App

Pull requests are welcome for fixing this edge case 🤝