GerryDazoo / Slinger

Reuse SlingBox hardware without SlingBox Servers
174 stars 35 forks source link

Some questions #12

Closed Mover480 closed 2 years ago

Mover480 commented 2 years ago

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

GerryDazoo commented 2 years ago

From: Mover480 @.> Sent: Monday, July 25, 2022 6:32 PM To: GerryDazoo/Slinger @.> Cc: Subscribed @.***> Subject: [GerryDazoo/Slinger] Some questions (Issue #12)

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?

Based on what I know now. There is no way to recover the passwords for the 500’s. There may be a way to reset the password on the Solo but that’s not on my radar at this point. My hope is the back office servers that have to user account information may stay alive but only time will tell.

  1. 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?

Besides the IP and port they would also need to know to use /slingbox in the request. Let me think about allowing the user to configure the URL. Security through obfuscation. You could use your firewall to only allow access from IP addresses you trust.

  1. In the Remote section of config.sys the button color is set. Is there a way to set the color for individual buttons?

Yes. I think that should be possible with multiple style definitions but I don’t have time to look into now. I’ve got Solo remote control issues I need to sort out first.

Thanks, JR

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

GerryDazoo commented 2 years ago

OK. The latest version 2.05 allows you to specify individual styles per button. So for example in the styles section of the [REMOTE] section in config.ini you could have something like below which defines the default button style and a red-button style. 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; }

.red-button {
  border: none;
  color: white;
  background-color: red;
  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;
}

Then you can at the button class to the button definition i.e.

buttons='1' : 9 :   '2' : 10 : red-button :   '3' : 11 .....

This would make the "2" button red.

Mover480 commented 2 years ago

Thanks Gerry

I updated the Tivo Bolt Remote file but am unable to upload it into the Custom Remote section.

It says: Uploads are disabled. File uploads require push access to this repository.

So I'll just attach it here for you to upload. You can delete the other one if you wish.

New Tivo Bolt Remote.txt

JR

GerryDazoo commented 2 years ago

What kind of boxes are you using? I've got a guy with a Solo box who says no buttons work on his remote. All thought it's working fine for the Solo at my house.

Mover480 commented 2 years ago

I have two Slingbox 500's. So I can't help out with the Solo remote

One Slingbox is connected to a Tivo Bolt and the other one is connected to a Tivo Premiere. Since the 500's can have three different inputs (composite, component, HDMI), will your code be able to select the input or will it use whatever the box is currently set to. In the future, without the desktop slingplayer, we may not be able to have an input control option.

The slingbox connected to the Bolt has a video resolution in VLC of 1280x720. It uses an HDMI cable for input from the Tivo. The slingbox connected to the Premiere has a video resolution in VLC of 1280x540. It uses component cables from the Tivo. I don't understand where the 540 is coming from. Both Tivo's are set to a video resolution of 1080i and display just fine on HD TV's. Any ideas?

JR

GerryDazoo commented 2 years ago

I’ve seen this. I’ve got some notes somewhere. The slingbox does not “down convert” to just throws away every second scan line. So 1920x1080 turns into a resolution blah:540.

