Closed Captions Asset-Only Update Examples

Below is an example metadata.xml file to update closed captions for the Basic Film Metadata Example. In the initial delivery, the <accessibility_info> was set to true. Because the closed captions asset is being re-delivered and the availability information has not changed, the <accessibility_info> block does not need to be supplied. Note that only the asset being replaced is referenced in the metadata. Only the metadata.xml and 09736156444-corrected-english.scc files should be included in the .itmsp package.

<?xml version="1.0" encoding="UTF-8"?><package xmlns="http://apple.com/itunes/importer" version="film5.3"> <provider>Paramount</provider> <assets media_type="video" vendor_id="09736156444"> <asset type="full"> <data_file role="captions"> <locale name="en-US"/> <file_name>09736156444-corrected-english.scc</file_name> <size>9613</size> <checksum type="md5">3a80375a79fe8aa2bb49911add739b46</checksum> <attribute name="program.start.timecode">-01:00:00:00</attribute> </data_file> </asset> </assets></package>

In the example below, closed captions are being updated, but the locale of the new captions file is different from the locale on the existing captions file. When updating a closed caption file, the locale must match the locale of the file you are replacing. If the previously-delivered file had a locale specified and you want to replace it with a new file that has a different locale, you must first remove the existing captions file (<data_file role="captions" remove="true">).

<?xml version="1.0" encoding="UTF-8"?><package xmlns="http://apple.com/itunes/importer" version="film5.3"> <provider>Paramount</provider> <assets media_type="video" vendor_id="09736156444"> <asset type="full"> <data_file role="captions" remove="true"> <locale name="en-US"/> <file_name>09736156444-english.scc</file_name> <size>9613</size> <checksum type="md5">3a80375a79fe8aa2bb49911add739b46</checksum> </data_file> <data_file role="captions"> <locale name="es"/> <file_name>09736156444-spanish.scc</file_name> <size>4521</size> <checksum type="md5">31eb41f44b1649d09d6cce6a88342024</checksum> <attribute name="program.start.timecode">-01:00:00:00</attribute> </data_file> </asset> </assets></package>