Load program only if file exists
Posted: 31 Oct 2020 09:00
Hi,
We have a situation where at a particular point in time, we air several announcements. The way we have it now is that we first have a program set to load the intro track and the voice bed for these announcements. Then we have an overlay set that loads and plays the actual announcements track on top of the bed (played by the program mentioned above).
Now, the issue is that on some days, we have no announcements to air so what's happening in these cases is that we get the program to start playing but no announcements are played since the announcement track for that day doesn't exist.
Is there a way we can instruct the program to only start if a particular file exists on the system? This way, we only play the announcement program if the announcement track exists on the system.
Thanks!
We have a situation where at a particular point in time, we air several announcements. The way we have it now is that we first have a program set to load the intro track and the voice bed for these announcements. Then we have an overlay set that loads and plays the actual announcements track on top of the bed (played by the program mentioned above).
Now, the issue is that on some days, we have no announcements to air so what's happening in these cases is that we get the program to start playing but no announcements are played since the announcement track for that day doesn't exist.
Is there a way we can instruct the program to only start if a particular file exists on the system? This way, we only play the announcement program if the announcement track exists on the system.
Thanks!