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

592 playback session manager #597

Merged
merged 7 commits into from
Jun 24, 2024
Merged

592 playback session manager #597

merged 7 commits into from
Jun 24, 2024

Conversation

StaehliJ
Copy link
Contributor

Pull request

Description

The goal of this PR is to provide a tool to track current sessions. Session can be started before the player is playing it. For example when the next media item is loaded.

Changes made

  • Add PlaybackSessionManager to handle session.
  • Debug implementation is also provided in PillarboxExoPlayer.

Checklist

  • Your branch has been rebased onto the main branch.
  • APIs have been properly documented (if relevant).
  • The documentation has been updated (if relevant).
  • New unit tests have been written (if relevant).
  • The demo has been updated (if relevant).
  • All pull request status checks pass.

Copy link

github-actions bot commented Jun 20, 2024

Code Coverage

Overall Project 53.34% -0.13% 🟢
Files changed 94.5% 🟢

Module Coverage
:pillarbox-player 55.14% -0.25% 🟢
Files
Module File Coverage
:pillarbox-player PlaybackSessionManager.kt 93.81% -6.19% 🟢
PillarboxExoPlayer.kt 84.45% 🟢

@MGaetan89 MGaetan89 linked an issue Jun 20, 2024 that may be closed by this pull request
Copy link
Member

@MGaetan89 MGaetan89 left a comment

Choose a reason for hiding this comment

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

I've pushed some comment rewording, and left some questions. Otherwise, this looks good to me.

@StaehliJ StaehliJ force-pushed the 592-playback-session-manager branch from b76166a to 1234e66 Compare June 24, 2024 06:42
This reverts commit 4be9fa6.

# Conflicts:
#	pillarbox-player/src/main/java/ch/srgssr/pillarbox/player/PillarboxExoPlayer.kt
@MGaetan89 MGaetan89 merged commit 0b6a850 into qos Jun 24, 2024
10 checks passed
@MGaetan89 MGaetan89 deleted the 592-playback-session-manager branch June 24, 2024 07:04
StaehliJ added a commit that referenced this pull request Jun 26, 2024
MGaetan89 added a commit that referenced this pull request Jul 9, 2024
MGaetan89 added a commit that referenced this pull request Jul 11, 2024
MGaetan89 added a commit that referenced this pull request Jul 17, 2024
MGaetan89 added a commit that referenced this pull request Jul 29, 2024
MGaetan89 added a commit that referenced this pull request Jul 30, 2024
MGaetan89 added a commit that referenced this pull request Aug 12, 2024
MGaetan89 added a commit that referenced this pull request Aug 13, 2024
MGaetan89 added a commit that referenced this pull request Aug 20, 2024
StaehliJ added a commit that referenced this pull request Aug 28, 2024
StaehliJ added a commit that referenced this pull request Sep 11, 2024
MGaetan89 added a commit that referenced this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Playback session manager
2 participants