# Blu-ray Playback

No official Blu-ray player software exists for Linux, but open-source libraries 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 DMCA laws in the USA we cannot pre-configure a key database, so you must install this yourself.

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

```
mkdir -p /storage/.config/aacs
curl -k -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 current file contains PK, HC, VUK and UK data required for attempting disc decryption with more than 170,000 titles. Periodically running the commands will refresh the `KEYDB.cfg` file and add support for new Blu-ray discs.

{% hint style="info" %}
For a more 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>
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.libreelec.tv/configuration/blu-ray.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
