Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions configuration/blu-ray.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# Blu-Ray Playback
# Blu-ray Playback

No official Blu-Ray player software exists for Linux, but open-source libraries we include allow Kodi \(on LibreELEC\) to play most Blu-Ray discs once `/storage/.config/aacs/KEYDB.cfg` has been populated with a flat-file database of known encryption keys and certificates. To avoid legal issues with circumvention of the DMCA laws in the USA we cannot pre-populate the file with a key database, so you must install this yourself.
No official Blu-ray player software exists for Linux, but open-source libraries we include allow Kodi \(on LibreELEC\) to play most Blu-ray discs once `/storage/.config/aacs/KEYDB.cfg` has been populated with a flat-file database of known encryption keys and certificates. To avoid legal issues with circumvention of the DMCA laws in the USA we cannot pre-populate the file with a key database, so you must install this yourself.

Connect to your LibreELEC device via SSH, then run the following command:

```text
mkdir -p /storage/.config/aacs
curl -k https://vlc-bluray.whoknowsmy.name/files/KEYDB.cfg -o /storage/.config/aacs/KEYDB.cfg
curl -kv -L http://fvonline-db.bplaced.net/fv_download.php?reduced -o /storage/.config/aacs/keydb.zip
unzip /storage/.config/aacs/keydb.zip -d /storage/.config/aacs/ && mv /storage/.config/aacs/keydb.cfg /storage/.config/aacs/KEYDB.cfg && rm /storage/.config/aacs/keydb.zip
```

The file contains PK, HC and VUK data required for attempting disc decryption with more than 24,000 titles. Re-running the `curl` command periodically will refresh the `KEYDB.cfg` file and add support for new Blu-Ray discs.
The file contains PK, HC and VUK data required for attempting disc decryption with more than 24,000 titles. Re-running the `curl` and the `unzip` commands periodically will refresh the `KEYDB.cfg` file and add support for new Blu-ray discs.

For a detailed description on how Blu-Ray DRM works on Linux, please refer to this article on the Arch Linux wiki: [https://wiki.archlinux.org/index.php/Blu-ray](https://wiki.archlinux.org/index.php/Blu-ray)
For a detailed description on how Blu-ray DRM works on Linux, please refer to this article on the Arch Linux wiki: [https://wiki.archlinux.org/index.php/Blu-ray](https://wiki.archlinux.org/index.php/Blu-ray)