Skip to content

Repository files navigation

jellyfin-scripts

Collection of scripts I use for Jellyfin / media management on macOS.

See the individual script's README files for details.

  • convert_4k_to_1080p.sh
    • Scans a directory (or a single file) for a 4K HEVC MKV file and creates a 1080p AVC MKV copy.
    • If the source file is HDR, tonemap it to SDR in the 1080p copy.
    • Useful to produce a low bandwidth version of videos, for mobiles, downloads, etc.
  • convert_to_dv81_hdr10only.sh
    • Scans a directory (or a single file) for a HEVC Dolby Vision MKV file with a HDR10/HDR10+/HLG base layer.
    • Ensures the Dolby Vision profile is Profile 8.1.
    • Converts a HDR10+ base layer to regular HDR10 (as per standard)
    • Useful for ensuring compatibility with touchy devices like LG webOS TVs.
  • mkv_original_english_audio_subtitle_tracks.sh
    • Scans a directory (or a single file) for MKV video files
    • Looks up the content's original language on TMDB using either an IMDB or TVDB ID present in the filename/directory name.
    • Removes all audio tracks that are not the original language or English. (leaves undetermined/unknown tracks untouched)
    • Removes all subtitle tracks that are not English (leaves undetermined/unknown tracks untouched)
    • Useful for tidying up media libraries and saving a little bit of storage space.

Disclaimer

These scripts havebeen heavily produced by Claude AI. They have been used and tested in my own environment and use case, and I accept no responsibility for the quality of output or usefulness in your own environment. Review and understand the scripts before running yourself! There are dry-run modes included in the scripts to preview the changes before running live.

USE AT YOUR OWN RISK.

About

Collection of scripts I use for Jellyfin / media management

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages