Simplest-File-Renamer icon indicating copy to clipboard operation
Simplest-File-Renamer copied to clipboard

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

Open msongz opened this issue 4 years ago • 3 comments

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

msongz avatar Mar 27 '20 03:03 msongz

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 ?

whyboris avatar Mar 27 '20 14:03 whyboris

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

msongz avatar Mar 28 '20 02:03 msongz

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 🤝

whyboris avatar Mar 28 '20 12:03 whyboris