Coder Social home page Coder Social logo

slinger's People

Contributors

abarberenacpds avatar adam820 avatar almoney avatar andrewgrossman avatar dzitnay avatar garabik avatar gerrydazoo avatar knoppix1337 avatar swilsonnc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slinger's Issues

Add License

Hello,

I believe that this software should have a license. Seeing as it's meant to breathe new life into soon to be officially unsupported hardware, and the goal is to help as many people as possible do such a thing, I think it should be licensed under something like GPL 3.0.

black screen

Hello

Thank you so much for putting time and effort into this.
I am able to launch the python code and then vlc connects to it as well, except all I am seeing is a black screen. not the actual video. thoughts?

`Starks Slingbox500 Starting Stream for 192.168.10.115:51795
Connecting... ('192.168.10.73', 5201) Control
cmd: 0x7e err: 0x13 176
Starks Slingbox500 Box in use! Kicking off other user.
VideoParameters: Resolution= 12 FrameRate= 30 VideoBandwidth= 2000 VideoSmoothness= 63 IframeRate= 5 AudioBitRate= 64

Connecting... ('192.168.10.73', 5201) Stream

Starks Slingbox500 Stream started at 09/06/2022, 17:44:59 744 0

........09/06/2022, 17:46:30 Starks Slingbox500 1 Clients.192.168.10.115:51770 192.168.10.115:51795

........09/06/2022, 17:48:02 Starks Slingbox500 1 Clients.192.168.10.115:51770 192.168.10.115:51795`

3.02 Videosource needed

Hi Gerry,

First, letting you know your 3.02 is working great on PRO-HD. Sorry the delay testing.

Want to let you know I kept getting the following error message and the server would reset each time I tried to connect with 3.02. I added a VideoStream=0 line to the config.ini file and I no longer get the error, and it works. Didn't have any problem with 3.01.

  • Ryan
Aug 06 08:01:59 ITAM-473 python3[12637]: Traceback (most recent call last):
Aug 06 08:01:59 ITAM-473 python3[12637]:   File "slingbox_server.py", line 548, in streamer
Aug 06 08:01:59 ITAM-473 python3[12637]:     s_ctl, stream  = start_slingbox_session(streams)
Aug 06 08:01:59 ITAM-473 python3[12637]:   File "slingbox_server.py", line 325, in start_slingbox_session
Aug 06 08:01:59 ITAM-473 python3[12637]:     while dbuf[i] != 0 :
Aug 06 08:01:59 ITAM-473 python3[12637]: IndexError: index out of range
Aug 06 08:01:59 ITAM-473 python3[12637]:  Badness starting slingbox session  index out of range None

3.08 not letting go of Slingboxes after disconnection

Hi, Firstly, thank you for all your work in keeping us Slinging. I'm about to work away from home again and the Slingbox has always been my saviour. I'm been playing with the multiple slingbox option on one server and have come up with an interesting issue. For the older boxes, Pro and ProHD, after I've closed VLC, the slingbox stays connected and will only stop streaming, when the server is shut down. The 350 on the same server disconnects, as do the older boxes on a single server. I am sure it's me; any clues? I should add I'm running the server on Windows 10.
Paul

[SLINGBOXES]
sb1=ProHD
sb2=Red
sb3=350

[ProHD]
sbtype="Solo/Pro/ProHD"
password=xxxxxxxxxx
;finderid=nogood4CF70531865D73650A16A0A536
ipaddress=192.168.1.19
port=5002
Resolution=12
FrameRate=30
VideoBandwidth=2000
VideoSmoothness=63
VideoSource=1
maxstreams=3
;StartChannel=155
;RemoteLock=yes
;Remote=ProHD_remote.txt

[Red]
sbtype="Solo/Pro/ProHD"
password=xxxxxxxxxx
ipaddress=192.168.1.17
;finderid=BAD95DAED609364C8204F2BC5FBDC363
port=5001
Resolution=12
FrameRate=30
VideoBandwidth=2000
VideoSmoothness=63
VideoSource=1
;RemoteLock=yes
;StartChannel=155
;Remote=solo_remote.txt

[350]
sbtype="350"
password=xxxxxxxxxxxxxxxxxxx
;finderid=E706A7405882C03A076502246DAD632F
ipaddress=192.168.1.12
port=5201
Resolution=12
FrameRate=30
VideoBandwidth=2000
VideoSmoothness=63
VideoSource=0
;Remote=m1_remote.txt

[SERVER]
; local port number for the server to listen on for connections
; port number+1 is used by the remote control code.
port=8085
maxremotestreams=4
URLbase=Paul
;enableremote=yes

Some questions

Gerry,
Thanks for putting this all together.

I have a couple questions.

  1. Say I buy a slingbox off of ebay after sling shuts down their servers later this year. Will there be any way to set that box up using what you have put together? Will there be any way to get the password?
  2. Right now, if someone has the ip and port number to my slingbox server, they're into what ever is connected to my slingbox. Is there any way to require a password for this access?
  3. In the Remote section of config.sys the button color is set. Is there a way to set the color for individual buttons?

Thanks,
JR

Streaming cuts out while watching

Connecting... ('192.168.1.121', 5201) Control
Keycodes= []
VideoParameters: Resolution= 15 FrameRate= 60 VideoBandwidth= 3000 VideoSmoothness= 63 IframeRate= 5 AudioBitRate= 48
Connecting... ('192.168.1.121', 5201) Stream
�Stream started at 08/06/2022, 18:49:25 749 0
........08/06/2022, 18:50:55 1 Clients.(IP edited out)
08/06/2022, 18:50:56 Stream Terminated for (IP edited out) [Errno 11] Resource temporarily unavailable
�Shutting down connections
Streamer: Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox

How do I use remote?

Thank you for allowing us to use our Slingbox. I am connecting my Windows 11 PC with my M1 Slingbox using VLC. I was able to stream live TV with my DirecTV HR24 using VLC with 192.168.2.222/slingbox; however, I do not know how to get the remote to work. Every time I try to open 192.168.2.222/remote with VLC, it says that it is unable to open and look at the log.

