MakeMKV, the DVD and BluRay ripping utility has a feature where it can upload a small firmware application into volatile drive memory to assist with ripping discs. This is claimed to be non-invasive and completely non-persistent beyond a power cycle. To achieve this upload, the MakeMKV snap requires the ability to write to the optical drive device node(s) to upload the application to the drive.
This post is therefore requesting a store assertion to allow the use of optical-drive with the write: true
designation. Ideally we should allow both read-only and writable as separate connections so the the user may use the app out of the box unless they require the libredrive feature in which case they can manually connect the writable interface. My test install correctly lists optical-drive
and my customised optical-write
interfaces with the former connected automatically and the latter manually-connectable but disconnected by default. This is my preferred way for the feature to be presented to the user - two separate interfaces - but I’m not sure if this will be the same once in the store.
Do I need to specify optical-drive
in addition to optical-write
for snapd to present two interfaces separating readonly and writable? Currently my yaml looks like:
plugs:
optical-write:
interface: optical-drive
write: true
apps:
makemkv:
...
plugs:
- desktop
- desktop-legacy
- gsettings
- hardware-observe
- home
- network
- opengl
- optical-write
- process-control
- removable-media
- unity7
- wayland
- x11