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

Remove PlayAccess checks #3507

Merged

Conversation

nielsvanvelzen
Copy link
Member

The "PlayAccess" field for BaseItemDto is not populated by default, it needs to be explicitly requested (for some stupid reason). We don't do that in a bunch of places which may cause playback to fail if started from a source that didn't have that field set. We don't really need the checks because client side security is stupid.

Changes

  • Remove PlayAccess checks as playback works fine even when disallowed

Issues

@nielsvanvelzen nielsvanvelzen added this to the v0.17.0 milestone Apr 12, 2024
@nielsvanvelzen nielsvanvelzen added the refactor Improvements to code realiability, readability and quality label Apr 12, 2024
@nielsvanvelzen nielsvanvelzen force-pushed the play-access-for-everyone branch from 6d2814a to d1a3489 Compare April 12, 2024 20:29
@nielsvanvelzen nielsvanvelzen merged commit 3ae6ff2 into jellyfin:master Apr 14, 2024
6 checks passed
@nielsvanvelzen nielsvanvelzen deleted the play-access-for-everyone branch April 14, 2024 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Improvements to code realiability, readability and quality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants