This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Create an instant slingshot of transcripts delivery via email. | |
--> | |
<workflow xmlns:xsi="" | |
xmlns="" | |
xmlns:nimbus="" | |
xsi:schemaLocation="" | |
id="abc_slingshot_deliverTranscript" | |
name="Instant Slingshot Transcripts" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import json | |
def send_job(blend_file, output_path): | |
job_data = { | |
"blend_file": blend_file, | |
"output_path": output_path, | |
} | |
with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket | |
import subprocess | |
import os | |
def handle_job(job_data): | |
# Process the received job data and start rendering | |
# You can customize this function based on your rendering requirements | |
blend_file = job_data.get("blend_file") | |
output_path = job_data.get("output_path") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from os import path | |
from api import vantage | |
H264_PROXY_WF = "0c0d3155-509e-479d-8202-472c8c3df7ca" | |
PRORES_PROXY_WF = "a1a2563d-5d05-4381-990a-6703ca0005fb" | |
def edit_proxies(files: list): | |
"""Make H.264 and ProRes Proxies for a list of /nfs/emlibrary files""" | |
base_inputs_h264 = vantage.wf_inputs(H264_PROXY_WF) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from api import cmsql, threeplay, reach, config | |
import logging | |
import log | |
from pathlib import Path | |
from datetime import datetime, timedelta | |
from models.jobpkg import create_job_packages, send_job_package_to_slingshot | |
PROJECT_ID = "46099" | |
DESTINATION_DIR = config.threeplay_caption_repo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import log | |
import os | |
from api import mediashuttle | |
import logging | |
# TODO:RECIPIENT_EMAILS list for JKM download external use | |
RECIPIENT_EMAILS = ["walter.wilson@disney.com"] | |
JKM_PORTAL_ID = "1d2bd37a-08e1-4e97-a06a-b51b5a02da5c" | |
PATH = os.path.abspath( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import requests | |
import logging | |
from datetime import date, timedelta | |
from api import config, threeplay | |
import log | |
# Prod: ABC Digital | |
# PROJECT_ID = "21498" | |
# BATCH_ID = "183890" |
NewerOlder