The slingbox_server.exe shows
Starting remote control stream handler for ('192.168.2.222', 57346) to port 8081
Remote Control Connected
127.0.0.1 - - [11/Sep/2022 16:04:22] "GET /remote HTTP/1.0" 404 -
Exiting Remote Control Stream Handler for ('192.168.2.222', 57346)

I am not sure how I am supposed to be using the remote function. Please help. Thank you.

slinger.service file

Couldn't get the python script to auto run on startup... edited the slinger.service file to look like below.

Using a raspberrypi
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
VERSION_CODENAME=stretch
ID=raspbian
ID_LIKE=debian

Change made = ExecStart=/usr/bin/python3 -u /home/slingbox/slingbox_server.py
From = ExecStart=/usr/bin/python -u slingbox_server.py

All started to work for me after that. Not sure if it's a good fix or not, but wanted to tell you about what I did to get it to start working.

Thanks!


[Unit]
Description=SlingBox Server Service
After=multi-user.target

[Service]
Type=idle
User=slingbox
WorkingDirectory=/home/slingbox
StandardOutput=append:/tmp/sling.log
StandardError=append:/tmp/sling.log
ExecStart=/usr/bin/python3 -u /home/slingbox/slingbox_server.py
Restart=always

[Install]
WantedBy=multi-user.target

This is so exciting , thank you , but I seem to be just falling short....

Hi , I have tried a few variants with the windows.exe but am getting an error log.

This maybe because I am not sure of the SB350 password, from the attached shot I think it should be 0369 (with no quotation marks) but there a lots of other passwords as well? I do have two SB350s but the second one is currently switched off so should not be interfering.

