for a real challenge:
there is an Activex dll in the install directory of VLC: axvlc.dll (x86)
and after having a look at the TypeLib, looks to me as though you
could drive VLC very well with the luacom plugin or public dll.
(much better than limited and clunky command line code)
Announcement
Collapse
No announcement yet.
Control VLC media player with AutoPlay
Collapse
X
-
Originally posted by mrdmx1024 View PostI am continually reading the manual... For sure not an advanced user, just never seen that in code before. Thank you for your help.
Leave a comment:
-
Guest repliedI am continually reading the manual... For sure not an advanced user, just never seen that in code before. Thank you for your help.
Leave a comment:
-
Originally posted by mrdmx1024 View PostI have a question about your code... Why do you use \\.................\\ ?
Leave a comment:
-
Guest repliedI have a question about your code... Why do you use \\.................\\ ?
Leave a comment:
-
I was able to get a song to work, stop, and quit I can't resume
Play
PHP Code:File.Run("C:\\Users\\.............\\Downloads\\vlc-2.2.2-win32\\vlc-2.2.2\\vlc.exe", "-I dummy --dummy-quiet --one-instance \"C:\\Users\\.............\\Downloads\\Nightcore - OMFG - Hello.mp3\"", "", SW_HIDE, false)
PHP Code:File.Run("C:\\Users\\.............\\Downloads\\vlc-2.2.2-win32\\vlc-2.2.2\\vlc.exe", "--one-instance vlc:pause", "", SW_HIDE, false)
PHP Code:File.Run("C:\\Users\\.............\\Downloads\\vlc-2.2.2-win32\\vlc-2.2.2\\vlc.exe", "--one-instance vlc:quit", "", SW_HIDE, false)
Last edited by kingzooly; 03-01-2016, 09:04 AM.
Leave a comment:
-
Guest repliedyea I cant get it to take any commands after the CMD opens... File locations...
APPPATH = "C:\\Windows\\system32\\cmd.exe"
VIDEOPATH = "C:\\Content\\FF-Intro 003.mp4"
Leave a comment:
-
Originally posted by mrdmx1024 View PostThank you Kingzooly... Let me give that a try...
EIDT, I was able to get it to load a song no UI with telnet options enabled
PHP Code:File.Run("C:\\Users\\..............\\vlc-2.2.2-win32\\vlc-2.2.2\\vlc.exe", "-I dummy --dummy-quiet --extraintf telnet --telnet-port 4000 \"C:\\Users\\..........\\Downloads\\Nightcore - OMFG - Hello.mp3\"", "", SW_HIDE, false)
I have found a problem doing this way it does not cheack of a alredy running one so if you hit it again it opens a new thread in windows also the stop function does not get sent to that exeLast edited by kingzooly; 03-01-2016, 08:15 AM.
Leave a comment:
-
Guest repliedThank you Kingzooly... Let me give that a try...
Leave a comment:
-
Originally posted by mrdmx1024 View PostThank you OVM for the link... Yes I was headed that direction... I am able to get the CMD box to open but haven't figured out how to have AMS type the commands into the CMD... was never able to populate the command line with a command. I figured since VLC was so integrated with Lua there would be a .dll or plugin we could use.
PHP Code:File.Run(APPPATH, "-open -P \""..SONGPATH.."\"" , WORKINGPATH, SW_HIDE, true);
Leave a comment:
-
Guest repliedThank you OVM for the link... Yes I was headed that direction... I am able to get the CMD box to open but haven't figured out how to have AMS type the commands into the CMD... was never able to populate the command line with a command. I figured since VLC was so integrated with Lua there would be a .dll or plugin we could use.
Leave a comment:
-
Control VLC media player with AutoPlay
Wondering if anybody has an answer to using Autoplay to control VLC media player?
Would love to use AP to set schedules and such then play, pause, stop, load files, in VLC...
Thoughts?
Leave a comment: