Page 1 of 1

automate on and off with cmd file in SMplayer

PostPosted: Thu Jun 18, 2020 11:34 pm
by coldwolf
hi,
I used the same exact script.cmd file in another player called XMplayer.
in order to automate to open itself with and scheduler in zara radio, to play
http://radio1.domint.net:8068 it is in AAC . I like a lot better smplayer , and
i would like to make the same.

This file is called xmplayer-on.cmd

@start C:\Users\E\Desktop\XMPlayZara\xmplay.exe http://radio1.domint.net:8068
@ping 1.1.1.1 -n 1 -w 1000 >NUL
@xmpcontrol.exe /playpause

this is called xmplayer-off.cmd

@taskkill /im xmplay.exe
@ping 1.1.1.1 -n 1 -w 1000 >NUL
@xmpcontrol.exe /playpause


Can anyone help me to do this in SMplayer, i assume i can make it also with an url from youtube for example...

Re: automate on and off with cmd file in SMplayer

PostPosted: Fri Jun 19, 2020 4:52 pm
by rvm
You can pass the URL from command line:
smplayer http://radio1.domint.net:8068/

However that URL is not working for me.