Hello,
I'm curious about the Object "shots" in Dashboard. I see the listener gets different information form Overdrive such as shot name and template name. I'm wondering if there is any other fields available from this object? Example below, thank you!
if (typeof (retObj.shots) != 'undefined')
{
var shots = retObj.shots;
for (var i = 0; i < shots.length; i++)
{
if (shots[i].type == 'onair')
{
ogscript.rename('slug-onair', shots[i].slug);
ogscript.rename('index-onair', shots[i].index);
ogscript.rename('shotName-onair', shots[i].shotName);
ogscript.rename('templateName-onair', shots[i].templateName);
}
if (shots[i].type == 'prepared')
{
ogscript.rename('slug-prepared', shots[i].slug);
ogscript.rename('index-prepared', shots[i].index);
ogscript.rename('shotName-prepared', shots[i].shotName);
ogscript.rename('templateName-prepared', shots[i].templateName);
}
}
}
------------------------------
Lance Miller
------------------------------