Server Version#: 1.26.0.5715
Player Version#: Shield TV Pro latest Plex app beta
Why is that PMS doesn’t tag some movies as Dolby Atmos even though my AVR detects them as Dolby Atmos files? So far, the all TrueHD files that I play are detected as Dolby Atmos files by my AVR. For example, these two files:
Short Answer: Edit the Title field of the audio track using MKVToolNix or similar tools.
Longer Answer:
Plex does not detect if a file has Atmos information. It detects the language, audio codec, and number of channels. That is what is shown in the Display Title field.
If the Title field is populated, Plex will combine that with Display Title when populating Extended Display Title.
In your first example, there is no Title information. In your second example, the Title is “TrueHD Atmos 7.1.”
How all of the above is displayed on-screen varies by Plex client.
If there is only one audio track, then Display Title is shown and Title information is not shown.
If there are multiple audio tracks, then the Title field may be visible when selecting audio tracks (varies by Plex client). It is displayed in Plex Web and the Android Mobile & TV apps. It is not displayed in the Plex app on LG TVs.
Example:
AC3 1.0 audio track from a movie on my server.
I set Title = Commentary using MKVToolNix Header Editor
MKVToolNix has a command line interface (see mkvpropedit). There is probably some way to script it. Same with ffmpeg. That’s out of my wheelhouse, so I will not be of any help in that area.
Automation certainly can be done. I use mkvpropedit through a for loop in order to perform the action across a select batch of files in a specific location.
Here’s the content of a batch file I made…
For %%A in ("*.mkv") do (
CLS
REM echo full path: %%~fA
REM echo directory: %%~dA
REM echo path: %%~pA
REM echo file name only: %%~nA
REM echo extension only: %%~xA
REM echo expanded path with short names: %%~sA
REM echo attributes: %%~aA
REM echo date and time: %%~tA
REM echo size: %%~zA
REM echo drive + path: %%~dpA
REM echo name.ext: %%~nxA
REM echo full path + short name: %%~fsA
echo Orig Filename: %%A
echo Filename Only: %%~nA
echo Extension Only: %%~xA
echo Output Filename: %%~nA_Out%%~xA
echo.
echo Running mkvmerge...
echo.
IF EXIST 01-AudioTrackName.txt (
SET /P AudioTrackName=<01-AudioTrackName.txt
ECHO Setting Audio Track Properties to... !AudioTrackName!
REM ## Set the Title for Audio Track 1
"C:\Program Files\MKVToolNix\mkvpropedit" --edit track:a1 --set language=eng --set flag-forced=0 --set flag-default=1 --set name="!AudioTrackName!" %%~nA_Out%%~xA
echo.
REM PAUSE
)
IF EXIST 02-VideoTrackName.txt (
SET /P VideoTrackName=<02-VideoTrackName.txt
ECHO Setting Video Track Properties to... !VideoTrackName!
REM ## Set the Title for Video Track 1
"C:\Program Files\MKVToolNix\mkvpropedit" --edit track:v1 --set language=eng --set flag-forced=0 --set flag-default=1 --set name="!VideoTrackName!" %%~nA_Out%%~xA
echo.
REM PAUSE
)
)
You will need to ensure that there are also 2 txt files in the same location as the batch file, called…
01-AudioTrackName.txt
02-VideoTrackName.txt
And in the txt files I have something like…
3.5 Mbps TrueHD / Atmos 7.1 Surround > within 01-AudioTrackName.txt
and
6.5 Mbps 10Bit x265 1080p > within 02-VideoTrackName.txt