A very simple shell script that automatically unlocks a bluray disk using MakeMkv and then plays it in MPV.
Playing a bluray in Linux (or on any operating system really) is unnessecarily complicated and annoying, so I wrote this little script which allows the user to play one by running a simple command.
- MakeMkvKey (optional)
- MakeMkv
- MPV
- Place the script somewhere in your path.
- Edit the variable
drive
with the location of the bluray drive you want to use (the default location is/dev/sr0
). - If you don't want to automatically update the Beta Key of MakeMkv when trying to play a disk comment out
MakeMkvKey
(optional, not recommended).
Play a bluray by running the script using $ bluray
.