1.6.2 disc order problems (regression?)

The place to discuss linux version of MakeMKV
Post Reply
BitJam2
Posts: 53
Joined: Wed Sep 01, 2010 7:04 am

1.6.2 disc order problems (regression?)

Post by BitJam2 »

The disc order problems seemed to have been fixed in 1.6.1. disc:0 always used /dev/sr0 and disc:1 always used disc:1 regardless of which drives contained discs.

Now with 1.6.2 and /dev/sr0 empty and a bluray in /dev/sr1,

Code: Select all

$ makemkvcon -r info disc:1
fails with

Code: Select all

MSG:5010,0,0,"Failed to open disc","Failed to open disc
but works when I specify disc:0 (with /dev/sr0 empty). When I tried to

Code: Select all

$ makemkvcon stream disc:1
I got a core dump.

My sample sizes are small so it is possible the behavior above is due to a random element that coincided with my upgrade to 1.6.2 but my feeling is that 1.6.1 was rock solid regarding disc:0 v.s disc:1 and 1.6.2 is more fragile.
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: 1.6.2 disc order problems (regression?)

Post by mike admin »

Should be in the same order as devices in /proc/sys/dev/cdrom/info .
BitJam2
Posts: 53
Joined: Wed Sep 01, 2010 7:04 am

Re: 1.6.2 disc order problems (regression?)

Post by BitJam2 »

H'mm. The order of devices in the pseudo-file must depend on which devices have discs in them at boot time. But if we know that is what you are using for disc:0, disc:1, etc, I could write a little Perl wrapper for makemkvcon that uses actual device names. I think that would be very useful. Maybe call it makemkvdev? Other name suggestions? Maybe I'll post something later today.

I'm currently writing up the docs for my Perl script that creates an HTML guide and a video playlist before streaming. Been using it for a while now and it works well. I will certainly add the device name feature. Currently, if the first guess fails, I'm just trying disc:$N for a variety of $N until makemkvcon info produces something interesting.
Post Reply