MKV with Dolby Audio not playing

@EZDude

  1. RFC-1918 (LAN) addresses are not routeable so nobody can get to them. My workstation is 192.168.0.13. My main NAS is 192.168.0.20, My Plex server is 192.168.0.18. I am 100% safe telling you that because you don’t know the WAN IP :slight_smile:

  2. With that tidbit of useless knowledge , Now to fix the MKV / EAE problem you have.

  3. You do have more directories being monitored than slots your kernel’s inotify table allows by default.

Dec 08, 2021 07:17:29.475 [0x7faa35a1bb38] DEBUG - [Notify] Now watching "/media/MOVIES/Movies"
Dec 08, 2021 07:17:29.564 [0x7faa35a1bb38] DEBUG - [Notify] Now watching "/media/TV_SHOWS/TV_Shows"

## Below is the first message stating “No space left on device”.  This continues until the end of the list of TV_Shows

Dec 08, 2021 07:17:29.633 [0x7faa35a1bb38] DEBUG - [Notify] Now watching "/media/TV_SHOWS/TV_Shows/All in the Family (1971)/Season 08"

## the line below is the last “No space left on device” message.  There were numerous lines between the start (the one I noted above) and the final one (the one below).

Dec 08, 2021 07:17:29.661 [0x7faa35a1bb38] ERROR - [Notify] Failed to add watch for "/media/TV_SHOWS/TV_Shows/The Kettering Incident (2016)/Season 01" (28: No space left on device)
Dec 08, 2021 07:17:30.471 [0x7faa35c3cb38] DEBUG - NetworkServiceBrowser: SERVER arrived: 127.0.0.1 (GATORSERVER)

This is easily fixed.

Since you appear to have everything in /media, we can do this in one query

sudo find /media -type d -print  | wc -l

It will tell us how many directories are in use.

Best practice I’ve found –

  1. round up to the next multiple of 65536 (e.g. 65536, 131072, 196608, 262144, etc)
  2. edit /etc/sysctl.conf
  3. At the bottom, add fs.inotify.max_user_watches=NEW_VALUE_FROM_ABOVE
    (looks like: fs.inotify.max_user_watches=262144 )
  4. Save file
  5. sudo sysctl -p (make new setting active)
  6. Restart Plex

Now, for the last thing I see in your logs -

Your DNS lookups aren’t resolving.

Dec 08, 2021 07:17:30.473 [0x7faa36036b38] WARN - HTTP error requesting GET http://plex.tv/pms/:/ip (6, Couldn't resolve host name) (Could not resolve host: plex.tv)
Dec 08, 2021 07:17:30.473 [0x7faa35dd8b38] ERROR - Error issuing curl_easy_perform(handle): 6

The “Linux Tips” tag in the forum has all my How-Tos