$ makemkvcon -r info disc:X
followed by:
$ makemkvcon --bindport=YYYYY stream disc:X
when the disc:X drive has no disc.
On my system the association between disc:X and /dev/srY is random. I log the output of "makemkvcon -r info" and here is what I get when I grep for "ASUS":
Code: Select all
DRV:0,1,1,28,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:1,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
DRV:0,1,1,12,"BD-ROM ASUS BR-04B2T 1.01","some movie title"
I *think* the order the drives appear in the pseudo-file you look at depends on how quickly the system finds them which in turn depends on whether they contain a disc or not.
I've already posted a Perl wrapper script that solves this problem.