Jellyfin Forum
Setting default audio tracks - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions)
+--- Thread: Setting default audio tracks (/t-setting-default-audio-tracks)



Setting default audio tracks - gerbetta33 - 2023-08-26

I've got a simple 3.1 soundbar. Most movies in my library are 7.1 atmos by default, but 7.1 sounds quiet and poorly balanced through a 3.1 system. I really dont want to have to manually change to 5.1 every time I select a movie to watch. Can I set it to 5.1 by default?

Also, sometimes subtitles come on by default, and sometimes not. Can i make them always off by default?

Im using Jellyfin App on my google tv, its a TCL Q7.


RE: Setting default audio tracks - JasonThai - 2023-08-26

Hi in the Jellyfin Android TV App I set the player to external & installed Kodi 19.5 (I find it more stable than Kodi 20.2) & in the Kodi Player settings you can set the output of your speaker system & also setup the subtitles so they do not display unless you turn them on


RE: Setting default audio tracks - bitmap - 2023-08-26

Some clients (e.g., Roku) allow you to set this in their main settings, also in the Jellyfin profile Settings for your account, but I have found that a mixed bag as far as whether clients actually respect those settings.

Surefire way to set default audio? At the media level. This is actually set at the stream level and can be done pretty easily, but is difficult to do at a batch level (or I haven't figured out a way to do it yet). Mkvtoolnnix can set default track metadata, as can several other tools.


RE: Setting default audio tracks - pyrr - 2024-03-27

For anyone encountering this thread in the future, and are running this in Ubuntu/Debian, you can run this shell script to change the default tracks for anything in your working directory:

Code:
#!/bin/bash
for f in ./*.mkv; do
mkvpropedit "$f" \
-e track:a1 -s flag-default=0 \
-e track:a2 -s flag-default=1 \
-e track:s1 -s flag-default=0
done

Make sure you install mkvtoolnix first.

track:a1, track:a2 etc. refer to audio tracks and obviously you can toggle the default flags with 0 or 1. You should make sure that the default flag is set to 0 for any preexisting default tracks.

track:s1 refers to the subtitle tracks. All of this is explained in the manpage for mkvpropedit.