stevie910 / drax

Microsoft Public License
111 stars 12 forks source link

Cmdline cannot handle spaces in the file name #9

Open stevie910 opened 6 years ago

stevie910 commented 6 years ago

I'm trying to import chapters using the command line tool. The following command fails with 'Cannot read or modify m4v File.'

drax.exe /import:"T:\movies\renders\2012\2012.01.11 - Winter Gala at Kinder Care.txt" /file:"T:\movies\renders\2012\2012.01.11 - Winter Gala at KinderCare.mp4"

However, it works file once I remove all spaces from the file name:

drax.exe /import:"T:\movies\renders\2012\20120111WinterGalaKinderCare.txt" /file:"T:\movies\renders\2012\20120111WinterGalaKinderCare.mp4"

NOTE: CodePlex escapes my double quotes above as "

This work item was migrated from CodePlex

CodePlex work item ID: '1270' Vote count: '1'

stevie910 commented 6 years ago

[DrZoidberg@15.10.2012] Somehow I was not able to reproduce this issue in Drax 1.6.5.0.

As described, for chapters I used the filename: C:\Temp 2\2012.01.11 - Winter Gala at Kinder Care.txt

And for the movie itself I used the filename: C:\Temp 2\2012.01.11 - Winter Gala at KinderCare.mp4

So, the following command line worked perfectly: drax.exe /import:"C:\Temp 2\2012.01.11 - Winter Gala at Kinder Care.txt" /file:"C:\Temp 2\2012.01.11 - Winter Gala at KinderCare.mp4"

I noticed that your filenames of the chapters file and the movie file are different (well, except for the file extension). E.g., there is a space between Kinder and Care in the chapters file - is this the problem?

stevie910 commented 6 years ago

[bcalmac@15.10.2012] Yes, you're right. I'm sorry for the false alarm.

stevie910 commented 6 years ago

[UnknownUser@14.02.2013]