Update 2: This has been implemented by Plex in the latest Plex Web!
This script allows you to see the subtitle, video, and audio track names embedded in media files within the Plex Web app and Plex Media Player.
Update: It now also shows the file format and codec when you click “Play Version” for multiple file versions. (Excludes optimized versions which already have titles.)
GitHub: https://github.com/iwalton3/media-scripts/tree/master/inject-titles-for-plex
Plex Web
- To use the tweak with Plex Web, install Greasemonkey (Firefox) or Tampermonkey (Chrome).
- Then install the User Script.
Plex Media Player
- Find the install folder for Plex Media Player web client.
- Windows:
C:\Program Files\Plex\Plex Media Player\web-client\desktop\js
- Linux:
/usr/local/share/plexmediaplayer/web-client/desktop/js/
- OSX:
/Applications/Plex Media Player.app/Contents/Resources/web-client/desktop/js
- Windows:
- Download the tweak file.
- Append the file to the newest JS bundle named
chunk-2-[hash]-plex-[version].js
.
Plex Media Player (TV Mode)
- Find the install folder for Plex Media Player web client.
- Windows:
C:\Program Files\Plex\Plex Media Player\web-client\tv
- Linux:
/usr/local/share/plexmediaplayer/web-client/tv
- OSX:
/Applications/Plex Media Player.app/Contents/Resources/web-client/tv
- Windows:
- Download the tweak file.
- Add the contents of the tweak to
index.html
afterwindow.performance.measure('init:js:eval', 'init:js:eval:start');
.
Plex Desktop
- Find the install folder for Plex Media Player web client.
- Windows:
C:\Program Files\Plex\Plex\web-client\js
- Windows:
- Download the tweak file.
- Append the file to the newest JS bundle named
chunk-1-[hash]-plex-[version].js
.
Plex for Kodi
Please see the instructions here: https://github.com/iwalton3/media-scripts/tree/master/inject-titles-for-plex/kodi
Screenshots
Subtitle and audio track names are now shown.
The codec, bit depth (if not 8), and container format are shown in the version selection dialog.
Filename Version
If you prefer that the media version selection shows the filename of the media version instead of the codec and file format, you can use this version. The dialog can get a bit crowded if you have long filenames though. (This also includes the subtitle/audio name tweak. Do not install both.)
This version will only include what is inside { } (or Unknown if there aren’t any):
Please note that this script may break in future versions of Plex. It shouldn’t though, as the Plex API that it intercepts and modifies seems to be relatively stable. Please let me know if you have problems.
Other Players or Entire Plex Server
If you’re interested in having these changes affect all the clients for an entire server, including ones that are not compatible with this script, you should check out Metaproxy. This is a proxy server that implements a similar function to the scripts here.