I have attached the logs, config and port forwarding proof as well to see it I have missed anything, Thank you so much again for this - it's wonderful
SBpass
Config
log
![VLC](
portforward
https://user-images.githubusercontent.com/108595850/177056477-2d7f8970-36c8-4b7b-9213-0435a386a40f.jpg)
.

How will you be able to grab the Slingbox admin password when the servers die?

Is there any way you can grab the admin password from the Slingbox in the case they shut the endpoint down when they discontinue the Slingbox soon? Or is that something we don't know yet? No matter how much you publicize this, I'm sure there will be people that don't know about this project after the discontinuation date.

Nice work on this by the way. I don't think the Slingbox is a relevant technology in 2022, but it's nice to support those who want to use this technology. I wish I got to experience the Slingbox back when it was more relevant.

Pro-HD and remote question

First, want to let you know the server worked straight away with the Slingbox Pro-HD I have. Fantastic job! Streaming video/audio working great. Thank you for all this.

The remote does not work for me yet. I can access the page with buttons and the server sees me pressing them. It sounds like you have not tested with Pro-HD or the specific remote I need to emulate (Xfinity DTA). So, this may not be configured right. I'd like to help figure that out.

Below is what it prints on button press. I see no response from the TV tuner like I pressed the actual remote, but does it look correct? I thought my next step might be to see if the Pro-HD is actually sending any IR signal when I press the button.

Jul 26 08:05:13 ITAM-4 python3[2123]: Remote Control Connected
Jul 26 08:05:13 ITAM-4 python3[2123]: Button Clicked ImmutableMultiDict([('2', '10'), ('Digits', '')])
Jul 26 08:05:13 ITAM-4 python3[2123]: 127.0.0.1 - - [26/Jul/2022 08:05:13] "POST /Remote HTTP/1.1" 200 -
Jul 26 08:05:14 ITAM-4 python3[2123]: Got Streamer Control Message IR b'\n\x00\x00\x00\x00\x00\x00\x00'
Jul 26 08:05:14 ITAM-4 python3[2123]: No request in time, hacker?
Jul 26 08:05:17 ITAM-4 python3[2123]: .07/26/2022, 08:05:17   connection from ('12.68.171.101', 36899)
Jul 26 08:05:17 ITAM-4 python3[2123]: [1B blob data]

Seeing this utf-8 error

slinger error
Seeing this UTF-* unicode error. I think it was triggered by a remote user. Ended up hanging the server and had to reboot my W10 PC. Using config.ini V3.08

DirecTv Remote

Gerry -

First, huge thanks for doing this. I'm incredibly happy being able to continue using my Slingbox.

I'm noticing I'm having a couple of small issues with the DirecTv Remote provided; for some reason the Exit and Last buttons don't seem to function as they should.

Also, might it be possible to add the DirecTv's skip forward and backward buttons?

Many thanks again.

Failed to execute script 'slingbox_server' due to unhandled exception

Very excited by this project. Thank you so much for the work you have done!

Windows exe ✔️
Folder created and files downloaded within ✔️
Virus exception added ✔️
Config file updated with password, IP of Slingbox, and port for Slingbox ✔️

Running on Windows-10-10.0.19044-SP0
Connection Manager Running 10 max streams....
Traceback (most recent call last):
File "slingbox_server.py", line 629, in
Streamer Running:
starting up on port 8080
<style>
ModuleNotFoundError: No module named 'flask'
07/14/2022, 21:23:21 waiting for a connection
[12240] Failed to execute script 'slingbox_server' due to unhandled exception!
Slinginfo ******* 12 30 192.168.86.214 5207
Streamer: Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox

file folder

C:\Slingbox>(
REM if code is not on your C drive switch to the correct drive letter
REM g:
REM use the full pathname to where your code is located
cd slingbox
slingbox_server.exe
REM or if your using python use the full path to whatever python interpreter you're using.
REM "c:\Program Files\Python39\python.exe" slingbox_server.py
)
The directory name is invalid.
Running on Windows-10-10.0.19044-SP0
Connection Manager Running 10 max streams....
Streamer Running:
Traceback (most recent call last):
File "slingbox_server.py", line 629, in
starting up on port 8080
07/14/2022, 21:29:06 waiting for a connection
<style>
ModuleNotFoundError: No module named 'flask'
Slinginfo ******* 12 30 192.168.86.214 5207
[16576] Failed to execute script 'slingbox_server' due to unhandled exception!
Streamer: Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
07/14/2022, 21:29:06 connection from ('192.168.86.75', 64268)
Hacker Alert. Invalid Request from ('192.168.86.75', 64268)
07/14/2022, 21:29:06 waiting for a connection
07/14/2022, 21:29:06 connection from ('192.168.86.75', 64267)
No Get Request in time, hacker?
07/14/2022, 21:29:06 waiting for a connection
07/14/2022, 21:29:06 connection from ('192.168.86.75', 64269)
No Get Request in time, hacker?
07/14/2022, 21:29:06 waiting for a connection
07/14/2022, 21:29:07 connection from ('192.168.86.75', 64270)
No Get Request in time, hacker?
07/14/2022, 21:29:07 waiting for a connection
07/14/2022, 21:29:07 connection from ('192.168.86.75', 64271)
Hacker Alert. Invalid Request from ('192.168.86.75', 64271)
07/14/2022, 21:29:07 waiting for a connection
07/14/2022, 21:29:07 connection from ('192.168.86.75', 64272)
Hacker Alert. Invalid Request from ('192.168.86.75', 64272)
07/14/2022, 21:29:07 waiting for a connection
07/14/2022, 21:29:12 connection from ('192.168.86.75', 64273)
No Get Request in time, hacker?
07/14/2022, 21:29:12 waiting for a connection
07/14/2022, 21:29:12 connection from ('192.168.86.75', 64274)
Hacker Alert. Invalid Request from ('192.168.86.75', 64274)
07/14/2022, 21:29:12 waiting for a connection
07/14/2022, 21:29:12 connection from ('192.168.86.75', 64275)
Hacker Alert. Invalid Request from ('192.168.86.75', 64275)
07/14/2022, 21:29:12 waiting for a connection
07/14/2022, 21:29:17 connection from ('192.168.86.75', 64276)
Hacker Alert. Invalid Request from ('192.168.86.75', 64276)
07/14/2022, 21:29:17 waiting for a connection
07/14/2022, 21:29:17 connection from ('192.168.86.75', 64277)
Hacker Alert. Invalid Request from ('192.168.86.75', 64277)
07/14/2022, 21:29:17 waiting for a connection
07/14/2022, 21:29:17 connection from ('192.168.86.75', 64278)
Hacker Alert. Invalid Request from ('192.168.86.75', 64278)
07/14/2022, 21:29:17 waiting for a connection
07/14/2022, 21:29:19 connection from ('192.168.86.75', 64279)
Hacker Alert. Invalid Request from ('192.168.86.75', 64279)
07/14/2022, 21:29:19 waiting for a connection
07/14/2022, 21:29:19 connection from ('192.168.86.75', 64280)
Hacker Alert. Invalid Request from ('192.168.86.75', 64280)
07/14/2022, 21:29:19 waiting for a connection
07/14/2022, 21:29:19 connection from ('192.168.86.75', 64281)
Hacker Alert. Invalid Request from ('192.168.86.75', 64281)
07/14/2022, 21:29:19 waiting for a connection
0

Config file:

[SLINGBOX]
sbtype=350
password=*******
; uncomment the next lines ipaddress and port with your local network info
; if you don't want the server to automatically find your
; slingbox on the local network. Needed if server and slingbox are
;not on the same LAN segment. ALso removes requirement for the netifaces module
ipaddress=192.168.86.214
port=5207

; Following are the default values
; Default resolution when server starts
Resolution=12

; Valid Values 1, 6, 10, 15, 20, 30, 60 depending on resolution
FrameRate=30

;Min 50 Max 8000
VideoBandwidth=2000

; Min 0 (auto) max 63
VideoSmoothness=63

; Send Iframe every n seconds Max 30
IframeRate=5

; Audio Bit Rate. Valid Options 16, 20, 32, 40, 48, 64, 96 Default 32
AudioBitRate=32

[SERVER]
; local port number for the server to listen on for connections
port=8080
maxstreams=10
enableremote=yes

[REMOTE]
;Key Codes : 1,4,5,9,10,11,12,13,14,15,16,17,18,19,21,22,23,24,25,26,27,28,29,31,32,33,34,35,37,38,39,40,41,42,43,44,45,46,47,53,54,55,56,57,58,59,60
; 1 = power
; 4 = chnl +
; 5 = chnl -74

; 9 = 1
; 10 = 2
; 11 = 3
;.....
; 18 = 0
; 19 = Screen format (Stretch, Wide ..... )
; 21 = chnl +
; 22 = ???
; 23 = DVR
; 24 = Play
; 25 = ???
; 26 = Pause
; 27 = Rewind
; 28 = FF
; 29 = Record
; 31 = Back 10 Seconds
; 32 = ->|
; 33 = Menu
; 34 = OnDemand
; 35 = Guide
; 37 = Exit
; 38 = "Up arrow"
; 39 = "down Arrow"
; 40 = "<-"
; 41 = "->"
; 42 = "OK"
; 43 = Page Up
; 44 = Page Down
; 45 = Favourites
; 46 = Info
; 47 = ???
; 53 = PIP on/off
; 54 = ????
; 55 = ????
; 56 = Last
; 57 = ????
; 58 = LOck PIN
; 59 = Day -
; 60 = Day +

style=.button {
border: none;
color: white;
background-color: blue;
padding: 0px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 70px;
margin: 4px 2px;
cursor: pointer;
}
.text {
border: none;
color: black;
background-color: lightblue;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 70px;
margin: 4px 2px;
cursor: pointer;
}
; button text, key code
buttons='1' : 9
:  
'2' : 10
:  
'3' : 11
:  
'4' : 12
:  
'5' : 13
:  
'6' : 14
:  
'7' : 15
:  
'8' : 16
:  
'9' : 17
:  
:  
'0' : 18
:


'OK' : 42
:  
'Up' : 38
:  
'Down' : 39
:  
'Left' : 40
:  
'Right': 41
:


:  
'Guide' : 35
:  
'Last' : 56
:  
'Exit' : 37
:  
'DVR' : 23
:


'FF' : 28
:  
'Rew' : 27
:  
'Play' : 24
:  
'Pause' : 26
:


'Ch+' : 4
:  
'Ch-' : 5
:  
'Pg-' : 43
:  
'Pg+' : 44
:


'Day-' : 59
:  
'Day+' : 60
:


'Rec' : 29
:  
'OnDemand': 34
:  
'Menu' : 33
:


'Power' : 1
:  
'1920x1080' : 16
:  
'1280x720' : 12
:


'Restart': Restart
:  
'Channel': Channel

Anyway to discover FinderID now?

Discussed in #312

Originally posted by tryin100 November 17, 2022
Now that Slingbox has been shut down is there anyway to discover the Finder ID of the slinbox 500s that I have - or, are they now just landfill?
thanks

Tivo Remote Functions

Just found this, installed it on a raspberry pi - works like a charm ...

... almost.

So my Slingbox is hooked up to a Tivo Mini. The remote has a few more functions that aren't on available via the standard remote. Do you know what these function are? Is there an easy way to find out? I'm tinkering w/ the remote.txt file - that seems pretty easy, but things like the LIVE TV button don't work (function 32 - LIVE isn't it).