From: Mover480 @.> Sent: Tuesday, July 26, 2022 7:08 PM To: GerryDazoo/Slinger @.> Cc: GerryDazoo @.>; Comment @.> Subject: Re: [GerryDazoo/Slinger] Some questions (Issue #12)

I have two Slingbox 500's. So I can't help out with the Solo remote

One Slingbox is connected to a Tivo Bolt and the other one is connected to a Tivo Premiere. Since the 500's can have three different inputs (composite, component, HDMI), will your code be able to select the input or will it use whatever the box is currently set to. In the future, without the desktop slingplayer, we may not be able to have an input control option.

The slingbox connected to the Bolt has a video resolution in VLC of 1280x720. It uses an HDMI cable for input from the Tivo. The slingbox connected to the Premiere has a video resolution in VLC of 1280x540. It uses component cables from the Tivo. I don't understand where the 540 is coming from. Both Tivo's are set to a video resolution of 1080i and display just fine on HD TV's. Any ideas?

JR

— Reply to this email directly, view it on GitHub https://github.com/GerryDazoo/Slinger/issues/12#issuecomment-1196029743 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYOYVQIUOHUX2RYL3WNCDP3VWBOU5ANCNFSM54TWZMUA . You are receiving this because you commented. https://github.com/notifications/beacon/AYOYVQJYQPXMZ2REGXGGIJ3VWBOU5A5CNFSM54TWZMUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5E7OLY.gif Message ID: @. @.> >

Mover480 commented 2 years ago

Gerry, Here is another Remote file. Tivo Premiere Remote.txt

GerryDazoo commented 2 years ago

While you doing fancy stuff with the remote, here’s how to make a round button, Note the double %%. Needed to get the python code to properly parse the special character.

Round Button

style=.round {

  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;

 border-radius: 50%%;

}

From: Mover480 @.> Sent: Thursday, July 28, 2022 2:56 PM To: GerryDazoo/Slinger @.> Cc: GerryDazoo @.>; Comment @.> Subject: Re: [GerryDazoo/Slinger] Some questions (Issue #12)

Gerry, Here is another Remote file. Tivo Premiere Remote.txt https://github.com/GerryDazoo/Slinger/files/9213083/Tivo.Premiere.Remote.txt

— Reply to this email directly, view it on GitHub https://github.com/GerryDazoo/Slinger/issues/12#issuecomment-1198459307 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYOYVQJKFFV4SOQPI2SOM7LVWLCUFANCNFSM54TWZMUA . You are receiving this because you commented. https://github.com/notifications/beacon/AYOYVQMYN7B7EMGGLFWMCNTVWLCUFA5CNFSM54TWZMUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5XQTKY.gif Message ID: @. @.> >

GerryDazoo commented 2 years ago

On second thought I’ll change the code to make this adjustment. Should be in the next version. But you can still the %% until then.

From: Gerry Dubois @.> Sent: Friday, July 29, 2022 10:06 AM To: 'GerryDazoo/Slinger' @.>; 'GerryDazoo/Slinger' @.> Cc: 'Comment' @.> Subject: RE: [GerryDazoo/Slinger] Some questions (Issue #12)

While you doing fancy stuff with the remote, here’s how to make a round button, Note the double %%. Needed to get the python code to properly parse the special character.

Round Button

style=.round {

  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;

 border-radius: 50%%;

}

From: Mover480 @. @.> > Sent: Thursday, July 28, 2022 2:56 PM To: GerryDazoo/Slinger @. @.> > Cc: GerryDazoo @. @.> >; Comment @. @.> > Subject: Re: [GerryDazoo/Slinger] Some questions (Issue #12)

Gerry, Here is another Remote file. Tivo Premiere Remote.txt https://github.com/GerryDazoo/Slinger/files/9213083/Tivo.Premiere.Remote.txt

— Reply to this email directly, view it on GitHub https://github.com/GerryDazoo/Slinger/issues/12#issuecomment-1198459307 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYOYVQJKFFV4SOQPI2SOM7LVWLCUFANCNFSM54TWZMUA . You are receiving this because you commented. https://github.com/notifications/beacon/AYOYVQMYN7B7EMGGLFWMCNTVWLCUFA5CNFSM54TWZMUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI5XQTKY.gif Message ID: @. @.> >

Mover480 commented 2 years ago

Gerry, I get an error using the round button. Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

GerryDazoo commented 2 years ago

I’ll need your config.ini to test with.

From: Mover480 @.> Sent: Friday, July 29, 2022 12:13 PM To: GerryDazoo/Slinger @.> Cc: GerryDazoo @.>; Comment @.> Subject: Re: [GerryDazoo/Slinger] Some questions (Issue #12)

Gerry, I get an error using the round button. Internal Server Error The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

— Reply to this email directly, view it on GitHub https://github.com/GerryDazoo/Slinger/issues/12#issuecomment-1199501582 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AYOYVQPDTT2T5QAFTK7H7XDVWPYJJANCNFSM54TWZMUA . You are receiving this because you commented. https://github.com/notifications/beacon/AYOYVQN5Y6WA5S7SSKL47VDVWPYJJA5CNFSM54TWZMUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI57PCDQ.gif Message ID: @. @.> >

Mover480 commented 2 years ago

Here ya go config.txt

GerryDazoo commented 2 years ago

Two things

  1. On line 124 you inadvertently deleted the ; in front of the comment button text, key code
  2. When I said this was working I was a little wrong. I had been testing a new feature where you can include a remote definitions file instead of having it embedded in the config.ini file. Long story short, the python config file parsing routines were behaving differently from my code. So, this may sound weird please replace %% with %%%% in your file. And you should be good to go. I’ll try to clean this up in the next version.

From: Mover480 @.> Sent: Friday, July 29, 2022 1:15 PM To: GerryDazoo/Slinger @.> Cc: GerryDazoo @.>; Comment @.> Subject: Re: [GerryDazoo/Slinger] Some questions (Issue #12)

Here ya go config.txt https://github.com/GerryDazoo/Slinger/files/9221573/config.txt

— Reply to this email directly, https://github.com/GerryDazoo/Slinger/issues/12#issuecomment-1199647864 view it on GitHub, or https://github.com/notifications/unsubscribe-auth/AYOYVQKGLGC5OBFWB47SBXLVWP7PLANCNFSM54TWZMUA unsubscribe. You are receiving this because you commented. https://github.com/notifications/beacon/AYOYVQPV5NMQO36GPRJ4L2TVWP7PLA5CNFSM54TWZMUKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOI6ASY6A.gif Message ID: < @.> @.>

Mover480 commented 2 years ago

Works fine, thanks

GerryDazoo commented 2 years ago

If your good to go, I'd like to close this issue.

Mover480 commented 2 years ago

OK

GerryDazoo commented 2 years ago

Thanks for all your help finding my bugs.