makemkvcon exit codes

Please post here for issues related to DVD discs
Post Reply
Message
Author
mrreload
Posts: 9
Joined: Mon Aug 02, 2010 8:37 pm

makemkvcon exit codes

#1 Post by mrreload » 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.

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: makemkvcon exit codes

#2 Post by mike admin » Thu Jul 07, 2011 7:00 pm

MakeMKV always returns 0 as exit code, except for fatal errors. Added to the todo list.

kevmitch
Posts: 72
Joined: Mon Mar 11, 2013 6:35 am

Re: makemkvcon exit codes

#3 Post by kevmitch » Fri Jul 03, 2020 7:11 am

I would ordinarily avoid a pile on post, but this seems to have been forgotten for 9 years and I agree that expected behaviour is to only return 0 when nothing went wrong.

Post Reply