makemkvcon exit codes
Posted: Thu Jul 07, 2011 1:07 am
I use makemkvcon to rip in an automated method. My program monitors the exit codes of makemkvcon. This has worked flawlessly until recently with a failed rip.
Here is the output I get but still get an exit code of 0:
MSG:1002,32,1,"LIBMKV_TRACE: Exception: EOF in writeFully","LIBMKV_TRACE: %1","Exception: EOF in writeFully"
MSG:5003,0,2,"Failed to save title 3 to file /home/mrreload/tmp/a04871936f0447bb/rip/title03.mkv","Failed to save title %1 to file %2","3","/home/mrreload/tmp/a04871936f0447bb/rip/title03.mkv"
PRGV:65536,65531,65536
PRGV:65536,65536,65536
MSG:5004,128,2,"0 titles saved, 1 failed","%1 titles saved, %2 failed","0","1"
MSG:5037,516,2,"Copy complete. 0 titles saved, 1 failed.","Copy complete. %1 titles saved, %2 failed.","0","1"
I believe an exit like above should not be 0 as it failed. Also if I set it to rip all titles over 60 mins then it does rip all 3 then deletes them after the above failure. Please help.
Here is the output I get but still get an exit code of 0:
MSG:1002,32,1,"LIBMKV_TRACE: Exception: EOF in writeFully","LIBMKV_TRACE: %1","Exception: EOF in writeFully"
MSG:5003,0,2,"Failed to save title 3 to file /home/mrreload/tmp/a04871936f0447bb/rip/title03.mkv","Failed to save title %1 to file %2","3","/home/mrreload/tmp/a04871936f0447bb/rip/title03.mkv"
PRGV:65536,65531,65536
PRGV:65536,65536,65536
MSG:5004,128,2,"0 titles saved, 1 failed","%1 titles saved, %2 failed","0","1"
MSG:5037,516,2,"Copy complete. 0 titles saved, 1 failed.","Copy complete. %1 titles saved, %2 failed.","0","1"
I believe an exit like above should not be 0 as it failed. Also if I set it to rip all titles over 60 mins then it does rip all 3 then deletes them after the above failure. Please help.