[BUG]: Cannot read file with ’ char in the name [mp4decrypt] #646
Labels
No labels
Wrong-Place
bug
cli
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
ice
invalid
question
request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Creepso/multi-downloader-nx#646
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Program version
4.6.3
Operating System
Windows
Type
CLI
Service
Crunchyroll
Command used
aniDL.exe --service crunchy --crapi web -e GD9UVM9N3 --dlsubs pt-BR --fileName "${showTitle} ${episode}"
Show ID
GEXH3W2PK
Episode
GD9UVM9N3
Console Output
Additional Information
MP4Decrypt just can't open any file with ’ in the name. Tested removing it in separated command with mp4decrypt and worked normaly.
This is unfortunately a problem with mp4decrypt.
Some limitations I've found with mp4decrypt are as follows:
I have looked into making a node native version of mp4decrypt which will allow me to fix these issues, though it's not a small amount of refactoring. You can test it on the native-mp4decrypt branch and give feedback, but it's not quite done yet.
I'll have to prepare the build ambient first. I'll do that as I find the time and give feedback. For now I'll pull without the show name as a workarround.
I had the same problem yesterday.
I think that if the subtitles were downloaded first (if that's possible), it would have been less annoying. Because it's always possible to decrypt manually, after changing the file names.
By the way, you can use https://github.com/shaka-project/shaka-packager/releases instead of mp4decrypt.
When I was researching Widevine, I saw this tool come up quite often. And apparently, it's better than mp4decrypt.
Closing this as it should be fixed by 4.7.0 because we use temp files now, feel free to re-open if this is still an issue