r/slingbox • u/JRinNYC • Jan 14 '25
Sending remote control commands before client initiates on Slinger software?
So I have GerryDazoo/Slinger software running on a Raspberry Pi4 connecting to a 350 and 500 working perfectly. I now want to use it with ffmpeg to save the stream to a file on my NAS
$ ffmpeg -i http://nnn.nnn.nnn.nnn:pppp/slingbox -vcodec copy -acodec copy /media/psf/Synology/Slingoutput.mp4
The problem is that I would need to change the channel first. I have to initiate a connection to the client first to use the remote. Has anyone figured out a way to use Slinger software to first change the channel to whatever channel you want, then start the ffmpeg save without having to initiate a client connection or pass it while the ffmpeg command is running? This way I can set up multiple cron or at entries to record stuff on different channels and date/time. Thanks.
2
u/Accomplished-Sign428 Jan 17 '25
Sorry but no. THe software must have a stream running to change the channel. But you could start a stream to connect to the wanted channel and then close the connection. check the docs to see how to add a channel change on the command line
1
u/garabik Jan 15 '25
Unfortunately, Slinger won't login to the slingbox until the first client connects, thus it cannot be easily circumvented.
An easy solution is to run something like
and then issue the IR command.
1
u/sp222222 Jan 17 '25
scheduled task ?