Get the path to media opened in source monitor
Hello,
Is there any way at all to get any information about what current media is opened in source monitor, such as the file path? I know we can open a project item or raw file paths in source monitor:
app.sourceMonitor.openProjectItem(someProjectItem)
app.sourceMonitor.openFilePath(someFilePath)
If there is no straight forward way to just get the path of whatever is opened in source monitor e.g. via the SourceMonitor object, is it simply impossible via any other method (event callbacks, inspecting project metadata etc)?
I have seen this thread and other that hints at such functionality being added soon, almost a decade ago: https://community.adobe.com/t5/premiere-pro-discussions/get-info-for-clip-loaded-in-source-monitor-using-extendscript/m-p/7346496#M292586
Where we see this comment from @Bruce Bullis :
Partial workaround = get the path from the Source monitor, then use app.project.findItemsMatchingMediaPath() to find related projectItems.
Reading that it sounds like there must be a way to actually "get the path from Source monitor". But how?? 🙂
Kind regard
