Welcome to the Netflix Partner Help Center. Have a question or need help with an issue? Send us a ticket and we'll help you to a resolution.

 

 

CHCLI INTRODUCTION

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.48) 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:

cd [BinLocation]

cd /opt/netflix/chcli-1.xx.x/bin

(The version number of the CHCLI package in bold)

 

HOW TO GENERATE CHECKSUM.TXT FILES

Option 1: 

CHCLI allows users to use the root of the folder structure as the source directory when running the command. 

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).

Example Command

./chcli -action checksum -dir /Volume/CHCLI_Demo/A_Great_Title

checksum_screenshot1.jpg

Option 2:

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. 

Command

./chcli -action checksum -dir /A_Great_Title/s01e01_NAM_XXX

 

checksum_screenshot02.jpg

 

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

 -algo md5 

 

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

 

 

Was this article helpful?
0 out of 0 found this helpful
Powered by Zendesk