Skip to content
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

Update server when video is in state finished #1941

Merged
merged 8 commits into from
Sep 29, 2024

Conversation

cewert
Copy link
Member

@cewert cewert commented Sep 28, 2024

Changes

  • Update server when video state = finished
  • Update server when video state = buffering and m.playReported = false

Issues

Fixes #1814

@cewert
Copy link
Member Author

cewert commented Sep 28, 2024

@roidy I added a commit to simulate hitting the back button when state is finished. Can you give that a test? Here's the new build https://github.com/jellyfin/jellyfin-roku/actions/runs/11087045525?pr=1941

@cewert
Copy link
Member Author

cewert commented Sep 28, 2024

@roidy the problem in your video should be fixed. I had the wrong api endpoint. https://github.com/jellyfin/jellyfin-roku/actions/runs/11087871463?pr=1941

@@ -623,7 +637,6 @@ sub onState(msg)

' Stop playback and exit player
m.top.control = "stop"
m.top.backPressed = true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m.top.backPressed wasn't being observed or used so I removed them

@cewert cewert merged commit f0f2882 into jellyfin:2.1.z Sep 29, 2024
11 checks passed
@cewert cewert deleted the report-finished-state branch September 29, 2024 15:01
cewert added a commit to cewert/jellyfin-roku that referenced this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-fix This fixes a bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Roku client appears to NOT update NFO file after video finishes playing through to the very end
2 participants