I'm building a script to automatically run videos held on a windows server using VLC. I can get VLC to play files on my drives, but not from files held on a server. For example:
tell application "VLC" to open "smb://server01.ac.uk/videos/filename.avi"
fails with the message: cannot open file /smb://..../filename.avi (No such file or directory)
, while:
tell application "VLC"
activate
OpenURL "smb://server01.ac.uk/videos/filename.avi"
play
end tell
yields open of 'smb://..../filename.avi' failed
. Does anyone know the best way to achieve this? Thanks in advance.