lost power cannot reach PR sling

Lost power at my server end during this hurricane.
Got back online and my other 3 in house slingers are fine.
I was able to remote into PR and see correct port forwarding as i thought maybe I didn't save the ini on my end correctly before the power went out. Anyways I'm getting this error:

Error connecting to ('192.168.1.22', 5956)
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Program Files\Python38\lib\threading.py", line 932, in _bootstrap_inn
er
self.run()
File "C:\Program Files\Python38\lib\threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "S:\S2022\SLING VLC\SLING VLC\tommysling\ss.py", line 527, in streamer
boxes = find_slingbox_info()
File "S:\S2022\SLING VLC\SLING VLC\tommysling\ss.py", line 78, in find_slingbo
x_info
import netifaces
ModuleNotFoundError: No module named 'netifaces'

Has to be something easy Gerry :) - Can you assist please?

Cannot get VLC to view stream

This type of configuration is WAY above my expertise. However, I have successfully configured the config.ini file, ran the EXE program (results below) which finds the Slingbox Pro (I noticed some people had issues after the shutdown but mine existed before, as well). When I run VLC using the Open Network Stream, Network Protocol http://192.168.0.254/slingbox and click Play, nothing happens. If I make changes to the Config.ini file I get an error message but at present I get no errors but no video. Also, no matter what password I put in, I do not get any changes (no errors) so is there a way to see if the password is incorrect? I'm pretty sure I have the correct one but several were listed when I ran your script but none give an error. Any help would be greatly appreciated. I am lost without my Slingbox. Below is the stream from the EXE:

Version : 3.08d Running on Windows-10-10.0.22621-SP0 pid= 11072
Using config file config.ini
Connection Manager Running on port 5001 with 10 max streams using URL slingbox.
Streamer Running: 10 config.ini SLINGBOX 5001 5001 8388608
starting up on port 5001 8388608
Checking for slingbox at ('192.168.0.254', 5001)
('192.168.0.254', 5001) OK
5001 Using slingbox at ('192.168.0.254', 5001)
Streamer: 5001 Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox

  • Serving Flask app 'slingbox_server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off

Syntax Error

My log is throwing a syntax error
SyntaxError: invalid syntax
File "slingbox_server.py", line 331
nonlocal sid, seq, s_ctl, dbuf, skey, stat, smode
^

Docker image

Any interest in a dockerfile for this? I started to flesh one out but haven't been able to test it yet with a live slingbox:

FROM python:3-slim-buster

# need this to install netifaces
RUN apt-get update -y && apt-get install apt-file -y && apt-file update && apt-get install -y python3-dev build-essential

RUN pip3 install Flask
RUN pip3 install requests
RUN pip3 install netifaces

WORKDIR /home/slingbox
COPY slingbox_server.py slingbox_server.py

CMD [ "python3", "./slingbox_server.py", "/home/slingbox/config/config.ini"]

Then just build the image

docker build -t slinger:1 .

And run it with a link to the directory containing the config.ini file:

docker run -d -v ~/config/:/home/slingbox/config/ slinger:1

new router , same files - 500 won't connect again

500 works fine with normal paid app

I get this running python. only thing changed is my router....

