-
-
Notifications
You must be signed in to change notification settings - Fork 141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto Reload LiveTv when feed Errors #669
Conversation
Added item counts to overhang
This added the ability for the LiveTv to auto reload when the feed "Finishes" unexpectedly. Currently, when a feed errors you are kicked to the guide and then have to move up or down the guide then go back and select the channel again to get it to reload.
It looks like in its current state, this would remove a lot of code needed for music support. |
That's why we need to get a release out! To many pr's have been submitted
and when trying to build on top things get messy
…On Mon, Jun 27, 2022, 11:48 AM 1hitsong ***@***.***> wrote:
It looks like in its current state, this would remove a lot of code needed
for music support.
—
Reply to this email directly, view it on GitHub
<#669 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AT6PDRGZLCPVY5ICVCAE2FTVRHLNDANCNFSM5ZWK4ZIA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
If you can ensure that all branches are created on master, then that should stop this sort of problem happening. LiveTV is not working on my Roku at all at the moment, so I'll need to look into that. What's the best way to test this (i.e. cause the stream to end prematurely)? |
I will send you a private message on matrix with a m3u link to test. This feed should drop every few minutes and reload automatically. I would love to not be able to pop the scene then add it back... but this is better than nothing. |
@candry7731 if selectedItem.Type = "TvChannel" and node.state = "finished" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added code works as expected, but this PR would remove a lot of other code we need!
We should be good on this now? Since I merged the unstable branch? |
@candry7731 Not quite. Main.brs would still get mangled. Check out all the code that would get removed on merge: https://github.com/jellyfin/jellyfin-roku/pull/669/files |
Can you check this? I added all of the removed code back into the main.brs file |
Reverted the last couple of files to leave just the changes for this PR. I can't confirm it's working as with HDHR this makes no difference when I'm testing. @candry7731 you were going to send me a m3u link to test with, but not sure you ever did. |
not needed
not needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replicated the issue on the unstable branch
Tested this PR and it works as intended. Reloads the feed if it cuts instead of taking the user back to the TV Guide screen
Thank you for forcing it to reload after a failed stream. I have had it succesfully restart a stream, except there was an instance where the Roku app gave an error "Error during playback - An error occured while playing this item." with an OK button. It's crashed here, however in the console (vscode) is shows the following error:
I hope this helps :) |
This added the ability for the LiveTv to auto reload when the feed "Finishes" unexpectedly.
Currently, when a feed errors you are kicked to the guide and then have to move up or down the guide then go back and select the channel again to get it to reload.
Issues
Show the guide for a second or two... not a huge issue but the user might not realize it's going to auto reload. Might have to rethink and maybe display a reload screen or spinner