MKVPriority
Assigns priority scores to audio and subtitle tracks in MKV files
Alternatives
Tech stack
No tech stack added yet. Sign in to suggest some
Note: When this entry was written, the official GitHub repository could not be fetched. The content below is compiled from known information, and details that could not be confirmed have been left out. For specific usage, configuration and license information, please refer to the official repository.
Introduction
MKVPriority is a small open-source tool hosted on GitHub that deals with the multiple audio and subtitle tracks inside MKV files. A single MKV file often contains audio tracks and subtitles in several languages and codecs, and the default track a player picks is often not the one the user wants. MKVPriority assigns each track a priority score based on the preferences you configure, then modifies the tracks' default and forced flags so that Plex, Jellyfin, Emby or a local player automatically selects the right tracks when opening the file.
Key Features
- Track priority scoring: Ranks audio and subtitle tracks based on criteria such as language, codec and track name.
- Automatic track flag setting: Sets the highest-scoring track as the default and handles forced subtitles as needed.
- Metadata-only changes, no remuxing: As far as we know, it uses MKVToolNix's mkvpropedit to modify track properties directly without remuxing, so it is fast and uses no extra disk space.
- Batch processing: Can process an entire media library directory in one go.
- Works with media automation tools: Can be plugged into the workflows of tools such as Sonarr and Radarr, so newly downloaded files are processed automatically once they are added to the library.
Target Users
- Users who run their own home media servers (Plex, Jellyfin, Emby, etc.)
- Users with large collections of multilingual movies and TV shows
- Users who automate media library management with tools such as Sonarr and Radarr
Core Strengths
- You configure your preferences once, with no need to switch tracks manually in every player or for every file.
- Only metadata is modified, so processing is fast and changes to the original files are minimal.
- Well suited to running long-term in a self-hosted environment, automatically processing newly added files.
Deployment and Technical Requirements
- MKVToolNix (mkvpropedit) must be installed in the runtime environment.
- As far as we know, the tool is built on Python and can also be deployed with Docker.
- For specific installation commands, configuration file format and parameters, please refer to the README in the official repository.
Worth Noting
- The tool modifies the track flags of MKV files directly, so before first use it is advisable to test it on a small number of files or to make a backup first.
- Only the MKV (Matroska) container format is supported.
Discover more
YoutubeDL-Server
Web and REST interface to Youtube-DL for downloading videos onto a server.
youtube-dl-nas
Lightweight authenticated yt-dlp queue for NAS: video, audio, subtitles, mobile sharing, restart-safe downloads, and Docker.
Deleterr
Automated Plex media cleanup with watch-based rules, smart exclusions, and "Leaving Soon" notifications via Radarr, Sonarr & Tautulli.
HomeTube
HomeTube is a friendly video downloader managing single video URL into organized content structure for automatic home media server experience.
Jellyseerr
Manage requests for your media library, supports Plex, Jellyfin and Emby media servers (fork of Overseerr).
Kapowarr
Kapowarr is a software to build and manage a comic book library, fitting in the *arr suite of software.