This article aims to provide an overview of how to utilize the Netflix Content Hub Command Line Interface (CHCLI) to create checksum files for Picture Mastering Archival Assets.
CHCLI is a Netflix proprietary terminal application created for the Snowball workflow. The details of the Snowball workflow can be found within the Snowball Delivery User Guide.
In addition, CHCLI can be used to generate checksum.txt files and checksum.mhl for archival assets. The checksum hash values supported are xxhash (default) and md5
CHCLI is available on Mac and Linux. Please download and extract the latest version (v1.49.2) to your local workstation.
HOW TO EXECUTE CHCLI
To execute the CHCLI application, open Terminal on your workstation. Run the below command to execute the CHCLI application:
(The version number of the CHCLI package in bold)
HOW TO GENERATE CHECKSUM.TXT FILES
CHCLI allows users to use the root of the folder structure as the source directory when running the command.
./chcli -action checksum -dir [Path/to/SourceFolder]
Input the desired top-level (root) directory that contains all the files you wish to create checksum files for. CHCLI will cascade through the entire folder structure and will create a checksum.txt file for every folder within the Source Directory that contains one or more files.
In the example below a title consisting of 3 episodes is organized on a single storage volume. The folder “A_Great_Title” (highlighted in purple) is the source directory specified during the “checksum" command above. Three checksum.txt files are then generated in the appropriate subdirectories (highlighted in red).
./chcli -action checksum -dir /Volume/CHCLI_Demo/A_Great_Title
It is common for various assets to be ready for delivery at different times. For example, the episode 1 Non-graded Archival Master (NAM) may be available before episode 2 of NAM. Therefore, users may specify the episodic folder level as the source directory in the command to create checksum.txt files on a single folder.
./chcli -action checksum -dir /A_Great_Title/s01e01_NAM_XXX
The default hash value created is xxhash. Should you wish to create md5 hash in the checksum.txt, please specify md5 in the command mentioned above
HOW TO GENERATE CHECKSUM.MHL FILES
CHCLI can be used to create checksum.mhl files. For further details on the creation process, please reach out to your Netflix contact
APPENDIX: NETFLIX CHCLI OPTIONS
- The Snowball Workflow Cheatsheet Generator can be used to centralize all Snowball pertinent information in one customized Snowball cheatsheet. Download the zip file at the end of that article.
- The CHCLI Common Error Solutions article lists solutions for commonly encountered error codes.
- Snowball Edge - Userful Command Lines lists a number of useful command lines that can be used during the Snowball workflow for troubleshooting