makemkvcon access via DiscId?

The place to discuss linux version of MakeMKV
Post Reply
RonJohn
Posts: 7
Joined: Sat Mar 14, 2015 2:04 pm

makemkvcon access via DiscId?

Post by RonJohn » Thu Dec 31, 2015 2:06 pm

Hi,
Source specification:
iso:<FileName> - open iso image <FileName>
file:<FolderName> - open files in folder <FolderName>
disc:<DiscId> - open disc with id <DiscId> (see list Command)
dev:<DeviceName> - open disc with OS device name <DeviceName>
What is the list command? Things like this fail:

Code: Select all

$ makemkvcon list dev:/dev/sr0
MakeMKV v1.9.8 linux(x64-release) started
Debug logging enabled, log will be saved as /home/ron/MakeMKV_log.txt
DEBUG: Code 0 at tGV8*Y(;LB'NV4(hp{Ow:29398760
Invalid command: list

$ makemkvcon list 
MakeMKV v1.9.8 linux(x64-release) started
Debug logging enabled, log will be saved as /home/ron/MakeMKV_log.txt
DEBUG: Code 0 at tGV8*Y(;LB'NV4(hp{Ow:29398760
Invalid command: list

Thanks
Registered user.
Linux x86_64 (Xubuntu)

ndjamena
Posts: 830
Joined: Mon Jan 07, 2013 12:23 am

Re: makemkvcon access via DiscId?

Post by ndjamena » Thu Dec 31, 2015 2:19 pm

I've gone through the exe with a hex editor and there's no command called 'list'.

It either means something other than the obvious or it's wrong.

ndjamena
Posts: 830
Joined: Mon Jan 07, 2013 12:23 am

Re: makemkvcon access via DiscId?

Post by ndjamena » Thu Dec 31, 2015 2:31 pm

If you want a list of drives, you get it like this:

makemkvcon -r info disc

Code: Select all

MSG:1003,32,3,"DEBUG: Code 32 at y_&$8m<rv8,eR8UTI~2oL:29393884","DEBUG: Code %1 at %2:%3","32","y_&$8m<rv8,eR8UTI~2oL","29393884"
MSG:1003,32,3,"DEBUG: Code 32 at y_&$8m<rv8,eR8UTI~2oL:29393884","DEBUG: Code %1 at %2:%3","32","y_&$8m<rv8,eR8UTI~2oL","29393884"
MSG:1003,32,3,"DEBUG: Code 32 at y_&$8m<rv8,eR8UTI~2oL:29393884","DEBUG: Code %1 at %2:%3","32","y_&$8m<rv8,eR8UTI~2oL","29393884"
MSG:1003,32,3,"DEBUG: Code 32 at y_&$8m<rv8,eR8UTI~2oL:29393884","DEBUG: Code %1 at %2:%3","32","y_&$8m<rv8,eR8UTI~2oL","29393884"
MSG:1005,0,1,"MakeMKV v1.9.8 win(x86-release) started","%1 started","MakeMKV v1.9.8 win(x86-release)"
MSG:1004,0,1,"Debug logging enabled, log will be saved as C:\\Users\\chadg/MakeMKV_log_4.txt","Debug logging enabled, log will be saved as %1","C:\\Users\\chadg/MakeMKV_log_4.txt"
MSG:1003,32,3,"DEBUG: Code 0 at w\\o`</Cd;yV~2@E8a4Fu:29398760","DEBUG: Code %1 at %2:%3","0","w\\o`</Cd;yV~2@E8a4Fu","29398760"
DRV:0,2,999,1,"BD-RE PIONEER BD-RW   BDR-207D 1.60","SUPERMAN_DOOMSDAY","G:"
DRV:1,0,999,0,"DVD+R-DL HL-DT-ST DVDRAM GH22NS50 TN03","","H:"
DRV:2,0,999,0,"DVD+R-DL HL-DT-ST DVDRAM GH22NS50 TN03","","I:"
DRV:3,256,999,0,"","",""
DRV:4,256,999,0,"","",""
DRV:5,256,999,0,"","",""
DRV:6,256,999,0,"","",""
DRV:7,256,999,0,"","",""
DRV:8,256,999,0,"","",""
DRV:9,256,999,0,"","",""
DRV:10,256,999,0,"","",""
DRV:11,256,999,0,"","",""
DRV:12,256,999,0,"","",""
DRV:13,256,999,0,"","",""
DRV:14,256,999,0,"","",""
DRV:15,256,999,0,"","",""
-edit-
The ID would be the first number ie DRV:0 = Drive 0.

RonJohn
Posts: 7
Joined: Sat Mar 14, 2015 2:04 pm

Re: makemkvcon access via DiscId?

Post by RonJohn » Fri Jan 01, 2016 1:27 am

ndjamena wrote:If you want a list of drives, you get it like this:

makemkvcon -r info disc

[snip]

-edit-
The ID would be the first number ie DRV:0 = Drive 0.
Thanks! (Can I request a change to the help text, to make that clearer?)
.
Registered user.
Linux x86_64 (Xubuntu)

ndjamena
Posts: 830
Joined: Mon Jan 07, 2013 12:23 am

Re: makemkvcon access via DiscId?

Post by ndjamena » Fri Jan 01, 2016 5:03 am

You can request anything you like, as whether Mike implements it, from what I've learned sitting on this forum for the last two years it's highly unlikely.

I'm not even sure that's the official way you're supposed to get the DiscID, it's just the only combination of commands I've found that doesn't spit out errors or unnecessary garbage.

It actually works just as well as

Code: Select all

makemkvcon -r info disc:
Basically it's just the command to get info about a specific disc, except I'm not providing a disc ID. MakeMKV always outputs all the drive numbers in robot mode when reading a disc, and that's what it's done here, I'm assuming since I didn't give it an actual source disc to return output from it just stopped there.

MakeMKVCon isn't all that great with the user interface, most of the good capabilities are hidden so that only the MakeMKV GUI can access them through a pipe. No one has bothered figuring out how that works yet, and mike doesn't seem interested in letting us all in, so take what you can get.

unkilbeeg
Posts: 3
Joined: Wed May 18, 2016 3:45 pm

Re: makemkvcon access via DiscId?

Post by unkilbeeg » Wed May 18, 2016 4:09 pm

Thanks for this. I registered with the forum specifically for this question.

Is there *any* kind of documentation for MakeMKVCon? Or is our only recourse to scan the forums for someone who has discovered by trial and error how some function works?

martin.hattedcat.com
Posts: 2
Joined: Sun Apr 17, 2016 5:54 pm

Re: makemkvcon access via DiscId?

Post by martin.hattedcat.com » Wed May 18, 2016 9:36 pm

Try /developers/, which has a link to /developers/usage.txt.

The only way I found that was via Google; there's no link to it on the site that I've ever found.

Post Reply