S:\S2022\SLING VLC\SLING VLC\ST500_2022>ss.py config.ini
Version : 3.07 Running on Windows-7-6.1.7601-SP1 pid= 9832
Using config file config.ini
Connection Manager Running on port 5960 with 10 max streams....
Streamer Running: 10 config.ini 5960
starting up on port 5960
Checking for slingbox at ('192.168.1.88', 5224)
Reading Custom Remote definition from S:\S2022\SLING VLC\SLING VLC
mote_500.txt

  • Serving Flask app 'ss'
  • Debug mode: off
    WARNING: This is a development server. Do not use it in a productio
    Use a production WSGI server instead.
  • Running on all addresses (0.0.0.0)
  • Running on http://127.0.0.1:5961/
  • Running on http://192.168.1.8:5961/
    Press CTRL+C to quit
    Error connecting to ('192.168.1.88', 5224)
    Exception in thread Thread-2:
    Traceback (most recent call last):
    File "C:\Program Files\Python38\lib\threading.py", line 932, in _
    er
    self.run()
    File "C:\Program Files\Python38\lib\threading.py", line 870, in r
    self._target(*self._args, **self._kwargs)
    File "S:\S2022\SLING VLC\SLING VLC\ST500_2022\ss.py", line 527, i
    boxes = find_slingbox_info()
    File "S:\S2022\SLING VLC\SLING VLC\ST500_2022\ss.py", line 78, in
    x_info
    import netifaces
    ModuleNotFoundError: No module named 'netifaces'
    08/31/2022, 02:33:01 RemoteControl connection from ('192.168.1.8'

Starting remote control stream handler for ('192.168.1.8', 56592)
Remote Control Connected
Remote Code: 2 0x0 0x0 0x2
Button Clicked ImmutableMultiDict([('Power', '1'), ('Digits', '')])

Trying to get it working

Hello, Firstly, wow, I am so grateful to you for your ingenuity in creating this. I've been using Slingboxes for nearly 20 years and I cannot imagine life without them, I've been trying to get this working but the VLC player just has a yellow box flashing backwards and forwards then throws an error message. I guess I've not configured the config.ini correctly. I'm a bit confused about the ports for the server and the slingbox. Should they be the same?

Version : 3.07 Running on Windows-10-10.0.19043-SP0 pid= 5804
Using config file config.ini
Connection Manager Running on port 5201 with 10 max streams....
Streamer Running: 10 config.ini 5201
starting up on port 5201
Checking for slingbox at ('192.168.1.12', 5201)
('192.168.1.12', 5201) OK
Using slingbox at ('192.168.1.12', 5201)
Streamer: Slingbox 350 Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
Reading Custom Remote definition from remote.txt

  • Serving Flask app 'slingbox_server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on all addresses (0.0.0.0)
    WARNING: This is a development server. Do not use it in a production deployment.
  • Running on http://127.0.0.1:5202
  • Running on http://192.168.1.29:5202 (Press CTRL+C to quit)
    09/06/2022, 22:21:07 Registering Slingboxes {'F295CFD982844A04220F7DD45E09671B': 5201}
    Getting external IP address
    Redirector, my external IP address 86.172.102.151
    Registering F295CFD982844A04220F7DD45E09671B:5201

Register Successful

Any thoughts?

over the air tv antenna source

Hi,

Everything is working fine with a Pro-HD but I could not use the remote to change channel?
Is there a way to change channel using source "over the air" coax antenna? This does not involve IR.

Thanks

Ich bekomme keine Verbindung zum VLC

Version : 3.08d Running on Windows-10-10.0.19045-SP0 pid= 10024
Using config file config.ini
Connection Manager Running on port 8080 with 1 max streams using URL Gerry.
BOXES [('sb1', 'M1')]
Streamer Running: 1 config.ini M1 M1 8080 8388608
starting up on port 8080 8388608
Checking for slingbox at ('192.168.0.193', 5304)
('192.168.0.193', 5304) OK
Slingbox M1 Using slingbox at ('192.168.0.193', 5304)
Streamer: Slingbox M1 Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
Building page for M1

  • Serving Flask app 'slingbox_server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
    Hacker Alert. Invalid Request from ('127.0.0.1', 55761)
    GET /slingbox HTTP/1.1
    Host: 127.0.0.1:8080
    Accept: /
    Accept-Language: de
    User-Agent: VLC/3.0.12 LibVLC/3.0.12
    Range: bytes=0-

Hacker Alert. Invalid Request from ('127.0.0.1', 55762)
GET /slingbox HTTP/1.0
Host: 127.0.0.1:8080
User-Agent: VLC/3.0.12 LibVLC/3.0.12
Icy-MetaData: 1

Was mache ich falsch?

Slingbox connection stopped working around Midnight

Version : 3.08d Running on Linux-5.15.76-v7+-armv7l-with-glibc2.31 pid= 671
Using config file config.ini
Connection Manager Running on port 8080 with 10 max streams using URL slingbox.
Streamer Running: starting up on port 808010 8388608config.ini
SLINGBOX 8080 8080 8388608
8080 No valid slingbox ip info found in config.ini
Finding Slingbox on local network. My IP Info = b8:27:eb:75:b4:a4
Finding Slingbox on local network. My IP Info = 192.168.1.16
Slingbox Found 192.168.1.11 5001 " SA_Slingbox " FinderID
Reading Custom Remote definition from Tivo.Series2-3.Remote.txt

  • Serving Flask app 'slingbox_server'
  • Debug mode: off
    8080 Using slingbox at ('192.168.1.11', 5001)
    Streamer: 8080 Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
    11/10/2022, 00:17:00.033 Streaming request from ('192.168.1.12', 39572)

Slinginfo "Solo/Pro/ProHD" 10 30 192.168.1.11 5001 3000 10
8080 Starting Stream for 192.168.1.12:39572
Connecting... ('192.168.1.11', 5001) Control
cmd: 0x67 err: 0x2b 8
8080 Error Starting Session. Check your admin password in config.ini file!
8080 ERROR: Slingbox session startup failed.
8080 Logging Out
EXCEPTION [Errno 32] Broken pipe 0x101 0 0x68 0 3 0 0x2000 0x0
11/10/2022, 00:31:49.600 Streaming request from ('192.168.1.13', 51264)
11/10/2022, 00:34:16.004 Streaming request from ('192.168.1.13', 51267)

Thanks for this project. I hope this isn't a fatal problem related to SB servers going down.

I tried rebooting the pi server box and the slingbox. Tried connecting from different machines.

Let me know if you need any other info.

allow keys from Oz

hi Gerry,

I have been closely following the issues raised and saw today that you block outside N.America. can you please allow the server with the keys to be accessed from your friends down under in Australia?

thanks in advance.

New check_ip function allows several fails before returning false

When the Pi reboots, it can take some time before it finds the Slingbox at the IP in the Config.ini. Since I had trouble installing netifaces, I wrote a different check_ip function which tries to connect N times before giving up. It seems to always work from my testing, sometimes taking 4-5 trials before success.

def check_ip( sling_net_address):
    for i in range(10):
      print('Checking for slingbox at', sling_net_address)
      s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
      s.settimeout(2)
      try:
          s.connect(sling_net_address)
          print(sling_net_address, 'OK')
          return True
      except:
          print("iter", i)
          print('Error connecting to ', sling_net_address) 
          s.close()
          time.sleep(1)
          if i == 10: return False

Server not running on Windows 10 Home

Hello, after the success earlier, I thought I'd install the server on an old laptop running a fresh install of Windows 10 Home. When I run the RunSling.bat file, the screen rolls over with the error 'This version of C:...\slingbox_server.exe is not compatible with the version of Windows you're running'.

If I try to run the sling-server.exe file, I get a Windows' error stating 'This app can't run on your PC'.

The server works perfectly on other Windows 10 laptops. What am I missing?
Thank you
Paul

Is it possible to change the url slingbox?

I wonder if it is possible to allow user to change the url from slingbox to something else?
How about if we take the name value in the config.ini and add it the url.
Foe example, if name=ts/0, then the url becomes http://ip:8080/ts/0

This is for security reason, if someone know my ip, he maybe able to randomly guess the port.
Just a suggestion. We can always change the maxstreams=1 anyway.

Works great when I run python code in Thonny Python IDE, but

Works great when I run python code in Thonny Python IDE on my raspberry pi, but when I copy sling.service and try to enable with systemctl it gets an error -

root@pihole:/tmp# cat sling.log
File "slingbox_server.py", line 363
nonlocal sid, seq, s_ctl, dbuf, skey, stat, smode
^
SyntaxError: invalid syntax

error

Gerry, hi. Hey thanks for doing this. Excited to keep using my slingbox. getting this error?
thanks for any ideas.

image

Any ways to change the remote .bin file?

I have a slingbox 500 and work well with the Slinger. Really appreciate all your great works. However I got trouble while I decide to change my cable box provider. I get used to configure the remote function with the .bin file, for me it will be like C2010_PL.bin. Is it possible to configure new .bin file while the slingbox official server is already shut down?

Server up, but cannot connect to Sling through VLC

Hello,

Thank you SO MUCH for all the work you put into this and for us to be able to continue using our Slingboxes!!!!!! Lots of love from Canada!

I got to the point of trying to connect to my sling through VLC, but keep getting 'your input can't be opened'.

I am entering http://192.168.1.61 into VLC. I have also tried http://192.168.1.61:5201 with the same result.

I do have multiple slingboxes (350 and 500) and get the same result for both.

I updated the FinderID to my slingboxes FinderID in the config file (along with the IP and port).

When I run slingbox_server.exe I get:

Version : 3.08d Running on Windows-8.1-6.3.9600-SP0 pid= 3448
Using config file config.ini
Connection Manager Running on port 8080 with 10 max streams using URL slingbox.
Streamer Running: 10 config.ini SLINGBOX 8080 8080 8388608
starting up on port 8080 8388608
Checking for slingbox at ('192.168.1.61', 5201)
('192.168.1.61', 5201) OK
8080 Using slingbox at ('192.168.1.61', 5201)
Streamer: 8080 Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
Reading Custom Remote definition from remote.txt

  • Serving Flask app 'slingbox_server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off

I've added the exception of the slingbox folder and slingbox_server.exe in my Antivirus (Kaspersky).

Any idea as to what I could be doing wrong or can point me in the right direction? Thank you!

only getting onto remote slingbox from client running your server.exe in another state

It has been working for days (eight) and then it worked fine Friday night thru Sunday night.
(watched both NFL and then Men's USOpen tennis immediately after yesterday).
We added the script (friday evening) to boot up with PR and it worked all weekend.

So today I come home from work and the one slingbox that is not on my home network won't connect from my laptop downstairs.
I rebooted both my router and the remote (out of state) router. Now, I can only connect to that out of state slingbox using the desktop I have upstairs that is the server for all the slingboxes. I've changed nothing in 3 days. (Wasn't even home to change things anyways). I'm seeing no errors on slingserver python script when it starts on my desktop server. This is very confusing why it works on only one client.

Any ideas Gerry?

Rename config.ini to config.ini.sample

First of all, thank-you 100 times for your work.

Any thoughts on renaming config.ini to config.ini.sample (or something similar) so we can do simple git pulls without conflicts ?

after upgrade to v3.08 status no more work

before upgrade status in remote web page display how many client connection , now no more only say waiting for first client .
is my configuration problem or have a bug?

test code works with 500 remote but not 3.07 itself

Same ini . box streams fine but I get these errors on 3.07 (below that is 3.08T)

I've only gotten the 500 remote to work with 2.06 version weeks ago.

3.07 Running on Windows-10-10.0.19044-SP0 pid= 23472
Using config file config.ini
Connection Manager Running on port 8080 with 10 max streams....
Streamer Running: 10 config.ini 8080
starting up on port 8080
Checking for slingbox at ('192.168.1.88', 5224)
('192.168.1.88', 5224) OK
Using slingbox at ('192.168.1.88', 5224)
Streamer: 500 single slot downstairs Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
Reading Custom Remote definition from C:\temp\ST500_2022\remote_500.txt
Traceback (most recent call last):
File "slingbox_server.py", line 1108, in
File "slingbox_server.py", line 1063, in BuildPage
File "slingbox_server.py", line 898, in parse_buttons
ValueError: not enough values to unpack (expected 2, got 1)
[23472] Failed to execute script 'slingbox_server' due to unhandled exception!

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Version : 3.08t Running on Windows-10-10.0.19044-SP0 pid= 9620
Using config file config.ini
Connection Manager Running on port 8080 with 10 max streams....
Streamer Running: 10 config.ini 8080
starting up on port 8080
Checking for slingbox at ('192.168.1.88', 5224)
('192.168.1.88', 5224) OK
Using slingbox at ('192.168.1.88', 5224)
Streamer: 500 single slot downstairs Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
Reading Custom Remote definition from C:\temp\ST500_2022\remote_500.txt
ERROR parsing buttons in remote control file.
Line number 126 Contents ; [1, 4, 5, 6, 7, 8, 9.., 10.., 11.., 12.., 13.., 14.., 15.., 16.., 17.., 18.., 21 last, 24pause, 25, 26, 27, 28???, 29, 32???, 33, 35, 36???, 38, 39, 40, 41, 42_, 43???, 44, 45..., 46, 53pip, 56, 57, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69!!!!, 70, 74, 75, 76, 77]

  • Serving Flask app 'slingbox_server_test' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on all addresses (0.0.0.0)
    WARNING: This is a development server. Do not use it in a production deployment.
  • Running on http://127.0.0.1:8081
  • Running on http://192.168.1.86:8081 (Press CTRL+C to quit)
    08/18/2022, 17:36:54 Streaming connection from ('192.168.1.86', 55412)

Slinginfo "350/500/M1" 12 30 192.168.1.88 5224 3072
500 single slot downstairs Starting Stream for 192.168.1.86:55412
Connecting... ('192.168.1.88', 5224) Control
500 single slot downstairs Selecting Video Source 2
Keycodes= [1, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 21, 24, 25, 26, 27, 28, 29, 32, 33, 35, 36, 38, 39, 40, 41, 42, 43, 44, 45, 46, 53, 56, 57, 59, 60, 62, 63, 64, 65, 66, 67, 68, 69, 70, 74, 75, 76, 77]
VideoParameters: Resolution= 12 FrameRate= 30 VideoBandwidth= 2000 VideoSmoothness= 63 IframeRate= 5 AudioBitRate= 64
Connecting... ('192.168.1.88', 5224) Stream
500 single slot downstairs Stream started at 08/18/2022, 17:37:05 744 0
08/18/2022, 17:37:15 RemoteControl connection from ('192.168.1.86', 55446)
.
Starting remote control stream handler for ('192.168.1.86', 55446) to port 8081
Remote Control Connected
127.0.0.1 - - [18/Aug/2022 17:37:15] "GET /Remote HTTP/1.1" 200 -
Exiting Remote Control Stream Handler for ('192.168.1.86', 55446)
.......08/18/2022, 17:38:35 500 single slot downstairs 1 Clients.192.168.1.86:55412
..08/18/2022, 17:38:56 RemoteControl connection from ('192.168.1.86', 55469)

Two Slingboxes

I had this working with one of my slingboxes remotely. Then I tried to connect to the other one and now I can't get either one to connect.

I have the .dat file and I put the config back to the original/first settings. When I run the bat file, it seems to be working ok but when I use vlc to connect to the slingbox, no video, nada. It just seems to time out.

Here is the log for a current run for the first box.

D:\Slingbox>(
REM if code is not on your C drive switch to the correct drive letter
REM g:
REM use the full pathname to where your code is located
cd d:/slingbox
slingbox_server.exe
REM or if your using python use the full path to whatever python interpreter you're using.
REM "c:\Program Files\Python39\python.exe" slingbox_server.py
)
Version : 1.01 Running on Windows-10-10.0.19044-SP0
Connection Manager Running 10 max streams....
Streamer Running:
starting up on port 8080
Checking ('104.48.112.24', 5201)
Using slingbox at ('104.48.112.24', 5201)
Streamer: Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox

  • Serving Flask app 'slingbox_server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on all addresses (0.0.0.0)
    WARNING: This is a development server. Do not use it in a production deployment.
  • Running on http://127.0.0.1:9998
  • Running on http://192.168.2.116:9998 (Press CTRL+C to quit)

Is there some way to flush everything and start over? And how to set up for two boxes?

Thanks

Any other way to retrieve Admin Password?

Hi, thanks for this.... Unfortunately I was unable to obtain Admin password from URL even though I accessed once via the link in time.

I was wondering if there is another way to skin this cat?
Today while I was on the same network as Slingbox (11/14/2022) via my Samsung Note, I was able to control Slingbox and stream locally to my phone but then I messed up and tried to access remotely, after that I was no longer able to access or stream again.

Do you think I can find the admin password somewhere on my Android phone (in some cache), other phones I have not used in a while? Perhaps if I reload the Sling Desktop software (I remember a special ID when I first installed) or look at an older XP computer that used to access my sling?

Grasping at strawas trying to keep my Sling alive.... Thanks in advance!

Fail to fetch Keys.dat

Hi Gerry,

I have run the server on a proxmox container, but failed to fetch the keys.dat. Following are the log file. Only IP and port in config.ini was changed and the firewall of the server has been disable. It will be greatly appreciated to know what's wrong I have made.
Thank you very much in advance.

Version : 1.01 Running on Linux-5.15.39-1-pve-x86_64-with-glibc2.31
Connection Manager Running 10 max streams....
Streamer Running:
starting up on port 8080
Checking ('10.88.88.37', 5222)
Using slingbox at ('10.88.88.37', 5222)
Streamer: Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox

  • Serving Flask app 'slingbox_server' (lazy loading)
  • Environment: production
    WARNING: This is a development server. Do not use it in a production deployment.
    Use a production WSGI server instead.
  • Debug mode: off
  • Running on all addresses (0.0.0.0)
    WARNING: This is a development server. Do not use it in a production deployment.
  • Running on http://127.0.0.1:9998
  • Running on http://10.88.88.250:9998 (Press CTRL+C to quit)
    07/21/2022, 03:19:09 connection from ('10.88.88.2', 59422)

Slinginfo 500 huc**********O9H0 12 30 10.88.88.37 5222 3072
Starting Stream for 10.88.88.2:59422
Connecting... ('10.88.88.37', 5222) Control
CHALLANGE 4f42722b29b802d74616a64c78e0a6d4
Badness starting slingbox session unpack requires a buffer of 16 bytes

In keys.dat

<title>403 Forbidden</title>

Forbidden

You don't have permission to access this resource.

I'm a hacker apparently

All I get are empty responses or failures to connect.

Hacker Alert. Invalid Request from ('192.168.0.58', 40786)
Hacker Alert. Invalid Request from ('192.168.0.58', 40787)
Hacker Alert. Invalid Request from ('192.168.0.58', 40814)
Hacker Alert. Invalid Request from ('192.168.0.58', 40815)
Hacker Alert. Invalid Request from ('192.168.0.58', 40816)
192.168.0.58 - - [12/Aug/2022 22:03:23] "GET / HTTP/1.1" 404 -
192.168.0.58 - - [12/Aug/2022 22:03:23] "GET /favicon.ico HTTP/1.1" 404 -
192.168.0.58 - - [12/Aug/2022 22:03:36] "GET / HTTP/1.1" 404 -
192.168.0.58 - - [12/Aug/2022 22:03:36] "GET / HTTP/1.0" 404 -
192.168.0.58 - - [12/Aug/2022 22:05:34] "GET / HTTP/1.1" 404 -
Hacker Alert. Invalid Request from ('192.168.0.58', 40957)
No request in time, hacker? ('192.168.0.58', 40958)
Hacker Alert. Invalid Request from ('192.168.0.58', 40960)
Hacker Alert. Invalid Request from ('192.168.0.58', 40961)
Hacker Alert. Invalid Request from ('192.168.0.58', 40962)

keys.dat

Hi Gerry

I am new to the party here, very excited that my collection of Slingboxes may survive longer than just Nov. Thanks lots for your work Gerry. I have the server up and running on windows and have extracted the slingbox admin passwords and amended the config file with my Slingbox IP, Port & password. I hoped that the first use would generate a keys.dat file but unfortunately that didn't happen? I have tried to use VLC and MXPlayer to connect to the slingbox but that doesn't work, I am guessing because of the missing file.

Any suggestions on how to get the correct file?

Many thanks

image

image

Config.ini updates

3 minor issues

There are no video sources laid out for the pro model. I don't know what they should be but if I find out I will add that info

Also the 350 model isn't shown, it is the same as the 350/M1/M2 0=composite 1=component

In the Config.ini it says the M1 model has S-video, it doesn't, it is the same as the M2 0=composite 1=component

Video Source 0, 1, 2, 3 depending on your hardware corresponds to one of
; Composite, Component, S-Video, HDMI or Tuner.
; ProHD: 0=Tuner 1=Composite 2=S-Video 3=Component
;Solo/M1: 0=Composite 1=S-Video 2=Component
; 500: 0=Composite 1=Component 2=HDMI
; M2: 0=Composite 1=Component

Password Extraction

I'm glad to see all of the progress you've made in reverse engineering the Slingbox protocol. Do you have any thoughts for how to extract admin passwords, particularly after Nov. 9, 2022? This would go a long way to keeping Slingboxes operational into the future.

Older slingbox connected but no audio

Hi, Thankyou for your work.
I have a older slingbox model SB240-100 connected video is working but no sound. I am going start looking at your code slingbox_server.py probably something in the audio header when I have time. Any ideas what to start looking at?

Thanks

Config:
[SLINGBOX]
sbtype="Solo/Pro/ProHD"
password=xxxx
ipaddress=15.0.0.254
port=5001

[SERVER]
; local port number for the server to listen on for connections
port=8080
maxstreams=10
enableremote=yes
Log:
Streamer: Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
09/17/2022, 13:37:07 Streaming connection from ('15.0.0.232', 49980)
Slinginfo "Solo/Pro/ProHD" xxxx 12 30 15.0.0.254 5001 3000
Starting Stream for 15.0.0.232:49980
Connecting... ('15.0.0.254', 5001) Control
VideoParameters: Resolution= 12 FrameRate= 30 VideoBandwidth= 2000 VideoSmoothness= 63 IframeRate= 5 AudioBitRate= 64
cmd: 0xb5 err: 0x26 0
Connecting... ('15.0.0.254', 5001) Stream0
Stream started at 09/17/2022, 13:37:08 557 0

Slingbox endpoint staying up?

We have a family friend named Dave, which is the reason why we have a Slingbox. He used to work for the company.

He said he's been observing GitHub repositories for Slingbox stuff. He said he was talking to their old founder "about what to tell our friends" and "asked [his] old dev team to look at Slinger". I'm not making this up.

With any luck, the server can still be up to obtain the password.

Dave, if you're reading this, sorry I didn't consult you before making a post regarding this.

OSError: [Errno 98] Address already in use

Had it working, ran into an error, decided to start over, now have the following error. Thoughts?

Python 3.5.3 (/usr/bin/python3)

%Run slingbox_server.py
Version : 1.01 Running on Linux-4.19.66-v7+-armv7l-with-debian-9.13
Connection Manager Running 10 max streams....
Streamer Running:
starting up on port 8080
Checking ('192.168.86.172', 5222)
Using slingbox at ('192.168.86.172', 5222)
Streamer: Waiting for first stream, flushing any IR requests that arrive while not connected to slingbox
Traceback (most recent call last):
File "/home/slingbox/slingbox_server.py", line 818, in
app.run(host='0.0.0.0', port=9998, debug=False)
File "/usr/lib/python3/dist-packages/flask/app.py", line 841, in run
run_simple(host, port, self, **options)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 708, in run_simple
inner()
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 670, in inner
fd=fd)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 564, in make_server
passthrough_errors, ssl_context, fd=fd)
File "/usr/lib/python3/dist-packages/werkzeug/serving.py", line 476, in init
HTTPServer.init(self, (host, int(port)), handler)
File "/usr/lib/python3.5/socketserver.py", line 440, in init
self.server_bind()
File "/usr/lib/python3.5/http/server.py", line 138, in server_bind
socketserver.TCPServer.server_bind(self)
File "/usr/lib/python3.5/socketserver.py", line 454, in server_bind
self.socket.bind(self.server_address)
OSError: [Errno 98] Address already in use

From Slingbox
192.168.86.172
Network port
5222

[SLINGBOX]
sbtype=350/500
password=GPgyF9IIGNUUn04
; uncomment the next lines ipaddress and port with your local network info
; if you don't want the server to automatically find your
; slingbox on the local network. Needed if server and slingbox are
; not on the same LAN segment. ALso removes requirement for the netifaces module
ipaddress=192.168.86.172
port=5222

; Following are the default values
; Default resolution when server starts
;Resolution=12

; Valid Values 1, 6, 10, 15, 20, 30, 60 depending on resolution
;FrameRate=30

;Min 50 Max 8000
;VideoBandwidth=2000

; Min 0 (auto) max 63
;VideoSmoothness=63

; Send Iframe every n seconds Max 30
;IframeRate=5

; Audio Bit Rate. Valid Options 16, 20, 32, 40, 48, 64, 96 Default 32
;AudioBitRate=32

[SERVER]
; local port number for the server to listen on for connections
port=65432
maxstreams=10
enableremote=yes

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.