Skip to content

Instantly share code, notes, and snippets.

@wwilsoni
wwilsoni / abc_slingshot_deliverTranscript.xml
Last active October 4, 2025 14:58
abc_slingshot Delivery to Email
<!--
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"
@wwilsoni
wwilsoni / blender_render_job.py
Last active October 4, 2025 14:58
Blender Render Jobs
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:
@wwilsoni
wwilsoni / render_farm_server.py
Created September 23, 2025 05:01
Render Farm Server
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")
@wwilsoni
wwilsoni / make_edit_proxies.py
Created September 23, 2025 04:35
Make Edit Proxies with Vantage
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)
@wwilsoni
wwilsoni / abc_emshoots_cc_retrieve.py
Created September 23, 2025 04:27
Update caption requests for shoots SET caption status
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
@wwilsoni
wwilsoni / jkm_download.py
Created September 23, 2025 04:16
jkm download transfer
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(
@wwilsoni
wwilsoni / jkm_shortform_cc_retrieve.py
Created September 23, 2025 04:13
Closed Caption Retrieve
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"