GerryDazoo / Slinger

Reuse SlingBox hardware without SlingBox Servers
170 stars 34 forks source link

test code works with 500 remote but not 3.07 itself #28

Closed sp222222 closed 1 year ago

sp222222 commented 1 year ago

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\remote500.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]

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)

GerryDazoo commented 1 year ago

Based on our testing the other night you don’t need any of the new code in 3.08t. So you should be able to use 3.07 but you need to revert the code= line in the config.ini that we made for 3.08t. Change the 0,1 or 0,2 to just 1 or 2. That’s the error you’re seeing when running 3.07.

From: sp222222 @.> Sent: Thursday, August 18, 2022 6:51 PM To: GerryDazoo/Slinger @.> Cc: Subscribed @.***> Subject: [GerryDazoo/Slinger] test code works with 500 remote but not 3.07 itself (Issue #28)

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\remote500.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]

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)

— Reply to this email directly, view it on GitHub https://github.com/GerryDazoo/Slinger/issues/28 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYOYVQPUMRR6GASWCNXNFNLVZ2V3TANCNFSM566VKGWQ . You are receiving this because you are subscribed to this thread. https://github.com/notifications/beacon/AYOYVQI3R5G7W5DUOOC6CCTVZ2V3TA5CNFSM566VKGW2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4UAXABZA.gif Message ID: @. @.> >

sp222222 commented 1 year ago

thanks for getting this all straightened out Gerry. spinning like a top now.

GerryDazoo commented 1 year ago

going to close this. thx Mike