JasonMillward / Autorippr

Rip discs automatically using a blend of Python, MakeMKV and HandBrake
MIT License
239 stars 60 forks source link

[Bug] 0 DVDs Found #140

Open soehlert opened 7 years ago

soehlert commented 7 years ago

I can't get any DVDs to be recognized. I have a feeling it's MakeMKV decryption related, but that's a bit of a guess. Any help would be much appreciated.

# uname -a
Linux ripper 4.10.0-22-generic #24-Ubuntu SMP Mon May 22 17:43:20 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"

>>> import sys
>>> print(sys.version)
2.7.13 (default, Jan 19 2017, 14:48:08)
[GCC 6.3.0 20170118]

# python autorippr.py --test
= Checking directory permissions
[  OK  ] MakeMKV savePath

= Checking requirements
[  OK  ] Filebot
[  OK  ] MakeMKV
[  OK  ] HandBrake
[  OK  ] FFmpeg (optional)

# python autorippr.py --rip --debug
2017-06-13 17:00:58 - Rip - DEBUG - Ripping initialised
2017-06-13 17:00:58 - Rip - DEBUG - Checking for DVDs
2017-06-13 17:00:59 - Rip - DEBUG - 0 DVDs found
2017-06-13 17:00:59 - Rip - INFO - Could not find any DVDs in drive list

# makemkvcon -r info disc:1
MSG:1005,0,1,"MakeMKV v1.10.6 linux(x64-release) started","%1 started","MakeMKV v1.10.6 linux(x64-release)"
MSG:2004,0,4,"Error 'Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB' occurred while issuing SCSI command 460200010..00100 to device 'SG:dev_11:0'","Error '%1' occurred while issuing SCSI command %4 to device '%2:%3'","Scsi error - ILLEGAL REQUEST:INVALID FIELD IN CDB","SG","dev_11:0","460200010..00100"
DRV:0,2,999,0,"DVD-ROM QEMU QEMU DVD-ROM 2.5+","","/dev/sr0"
DRV:1,256,999,0,"","",""
DRV:2,256,999,0,"","",""
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,"","",""
MSG:5010,0,0,"Failed to open disc","Failed to open disc"
TCOUNT:0
JasonMillward commented 7 years ago

Totally a decryption issue: https://www.makemkv.com/forum2/viewtopic.php?f=8&t=1661

Another user found this to be a working solution, perhaps it might work for you?

Download KEYDB.cfg from http://vlc-bluray.whoknowsmy.name/ and put it in ~/.MakeMKV. The path depends on the settings in MakeMKV.

soehlert commented 7 years ago

Dang I was hoping not. Tried that with a bunch of DVDs. I was finally able to get one (and only one) ripped with dvdbackup, but never with autorippr. None others worked even after following that info you found.

ShoGinn commented 6 years ago

@soehlert Are you running this on a virtual machine? LXC or VM?

soehlert commented 6 years ago

@ShoGinn I tried it via KVM and LXC.

ShoGinn commented 6 years ago

@soehlert without PCI passthrough Proxmox doesn't like MakeMKV...

I have only had success in a VM using a USB passthrough drive.. just a thought.

But the errors you are getting are indicative of a virtual drive (no block access) to the physical disc.