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

Add MediaSessionPlugin to playback rewrite #2457

Merged
merged 2 commits into from
Jan 30, 2023

Conversation

nielsvanvelzen
Copy link
Member

@nielsvanvelzen nielsvanvelzen commented Jan 30, 2023

We're slowly getting a usable playback module! This PR adds MediaSession support. A media session is what enables stuff like the media notification, google assistant integration, controlling media from other apps / tv remote and more. It's quite a big deal.

For some reason, the default Android TV launcher doesn't load the images from URL (mobile Android does) so we need to fetch the bitmaps and put them in the data as well. We should also proxy the image requests via our own ImageProvider at some point to allow authenticated image requests. But this should probably be initiated from the BaseItemDtoUserQueueEntry builder.

Changes

  • Add initial media session plugin

Issues

Part of #1057

@nielsvanvelzen nielsvanvelzen added enhancement New feature or request playback Issue related to media playback labels Jan 30, 2023
@nielsvanvelzen nielsvanvelzen added this to the v0.16.0 milestone Jan 30, 2023
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

detekt found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

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

Android Lint found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.

@nielsvanvelzen nielsvanvelzen merged commit 9c4ef1a into jellyfin:master Jan 30, 2023
@nielsvanvelzen nielsvanvelzen mentioned this pull request Jan 30, 2023
35 tasks
@nielsvanvelzen nielsvanvelzen deleted the playback-mediasession branch January 30, 2023 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request playback Issue related to media playback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants