Hello,
I would like to automatically start playing a movie with VLC by clicking on the movie title displayed in a ListViewGadget.
Is it possible?
Thank you for your help
play movie with vlc
Re: play movie with vlc
Use VLC Command Line with Runprogram()
Google for vlc command line
Google for vlc command line
Egypt my love
Re: play movie with vlc
Thank you,
I know how to launch the VLC program but I don't know how to pass the title of the film to it !
I know how to launch the VLC program but I don't know how to pass the title of the film to it !
Re: play movie with vlc
The 'RunProgram' command is what you need.
Something of the form:
RunProgram("vlc","path to filename","")
This works as on my Linux setup as is, but you may have to adjust things for another OS.
For example, if VLC is not included in your PATH, you may have to provide the full path to the executable.
Something of the form:
RunProgram("vlc","path to filename","")
This works as on my Linux setup as is, but you may have to adjust things for another OS.
For example, if VLC is not included in your PATH, you may have to provide the full path to the executable.
Last edited by KianV on Wed Feb 09, 2022 3:12 pm, edited 1 time in total.
Re: play movie with vlc
Thank you,
It works if there is no space in the title
But it doesn't work with this title, there are error messages
Of course I changed the title of the movie on disk D from "Alice.avi" to "Alice 1.avi"
It works if there is no space in the title
Code: Select all
RunProgram("vlc","D:\test\Alice.avi","")
Code: Select all
RunProgram("vlc","D:\test\Alice 1.avi","")
Re: play movie with vlc
Maybe this works:
Code: Select all
RunProgram("vlc", #DQUOTE$ + "D:\test\Alice 1.avi" + #DQUOTE$,"")
Re: play movie with vlc
SUPER !
It's OK
Thank you very much
It's OK
Thank you very much