RandomNinjaAtk/arr-scripts

[BUG] Special characters in filenames

Opened this issue · 6 comments

Not sure whether this issue is limited for musicvideo naming or also impact audio.

When special characters like "?" are part of a video, the file name is wrong and cannot be opened.

Easier to provide an example:

Ariana Grande - yes, and?
https://imvdb.com/video/ariana-grande/yes-and
YHQW20M.MKV
YHQW20
M.NFO
YHQW20~M.JPG

Happy to share more details. Easy to replicate the issue.

Same issue when downloading Tidal videos. Seems to be the issue whenever the file names ends with a "?".

But not only. Not sure when it happens:

Call Me Revenge (Call of Duty: Modern Warfare 3 - Official Game Video)
COIJMN~2.MKV

Who Want Smoke?? (feat. G Herbo, Lil Durk & 21 Savage) (Official Video)
WYR0YJ~8.MKV

I believe, this shoudl fix it:

#355

Any chance to look into it?

I have tested the fix and it is working! Any chance to merge?

Pulled it into a clean pull request. Appreciate if this can be merged. Thank you!

#372