Is it possible for PMS to to dictate which audio track to play, based on the client device?

The AppleTV (for example) cannot play a TrueHD track directly. It forces PMS to transcode the audio.

The Nvidia Shield can play a TrueHD track directly.

Thus, I usually add a 24 bit FLAC track to movies that contain a TrueHD track (and some other types of audio that the AppleTV also can’t play directly) to allow the AppleTV to play the 7.1 track without transcoding. The issue is that I have to tell the client (on the AppleTV) to select that track (the FLAC track). I can’t rely on my friends and family to do this, so I make the FLAC track the 1st audio track in the encoded movie.

Is there a way to tell PMS which audio track to select (based on type, not on position) for a given client device?

For example:

Device: AppleTV, Order of Audio Preference: FLAC, DTS, TrueHD

Device: Shield, Order of Audio Preference: TrueHD, DTS, FLAC

In this way, anyone using any client device can play my media without forcing PMS to transcode.

Can this be done? Thoughts?

The short answer is: no, you cannot do this at the moment.
Plex will usually consider such options if you have different versions of a movie – in that case Plex should attempt to pick the most compatible version. With different versions of the same audio track embedded in the same file, Plex has no means to determine which is which (this could e.g. be a director’s commentary or other alternative audio track with different content).

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.