Open jaw20 opened 7 years ago
I wonder if you run into the 260 character path limit.
Then how would i get it to download?
Easiest would be to just move the main crunchy-xml-decoder-master directory e.g. to C:\C or so. That should be short enough to work even for this excessively long title.
Was that the problem? I think we can workaround this, but I wanted to make sure the path length is the problem.
Yea it was the problem.
Hm. Looking a bit further into this, I don't see a good way for handling it. While it wouldn't be too difficult to expand the relative path names to unicode absolute paths with the \?\ prefix, it doesn't look like mkvtoolnix can handle them. As such, it wouldn't really solve anything but just push the problem a bit around.
I mean you could use mklink /J in the bat file to shorten the original path to something shorter. Plus because windows does it, its treated as a new directory. Additionally, mkvmerge could just grab the path because it links the folder to a new name.
Alternatively, I could log an issue on the mkvtoolnix github about \ ?\ , do you think that would be easier than a workaround? @jsonn
It's double backslash question backslash, sorry. I'm not sure if we should setup a fake directory automatically. That might be a doable approach or optionally limiting the title name etc. The latter would annoy me on non-insane systems if it is done by default :)
@jsonn Apparently, mkvmerge supports unc paths. We could try and do that instead of directory junctions.
I'm getting the same problem here while downloading.
I moved the directory to C:\ as @jsonn suggested above, but it didn't fix it.
URL: here
I can download the video for these 2 episodes normally, but any time I try to or the script automatically downloads the subtitles for the episode the script errors out with
IOError: [Errno 2] No such file or directory: u'export\\Re-ZERO -Starting Life in Another World- - The End of the Beginning and the Beginning of the End (Part 1) - The End of the Beginning and the Beginning of the End (Part 1)[eng][English (US)].ass
This effects both hls and rtmp.
Complete traceback: