Jump to content

Tuners Not Releasing from Roku Remote Client with HDHomeRun Prime


Sammy

Recommended Posts

Sammy

When using a Roku on a remote connection (not sure if this is relavent or not but provided for completeness) to tune for a LiveTV Station from an HDHomeRun Prime, I'm seeing the tuners are not releasing. The User connected remotely is the one with no Avatar.

I pulled these snippets from the log searching for UserAgent : Roku/DVP-10.5. IDK if it helps or not.

Line 218626: 2022-05-10 17:03:00.065 Debug Server: http/2 GET https://emby_remote_ip/emby/system/info/public?format=json. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218628: 2022-05-10 17:03:00.291 Debug Server: http/2 GET https://emby_remote_ip/emby/Connect/Exchange?format=json&ConnectUserId=279460. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218632: 2022-05-10 17:03:00.510 Debug Server: http/2 GET https://emby_remote_ip/emby/system/info?format=json. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218634: 2022-05-10 17:03:00.913 Debug Server: http/2 GET https://emby_remote_ip/emby/System/WakeOnLanInfo. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218636: 2022-05-10 17:03:00.961 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/bdfd6133ea5a4c1b823282f471960843. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218638: 2022-05-10 17:03:01.264 Info Server: http/2 POST https://emby_remote_ip/emby/Sessions/Capabilities/Full. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218640: 2022-05-10 17:03:01.668 Debug Server: http/2 GET https://emby_remote_ip/emby/web/manifest.json. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218642: 2022-05-10 17:03:02.615 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/bdfd6133ea5a4c1b823282f471960843/Images/Primary/0?EnableImageEnhancers=true&tag=1db5ceb9e9e2947b929b36a264f60de8&maxwidth=96&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218644: 2022-05-10 17:03:02.956 Debug Server: http/2 GET https://emby_remote_ip/emby/DisplayPreferences/usersettings?client=emby&userid=bdfd6133ea5a4c1b823282f471960843. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218646: 2022-05-10 17:03:03.071 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/Public. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218648: 2022-05-10 17:03:03.314 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/bdfd6133ea5a4c1b823282f471960843/Views?sortby=sortname&EnableImageTypes=Primary,Thumb,Backdrop&fields=SortName,PrimaryImageAspectRatio,OfficialRating,CriticRating,CommunityRating,PremiereDate,StartDate,EndDate,ProductionYear. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218650: 2022-05-10 17:03:04.221 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/28b5d5b8bef4bd1f1914503b5c11ac91/Images/Primary/0?EnableImageEnhancers=true&tag=074439b3aa78c942fc58f6aec3a6912a&maxwidth=342&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218653: 2022-05-10 17:03:04.308 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/6c2a057148b4d7c20a207c789aba6d07/Images/Primary/0?EnableImageEnhancers=true&tag=01c9159ee4ab1c92a14b32c1691d4b0b&maxwidth=342&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218656: 2022-05-10 17:03:04.346 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/2b2bca16aacc8a14d53a11bb829eafa5/Images/Primary/0?EnableImageEnhancers=true&tag=1c68393c0599a280e1d2be4e1acbc4dd&maxwidth=342&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218659: 2022-05-10 17:03:04.371 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/9d7ad6afe9afa2dab1a2f6e00ad28fa6/Images/Primary/0?EnableImageEnhancers=true&tag=713c2f6ca1a575713066fe0a4b7e412f&maxwidth=342&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218662: 2022-05-10 17:03:04.430 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/f137a2dd21bbc1b99aa5c0f6bf02a805/Images/Primary/0?EnableImageEnhancers=true&tag=0799fd731c084e52f4ea6eda3178ed69&maxwidth=342&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218665: 2022-05-10 17:03:04.483 Debug Server: http/2 GET https://emby_remote_ip/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218667: 2022-05-10 17:03:04.850 Debug Server: http/2 GET https://emby_remote_ip/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218669: 2022-05-10 17:03:05.607 Debug Server: http/2 GET https://emby_remote_ip/emby/DisplayPreferences/usersettings?client=emby&userid=bdfd6133ea5a4c1b823282f471960843. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218671: 2022-05-10 17:03:06.661 Debug Server: http/2 GET https://emby_remote_ip/emby/LiveTv/Programs/Recommended?userId=bdfd6133ea5a4c1b823282f471960843&EnableImageTypes=Primary,Thumb,Backdrop&fields=ChannelInfo,Overview,OfficialRating,SortName,PrimaryImageAspectRatio,OfficialRating,ProductionYear&limit=30&isairing=true. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218672: 2022-05-10 17:03:06.677 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/bdfd6133ea5a4c1b823282f471960843/Items/Latest?ImageTypeLimit=1&excludelocationtypes=Virtual&EnableImageTypes=Primary,Thumb,Backdrop&groupitems=true&Fields=PrimaryImageAspectRatio,OfficialRating,ProductionYear&limit=24&ParentId=f137a2dd21bbc1b99aa5c0f6bf02a805. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218673: 2022-05-10 17:03:06.702 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/bdfd6133ea5a4c1b823282f471960843/Items/Resume?MediaTypes=Video&EnableImageTypes=Primary,Thumb,Backdrop&recursive=true&fields=SortName,PrimaryImageAspectRatio,OfficialRating,CriticRating,CommunityRating,PremiereDate,StartDate,EndDate,ProductionYear&imagetypelimit=1&limit=50. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218674: 2022-05-10 17:03:06.734 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/bdfd6133ea5a4c1b823282f471960843/Items/Latest?ImageTypeLimit=1&excludelocationtypes=Virtual&EnableImageTypes=Primary,Thumb,Backdrop&groupitems=true&Fields=PrimaryImageAspectRatio,OfficialRating,ProductionYear&limit=24&ParentId=28b5d5b8bef4bd1f1914503b5c11ac91. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218675: 2022-05-10 17:03:06.851 Debug Server: http/2 GET https://emby_remote_ip/emby/LiveTv/Channels?userId=bdfd6133ea5a4c1b823282f471960843&SortBy=DefaultChannelOrder&sortOrder=Ascending&tagIds=&Limit=1500. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218679: 2022-05-10 17:03:10.068 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17496862/Images/Primary/0?EnableImageEnhancers=true&tag=816b3099dba9666e1dd84796527374b6&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218680: 2022-05-10 17:03:10.095 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17142122/Images/Primary/0?EnableImageEnhancers=true&tag=f1f37ba68732dd9ab843c3c9cdc2c1c4&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218681: 2022-05-10 17:03:10.161 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17142185/Images/Primary/0?EnableImageEnhancers=true&tag=adc971898035168819ff603d3a59a54e&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218682: 2022-05-10 17:03:10.238 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17143085/Images/Primary/0?EnableImageEnhancers=true&tag=740bc520f73d57642a99b70467fa9cb3&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218683: 2022-05-10 17:03:10.722 Debug Server: http/2 GET https://emby_remote_ip/emby/Users/bdfd6133ea5a4c1b823282f471960843/Items/Latest?ImageTypeLimit=1&excludelocationtypes=Virtual&EnableImageTypes=Primary,Thumb,Backdrop&groupitems=true&Fields=PrimaryImageAspectRatio,OfficialRating,ProductionYear&limit=24&ParentId=6c2a057148b4d7c20a207c789aba6d07. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218685: 2022-05-10 17:03:12.212 Debug Server: http/2 GET https://emby_remote_ip/emby/DisplayPreferences/cb46bc72e78d95cc6cd072de3a65b93a?client=rokusg&userid=bdfd6133ea5a4c1b823282f471960843. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218825: 2022-05-10 17:03:12.678 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17213760/Images/Primary/0?EnableImageEnhancers=true&tag=b4fef27b316757b2b07fc1a022d859be&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218826: 2022-05-10 17:03:12.678 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17197621/Images/Primary/0?EnableImageEnhancers=true&tag=43ea22d91fb543c0cc2c2760a48026db&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218827: 2022-05-10 17:03:12.679 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17145215/Images/Primary/0?EnableImageEnhancers=true&tag=3e21679fd9ce0552b804a4a4e35c879b&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 218833: 2022-05-10 17:03:12.684 Debug Server: http/2 GET https://emby_remote_ip/emby/Items/17221421/Images/Primary/0?EnableImageEnhancers=true&tag=08b32c81904c1d146bbef36e8f366749&maxwidth=216&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 219038: 2022-05-10 17:03:12.963 Debug Server: http/2 GET https://emby_remote_ip/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)
	Line 219040: 2022-05-10 17:03:13.162 Debug Server: http/2 GET https://emby_remote_ip/emby/Items//Images/Backdrop/0?EnableImageEnhancers=true&maxwidth=1280&maxHeight=1080&quality=80. UserAgent: Roku/DVP-10.5 (10.5.0.4208-28)

IDK if Roku generates Logs like AndroidTV does but if it does I can get them sent over.

How to fix? Last I remember, Roku had issues releasing tuners but has it been resolved yet? This was years ago.

image.png.573c1d811e54b4abe7b0702f7f9c30fa.pngembyserver_110522_current_log.txtembyserver_10052022_daily_log.txtimage.thumb.png.24c8341eb648ce9676e3fc76d449c31b.png

 

Link to comment
Share on other sites

Looks like there is one more start of a channel than there is end.  My guess is they tried to start it, got impatient and backed out before it started, and then started it again.  I think that is the one condition that can still potentially "strand" a tuner.

Link to comment
Share on other sites

Sammy

Maybe I’ll create a batch file that runs around 2:30 in the morning to reset my Primes but that’s not ideal

Link to comment
Share on other sites

Sammy
55 minutes ago, Luke said:

Can you find out if that's what happened?

I will ask.

  • Thanks 1
Link to comment
Share on other sites

Sammy

I asked:

"Were you having issues with watching TV last night? Logs show you tried to start watching but maybe gave up because it was taking too long."

The response was:

"No issues that I experienced"

Link to comment
Share on other sites

He may not have thought it was "an issue" but this sequence right here sure looks like he started the channel twice with no stop.  There are 45 seconds between attempts so sure looks like a channel start, wait but nothing starts so back up and start it again.

image.png

Or maybe it was just click to play, then say wait what was that description? so back up and read it and then click the channel again.  Wouldn't seem like a problem to the user in that case.

Link to comment
Share on other sites

Sammy

I get it but this should clear itself in Emby at some point, otherwise I'll have to constantly monitor it less I run out of available tuners. I have 6 but if this were to keep stacking I'll have 0.

Can an option to release tuners after say 8 hours or so or at a certain time in the day be added?

Maybe this is something @softworkz can look into?

Link to comment
Share on other sites

This is currently an open issue. I believe it is the only situation left that will strand a tuner. 

  • Thanks 1
Link to comment
Share on other sites

Sammy
36 minutes ago, ebr said:

This is currently an open issue. I believe it is the only situation left that will strand a tuner. 

So what you are saying is it is something that is actively being worked on?

Link to comment
Share on other sites

1 hour ago, Sammy said:

So what you are saying is it is something that is actively being worked on?

It is something that we are aware of and needs to be addressed still, yes.

Link to comment
Share on other sites

Sammy

For the time being I've set up my VeraPlus Home Automation Controller to power cycle the tuners and tuning adapters every morning at 2:30 to clear any potentially stranded tuners. I'm generally not watching TV at this time and for the most part nothing gets recorded at this time. I might play with the Vera Plugin to make sure there's nothing recording when the tuners are power cycled. Any suggestions on logic for this @chef?

Link to comment
Share on other sites

chef
9 minutes ago, Sammy said:

For the time being I've set up my VeraPlus Home Automation Controller to power cycle the tuners and tuning adapters every morning at 2:30 to clear any potentially stranded tuners. I'm generally not watching TV at this time and for the most part nothing gets recorded at this time. I might play with the Vera Plugin to make sure there's nothing recording when the tuners are power cycled. Any suggestions on logic for this @chef?

Let me see if I can remember how to control the Vera with http requests. You might be able to set something up pretty easily. 😃

  • Thanks 1
Link to comment
Share on other sites

Sammy
1 hour ago, chef said:

Let me see if I can remember how to control the Vera with http requests. You might be able to set something up pretty easily. 😃

I have rigpappa's Reactor and Emby pluginsn on my VeraPlus but am not seeing how to have Emby Server tell Reactor if a recording is occurring or a LiveTV stream on is running.

Edited by Sammy
Link to comment
Share on other sites

chef
1 hour ago, Sammy said:

I have rigpappa's Reactor and Emby pluginsn on my VeraPlus but am not seeing how to have Emby Server tell Reactor if a recording is occurring or a LiveTV stream on is running.

Is there anything under sessions in rigpappas plugin that could be used?

That live stream data would most likely be found there.

I haven't tried his plugin in a long time, but I'll check it out again, might be something there.

Link to comment
Share on other sites

Sammy

The Reactor Plugin shows the Server is active while playing a LiveTV channel but does not show it as active when recording:

image.thumb.png.3205b36d26f8c3aa9d4390767153ab02.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...