Jump to content


Photo

Tuner lock if Netflix/Home button while tv streaming- HDHR Prime

live tv roku quick buttons tuner lock HDHR Prime

Best Answer speechles , 18 October 2019 - 04:03 PM

It has always been an issue we just suffered with but if there is a way to get Roku to recognize that onDestroy would allow applications to better serve Roku customers. That it would cut down on their complaints and better allow developers a way to communicate to their upstream that the application is about to exit that would be most wonderful. I would even bake a cake. I just hope this cake is not a lie. Roku could be gLaDOS. It is up to them to prove they are not. Cake is a lie or is not? It is up to them to decide.. lol. Have your weighted companian cube ready.

Go to the full post


  • Please log in to reply
16 replies to this topic

#1 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 16 October 2019 - 03:10 PM

Issue I just noticed.

 

I  press the Netflix button, or the "Home", while playing back live tv, it just switches to the Install this app screen.

I relaunch Emby and reload a channel again, i notice that the sever reports that the Roku is still streaming that other channel and it is still using that tuner.

If i go back into the Emby app, and stream tv again, then back out correctly, the  Dashboard then updates and shows it is not streaming at all(but not until then),

However, the HDHomeRun Prime tuner is still active on that channel and locked to streaming to Emby.

Just locked out all 3 tuners this way.

Sever restart releases it...

 

It odd thing, the Sling and Hulu buttons, result in a Exit Emby app switch to # app bottom bar message appears. 

The CBS button, give different message, just simple ask if wish t Exit Emby app.

 

The Netflix button, always just switches to Netflix(if app installed) or to the Install page.

Seems to have override ability over the exit prompt confirmation.

It does this in other apps to.

 

So there is most certain something that needs work on there, detecting of the streaming being suddenly terminated, not backed out of....etc.

 

Aside from ripping apart the remote and destroying the buttons (cant do with the home Button of cource)....how can i stop this tuner lock situation from happening.  I intended to hand over this Roku to my mother...who most certainly will at some point press the buttons and not back out of tv stream correctly and lock all my tuners....

 

Edit: I also can make a tuner lock happen when i use the web interface on a computer, and play back live tv via the Play On function and select the Roku. If i try to change the channel via the small guide or back out of the app, the channel will not load, and the controls on the web interface no longer work. I can disconnect from Roku, but the tuner is still locked.


Edited by speedingcheetah, 25 October 2019 - 04:45 PM.


#2 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47472 posts
  • Local time: 11:15 PM

Posted 16 October 2019 - 06:50 PM

Unfortunately, there is nothing the app can do about this.

 

However, if you wait about 60 seconds, the server will shut down the stream.



#3 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 16 October 2019 - 06:51 PM

Unfortunately, there is nothing the app can do about this.

 

However, if you wait about 60 seconds, the server will shut down the stream.

 

I have had all 3 tuners locked for over an hour....sever never shuts of stream



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139861 posts
  • Local time: 11:15 PM

Posted 16 October 2019 - 08:42 PM

Can you please attach the emby server log? Thanks.

#5 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 16 October 2019 - 08:51 PM

Can you please attach the emby server log? Thanks.

here is the last several logs from the time i was messing with it eailer today and kept having to restart the sever when i saw at least one tuner locked.

At one point, i had all 3 locked....but I cant recall what time or channels...

I just got a Nvidia shield to compare to Roku....so the Roku is disconnected atm.

Attached Files


Edited by speedingcheetah, 17 October 2019 - 05:34 AM.


#6 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 17 October 2019 - 05:35 AM

Yea....the Nvidia Shield with its Android tv...I am liking far better than the Roku...much better experience and more what I was looking for it seems.

 

Roku is going to be returned to the store....



#7 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 17 October 2019 - 12:26 PM

Here is when i get it to lock all 3 tuners.

Time frame is 11:17am or so. 10-17-19

IP of Roku is 192.168.0.9

I tune a channel, then hit the netflix or home button, it goes out of app instantly, i relaunch Emby, stream a different channel for a moment, then do same thing, button, then relaunch different channel.

 

Been waiting a few min now, the tuners are still locked, in the channel order i loaded.

The Emby Dashboard still shows as streaming the last channel i loaded 860, even though emby is closed out on the Roku for a few minutes now.

Restarted server at 11:23am.

 

At this point, I am preparing to reset the Roku, and return it...as i mentioned before. but wanted to try and give one more example.

Attached Files


Edited by speedingcheetah, 17 October 2019 - 12:27 PM.


#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139861 posts
  • Local time: 11:15 PM

Posted 17 October 2019 - 11:41 PM

Are you sure the tuners were locked, because the server thinks it has closed the streams.



#9 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 18 October 2019 - 12:41 AM

Are you sure the tuners were locked, because the server thinks it has closed the streams.

 

Positive.

Do u see the image of the HDHR web page showing the tuners in use?

I also physical looked at tuner, and all 3 LEDs were on.

