Skip to content

Detect those incompatible DV 05 06 files and remove 'em from your perfect media collection!

License

Notifications You must be signed in to change notification settings

linuxmunchies/HDR_DV0506_Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HDR Dolby Vision Profile 05 Level 06 Detector

Overview

This Bash script is designed for the automated detection and optional deletion of MKV files encoded with the 'dvhe.05.06' HDR format within a specified directory. It is particularly useful for managing digital media libraries, ensuring compatibility, and enforcing encoding standards. Although primarily tested on .mkv files, it may work on other file types if mediainfo can identify the correct field.

Features

  • Automated Detection: Efficiently scans a specified directory and its subdirectories for MKV files, identifying those with the 'dvhe.05.06' HDR format.
  • Selective Deletion: Offers the option to automatically delete identified files, with an interactive mode for confirmation and a non-interactive mode for automated workflows.
  • User-Friendly Interface: Includes command-line options for help, directory specification, and file deletion control.
  • Prerequisite Check: Automatically verifies the presence of necessary utilities (mediainfo) before execution.

Prerequisites

  • Bash shell environment
  • mediainfo utility installed on the system

Installation

  1. Clone the repository or download the script directly.
  2. Make the script executable with chmod +x dv0506detect.sh.

Usage

./dv0506detect.sh [-h] [-d DIRECTORY] [-r]
  • -h: Display help information and exit.
  • -d DIRECTORY: Specify the directory to scan for MKV files. Defaults to /mnt/media/movies/.
  • -r: Remove files identified with the 'dvhe.05.06' HDR format without asking for confirmation. Use with caution.

Examples

  • To scan the default directory and list files:
./dv0506detect.sh
  • To scan a specific directory:
./dv0506detect.sh -d /path/to/your/movies
  • To scan and remove files without confirmation:
./dv0506detect.sh -r

Contributing

Contributions are welcome. Please feel free to fork the repository, make improvements, and submit pull requests. I am still new, so please bear (heh) with me!

License

This project is licensed under the MIT License!

About

Detect those incompatible DV 05 06 files and remove 'em from your perfect media collection!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages