Comments (7)
You can try the 350/500 slingbox type.
If you want to there's some parsing of the Solo header to hack some audio stuff but I just cloned some existing code and not really sure what it does,except it works.
Line 446
if Solo:
tbd = 0
audio_header = b'\x91\x07\xDC\xB7\xB7\xA9\xCF\x11\x8E\xE6\x00\xC0\x0C\x20\x53\x65\x72'
audio_header_pos = first_buffer.find( audio_header ) + 0x60 # find audio hdr
first_buffer[audio_header_pos:audio_header_pos+10] = pack("H 8x", 0x9012)
from slinger.
Thanks for the quick reply. I changed the following:
config.ini:
sbtype=Solo
slingbox_server.py:
changed line
448 audio_header = b'\x91\x07\xDC\xB7\xB7\xA9\xCF\x11\x8E\xE6\x00\xC0\x0C\x20\x53\x65\x72'
to
448 audio_header = b'\xA1\xDC\xAB\x8C\x47\xA9\xCF\x11\x8E\xE6\x00\xC0\x0C\x20\x53\x65\x68'
Now audio is working. Not really sure what the change does other than tells the code where the audio stream starts I guess.
I am not a python coder but if we add and sbtype for "SB240-100" and another "if SB240-100:" with the different audio_header.
Thanks
from slinger.
Will do. Many thanks. It will be in the 3.08 release coming soon.
from slinger.
A quick question, how did you come up with that magic string?
from slinger.
I uncommented line 442
442 # print( 'FIRST', type(first_buffer), pbuf(first_buffer))
Which displayed hexcode
from slinger.
FIRST <class 'bytearray'> 000000 30 26 b2 75 8e 66 cf 11 a6 d9 00 aa 00 62 ce 6c
000016 fb 01 00 00 00 00 00 00 05 00 00 00 01 02 a1 dc
000032 ab 8c 47 a9 cf 11 8e e4 00 c0 0c 20 53 65 68 00
000048 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000064 00 00 00 00 00 00 2d 02 00 00 00 00 00 00 00 00
000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 c3
000096 c9 01 00 00 00 00 00 00 00 00 00 00 00 00 b8 0b
000112 00 00 00 00 00 00 01 00 00 00 b8 0b 00 00 b8 0b
000128 00 00 00 bd 1f 00 b5 03 bf 5f 2e a9 cf 11 8e e3
000144 00 c0 0c 20 53 65 2e 00 00 00 00 00 00 00 11 d2
000160 d3 ab ba a9 cf 11 8e e6 00 c0 0c 20 53 65 06 00
000176 00 00 00 00 33 26 b2 75 8e 66 cf 11 a6 d9 00 aa
000192 00 62 ce 6c 50 00 00 00 00 00 00 00 12 00 18 00
000208 00 00 04 00 00 00 53 00 6c 00 69 00 6e 00 67 00
000224 62 00 6f 00 78 00 00 00 53 00 6c 00 69 00 6e 00
000240 67 00 20 00 4d 00 65 00 64 00 69 00 61 00 00 00
000256 31 00 00 00 91 07 dc b7 b7 a9 cf 11 8e e6 00 c0
000272 0c 20 53 65 85 00 00 00 00 00 00 00 c0 ef 19 bc
000288 4d 5b cf 11 a8 fd 00 80 5f 5c 44 2b 00 57 fb 20
000304 55 5b cf 11 a8 fd 00 80 5f 5c 44 2b 00 00 00 00
000320 00 00 00 00 37 00 00 00 00 00 00 00 02 00 00 00
000336 00 00 40 01 00 00 f0 00 00 00 02 2c 00 2c 00 00
000352 00 40 01 00 00 f0 00 00 00 01 00 18 00 57 4d 56
000368 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000384 00 00 00 00 00 4f f9 c0 89 91 07 dc b7 b7 a9 cf
000400 11 8e e6 00 c0 0c 20 53 65 72 00 00 00 00 00 00
000416 00 40 9e 69 f8 4d 5b cf 11 a8 fd 00 80 5f 5c 44
000432 2b 50 cd c3 bf 8f 61 cf 11 8b b2 00 aa 00 b4 e2
000448 20 00 00 00 00 00 00 00 00 1c 00 00 00 08 00 00
000464 00 01 00 00 00 00 00 61 01 02 00 00 7d 00 00 a0
000480 0f 00 00 00 06 10 00 0a 00 00 90 00 00 17 00 00
000496 06 00 00 01 00 06 00 06 01 00 00 36 26 b2 75 8e
000512 66 cf 11 a6 d9 00 aa 00 62 ce 6c 32 00 00 00 00
000528 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
000544 00 00 00 00 00 00 00 00 00 00 00 01 01
from slinger.
thx, Code is in next version 3.08 coming soon
from slinger.
Related Issues (20)
- Slingbox device adminpassword recovery HOT 2
- sb500 random streaming freezes on mac vlc player HOT 1
- Issue streaming SB500 after upgrade to 4.0 HOT 3
- New FIOS html remote HOT 2
- SlingerPlayer 4.0 not ready for prime time HOT 17
- Ist es möglich Slingbox Server auch auf einem NAS zu Installieren? HOT 1
- Always show login return session startup failed error...
- Custom remote ProHD_Tuner.txt channel number button doesn't work HOT 1
- what to set videosource= for 240 AV, I get Slingbox returned error trying to set video parameters thx HOT 3
- Issues after updating to 4.0 (I think) HOT 5
- Debian upgrade to 12 error HOT 1
- SB220-100 what is sbtype?
- Slingbox Pro factory reset , error when connecting HOT 3
- Regression: v4.0: Rounded corners on remote buttons no longer render properly HOT 2
- v4.0+: Slingbox status no longer shows at bottom of "Remote" web page. HOT 1
- Duplicate/repeat command sent when remote page is left open and reloaded
- Internal Server Error when using nginx proxy manager HOT 3
- video plays for 1 sec, frame freezes. audio continues playing fine HOT 1
- Installation issue with current repository structure HOT 2
- Slingbox 500 has stopped working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slinger.