-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Refresh all home view data #1195
Conversation
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.
Not sure if this is new but I broke it.
- I played a show from Next up for a while then hit back and the row went away like it should.
- Then I resumed that show from continue watching and ff till the end and let it finish.
- After a few seconds of watching the next episode, I hit back and the home rows got messed up. Next up and favorites were missing and the sizeArray was messed up I think because the My Media and continue watching row had the wrong subtitles
I think the issue I ran into is because we are no longer chaining the tasks together but the task logic still assumes we are?
Edit: Another thing that may be messing things up is that when I wrote #324 I was hardcoding the My Media row as the first row and NOT updating it during the home screen refresh. That's why the old code was calling |
After more thinking about this, I'm certain that firing off all the task nodes at once is a very bad idea. If ANY two task nodes finish at the same time, there will be two functions trying to modify the sizeArray at the same time i.e. That's why My vote would be going back to the old way of doing things instead of refactoring this like crazy. The sizeArray is a PITA |
The old way of doing things on first first load:
The old way of doing things on refresh:
|
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.
The rows refresh like they should and the sizeArray isn't getting messed up now 👍
When I finish a video and am kicked back to the home screen, the continue watching animation is being shown twice. I'm not sure if the rows are refreshing twice or it's just the animation. Sent you a video on matrix. If this isn't a regression we can wait till next release
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.
🚀
@cewert, curious how long until this fix (and others, if any) will take to come down to the Roku store app as an update. This issue, #1184, is a major frustrating one. Thanks for picking it up and working on it so quickly. Also, I'm willing to try Beta apps, if any. I have several, different models, Roku's. |
@p37307 generally speaking the answer is "when it's ready" ™️. That said we've been working towards releasing a hotfix ever since we discovered how bad #1177 was a few days ago. Then we discovered this issue and decided to add it in with the hotfix. We currently have no plans of adding anything else to this hotfix release. So assuming that doesn't change, you should see it on your roku devices within a week |
Changes
When refresh is called, refresh all home data, for all rows.
This rolls back changes made to homerows.brs that converted the data loads from linear to async.
Issues
Fixes #1184