www.makemkv.com

MakeMKV support forum
It is currently Sat Apr 21, 2018 11:12 pm

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Shared bluray disk
PostPosted: Wed Apr 05, 2017 3:27 pm 
Offline

Joined: Wed Apr 05, 2017 6:12 am
Posts: 3
Hi, first of all i would like to thank the creator(s) of such a wonderful piece of software.
I've installed makemkv on my htpc (ubutnu 16.04 + kodi 17.1) and it's working perfectly.
However, I have another htpc client (ubutnu + kodi too) without bluray drive.
So, the question is how to make it work on the 2nd machine without physical bluray drive?
Samba or nbd-server is not an option i'm getting "volume key is unknown".
As I searched this forum I found there is an option so called 'tips server', but how to install and configure it?

p.s. I have makemkv installed from "ppa:heyarje/makemkv-beta"
p.p.s. and sorry for my poor english it is not my native language :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Shared bluray disk
PostPosted: Wed Apr 05, 2017 5:25 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5003
With Bluray, MakeMKV has to talk directly to the drive itself to get information to create a key, then present that key to the drive to allow access. If the network interface does not emulate that access, the key exchange will fail, and so with MakeMKV.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
 Post subject: Re: Shared bluray disk
PostPosted: Thu Apr 06, 2017 4:24 am 
Offline

Joined: Wed Apr 05, 2017 6:12 am
Posts: 3
Thank you, Woodstock, for your reply.

Somewhere on this forum mike admin said:
mike admin wrote:
Well, it means that your keyfile still missing the VUK for this particular disc. In this case MakeMKV requires "full" access to the drive. You have additional option only if you can compile and run applications on your NAS. MakeMKV includes a so-called "TIPS" protocol - a way to share and connect the optical drive over TCP/IP. MakeMKV has builtin TIPS client, and TIPS server source code is part of libdriveio which is part of MakeMKV linux source package. If you manage to compile and run TIPS server on your NAS, the drive will become visible in MakeMKV.

Well, I am capable of compiling everything on my htpc, but I did not even find in google anything for "so-called "TIPS" protocol".

As an option there are may be a workaround.
If I can play a disc on a htpc with a hardware bluray drive, maybe MakeMKV can save the required keys somewhere and I can use them on the 2nd htpc (without hardware bluray) to play the disk?
In such a way I could watch my movies in my bedroom at least :)

Any help would be appreciated.


Top
 Profile  
Reply with quote  
 Post subject: Re: Shared bluray disk
PostPosted: Thu Apr 06, 2017 1:45 pm 
Offline

Joined: Sun Jul 24, 2011 11:21 pm
Posts: 5003
There is a mechanism for MakeMKV to use the volume keys found by others. This kind of explains it:

http://www.makemkv.com/faq/item/12

Mike REALLY needs to update that page, though, because the part about setting up an "AACS directory" was long ago replaced with "drop the files in the MakeMKV data directory set in Preferences->General". And the link to the source of keys was, the last time I checked, several YEARS out of date.

_________________
How to aid in finding the answer to your problem: http://www.makemkv.com/faq/item/8


Top
 Profile  
Reply with quote  
PostPosted: Fri Apr 07, 2017 5:33 am 
Offline

Joined: Wed Apr 05, 2017 6:12 am
Posts: 3
Thanks again, Woodstock, thank you very much.

However, I found another way of sharing bluray drive across network. It IS working at least on ubuntu 16.04.
It works in such a way that the client htpc treats the shared bluray drive as a local optical drive.
Makemkv then sees that drive and uses 'direct disc access' mode to decrypt it (successfully).

So this is how to do it (I tried to be as breief as possible, without any explanations).

ON SERVER (with physical bluray drive)
Code:
$ sudo -i
# apt install lsscsi
# apt install tgt
# lsscsi -g
   output should be something like this:
   [1:0:0:0]    cd/dvd  ASUS     CD-ROM      1.0   /dev/sr0   /dev/sg0    <- remember "/dev/sg0"
   [2:0:0:0]    disk    ATA      HARDDISK    1.0   /dev/sda   /dev/sg1

   # nano /etc/tgt/conf.d/sharecd.conf
put the following replacing "/dev/sg0" with your device name from the step above:
Code:
default-driver iscsi

<target iqn.2010-01.us.nimsa:tgt:4:16:0:0:T>
   <direct-store /dev/sg0>
      device-type pt
      bs-type sg
      removable 1
   </direct-store>
</target>
Reboot the server machine.


ON CLIENT (with NO bluray drive):
Code:
$ sudo -i
# apt install lsscsi
# apt install open-iscsi
# nano /etc/iscsi/iscsid.conf
find and comment:
Code:
node.startup = manual
and uncomment:
Code:
node.startup = automatic

Now execute (replace 192.160.0.100 with your server ip):
Code:
# iscsiadm -m discovery -t st -p 192.168.0.100
   output should be something like this:
   192.168.0.100:3260,1 iqn.2010-01.us.nimsa:tgt:4:16:0:0:T

# iscsiadm -m node --login -T iqn.2010-01.us.nimsa:tgt:4:16:0:0:T
   output should be something like this:
      Logging in to [iface: default, target: iqn.2010-01.us.nimsa:tgt:4:16:0:0:T, portal: 192.168.0.100,3260] (multiple)
      Login to [iface: default, target: iqn.2010-01.us.nimsa:tgt:4:16:0:0:T, portal: 192.168.0.100,3260] successful.
Ok, now
Code:
# systemctl enable iscsid
# reboot

After reboot issue the following command on client:
Code:
# lsscsi -g
   output should be something like this:
   [2:0:0:0]    disk    ATA      HARDDISK         1.0   /dev/sda   /dev/sg0
   [4:0:0:0]    storage IET      Controller       0001  -          /dev/sg1
   [4:0:0:1]    cd/dvd  ASUS     CD-ROM           1.0   /dev/sr0   /dev/sg2 <- this is your server's bluray drive

Now you can use makemkv to rip a disk or a media player to watch a movie.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group