No client could play, gave No avaible streams error.

 

Anyway...i returned the Roku, sticking with Shield TV...it is just so much better developed.


Edited by speedingcheetah, 18 October 2019 - 12:42 AM.


#10 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139861 posts
  • Local time: 11:15 PM

Posted 18 October 2019 - 12:48 AM

Have you tried doing the same thing with the Shield remote?



#11 ebr OFFLINE  

ebr

    Chief Bottle Washer

  • Administrators
  • 47472 posts
  • Local time: 11:15 PM

Posted 18 October 2019 - 11:31 AM

Have you tried doing the same thing with the Shield remote?

 

It won't be a problem in that app.

 

The issue is specific to how the Roku (poorly) handles closing the app in those particular ways.

 

To reproduce with Android TV, you'd have to unplug the network cable or device during playback.



#12 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 18 October 2019 - 11:36 AM

Have you tried doing the same thing with the Shield remote?

I have. And have yet to have it lock a tuner. Even when i tell the shield to turn off during playback, or just turn off tv or change tv input, (the CEC control is enabled.)

The Shield is instantly cutting the live tv stream correctly.

 

I hate the touch volume remote, getting something different shortly, and...of course, i just buy this Shield new(2017 model), and, now, i read that a new 2019 model is to be released end of this month...with faster cpu and far better remote...whelp, ill be returning/exchanging mine for the new model it seems...lolz.


Edited by speedingcheetah, 18 October 2019 - 11:36 AM.


#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 139861 posts
  • Local time: 11:15 PM

Posted 18 October 2019 - 02:03 PM

What version of the Roku app? Is the system software up to date?



#14 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 18 October 2019 - 02:28 PM

What version of the Roku app? Is the system software up to date?

yes Roku full updated..it was newly purchased had had 2 os updates. I did check manually.

 

The emby app that was on it, was the current public release as of 10-15-19.

I did install the most recent date of the beta app, as suggested to here, and that exhibited the same behavior.

I no longer have the device so can not check actual numbers.



#15 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5596 posts
  • Local time: 08:15 PM

Posted 18 October 2019 - 02:50 PM

In the app on Roku we have a stopTranscode task that does run this: StopTranscode: /Videos/ActiveEncodings DELETE

 

It does it correctly with the DeviceID and all that jazz. But the problem is that only gets to run when the video is stopped. It does not run when pressing the HOME button as the video player is playing something.

 

The app does not get a SIGN-OFF CLEANUP event so does not get a chance to tell the server that the app is leaving when pressing HOME. The server gets to guess that the Roku has left by seeing no progress updates sent from the app anymore. When you press HOME in effect the app gets nothing to let it know what just happened. The app is just closed and away it goes with no cleanup/sign-off of the app possible. This has always been a huge problem. This creates the problem of the server having this "lag" before it closes the stream on the Roku when you press HOME. It is a problem with no cure or possible remedy yet.

 

The Roku does a clumsy way of not allowing us to tell the server the app is leaving when you use the HOME button during video playback. I may go to Roku forums right now and ask that they allow a signal to be sent to the app and it be allowed to have 3 seconds or so of cleanup time before the app exits or something. We need Roku to work with us on this part or it will always be this way.

 

tl;dr : Basically going to ask Roku on their developer forums to give us onDestroy/onStop events and a slight delay before the application is forcefully exited. This onDestroy/onStop would be identical to how every other OS treats their applications giving them time to gracefully cleanup.

 

Follow along here on Roku forums:

https://community.ro...p/515902#M44489


Edited by speechles, 18 October 2019 - 03:22 PM.

  • speedingcheetah likes this

#16 speedingcheetah OFFLINE  

speedingcheetah

    Advanced Member

  • Members
  • 458 posts
  • Local time: 10:15 PM

Posted 18 October 2019 - 03:32 PM

It Home and Netflix buttons that does this issue.

 

I don't know why Netflix, has no exit confirmation dialog, as the other quick launch buttons do.

This was added into the os as a feature at some point, as i see user fourms asking for that feature or complain that they kept accidentally pressing those buttons and exiting whatever app they were using.



#17 speechles OFFLINE  

speechles

    Advanced Member

  • App Developer
  • 5596 posts
  • Local time: 08:15 PM

Posted 18 October 2019 - 04:03 PM   Best Answer

It has always been an issue we just suffered with but if there is a way to get Roku to recognize that onDestroy would allow applications to better serve Roku customers. That it would cut down on their complaints and better allow developers a way to communicate to their upstream that the application is about to exit that would be most wonderful. I would even bake a cake. I just hope this cake is not a lie. Roku could be gLaDOS. It is up to them to prove they are not. Cake is a lie or is not? It is up to them to decide.. lol. Have your weighted companian cube ready.


Edited by speechles, 18 October 2019 - 04:08 PM.

  • speedingcheetah likes this





Also tagged with one or more of these keywords: live tv, roku, quick buttons, tuner lock, HDHR Prime

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users