This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

automate on and off with cmd file in SMplayer

Problems, bugs, suggestions... anything related to SMPlayer.

automate on and off with cmd file in SMplayer

Postby coldwolf » Thu Jun 18, 2020 11:34 pm

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...
coldwolf
 
Posts: 1
Joined: Thu Jun 18, 2020 11:20 pm

Re: automate on and off with cmd file in SMplayer

Postby rvm » Fri Jun 19, 2020 4:52 pm

You can pass the URL from command line:
smplayer http://radio1.domint.net:8068/

However that URL is not working for me.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España


Return to General

Who is online

Users browsing this forum: No registered users and 138 guests