Skip to content

928 custom castplayer#1082

Merged
StaehliJ merged 57 commits intomainfrom
928-custom-castplayer
Sep 1, 2025
Merged

928 custom castplayer#1082
StaehliJ merged 57 commits intomainfrom
928-custom-castplayer

Conversation

@StaehliJ
Copy link
Contributor

@StaehliJ StaehliJ commented Jun 26, 2025

Description

Media3 CastPlayer doesn't support lot of feature and it is hard to customize it to suits our needs. So we decided to create a custom Google Cast that implements SimpleBasePlayer.

Changes made

  • New implementation of PillarboxCastPlayer.
  • New module pillarbox-cast-receiver to handle CastReceiver with Android TV. Android TV Pillarbox CastReceiver module #1048
  • Pillarbox metadatas (Chapters, Crredits and blocked time ranges) are stored in PillarboxMetadata.
  • New listener method PillarboPlayer.onPillarboxMetadataChanged.

Checklist

  • 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).

StaehliJ and others added 30 commits April 2, 2025 16:45
Co-authored-by: Gaëtan Muller <[email protected]>
Co-authored-by: Gaëtan Muller <[email protected]>
Co-authored-by: Joaquim Stähli <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
# Conflicts:
#	pillarbox-demo-cast/src/main/java/ch/srgssr/pillarbox/demo/cast/MainViewModel.kt
#	pillarbox-demo-shared/src/main/java/ch/srgssr/pillarbox/demo/shared/data/DemoItem.kt
#	pillarbox-demo-shared/src/main/java/ch/srgssr/pillarbox/demo/shared/data/Playlist.kt
# Conflicts:
#	pillarbox-demo-cast/build.gradle.kts
#	pillarbox-demo-cast/src/main/java/ch/srgssr/pillarbox/demo/cast/CastApplication.kt
#	pillarbox-demo-cast/src/main/java/ch/srgssr/pillarbox/demo/cast/MainActivity.kt
#	pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/DemoCastOptionProvider.kt
#	pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/showcases/integrations/cast/CastShowcaseViewModel.kt
# Conflicts:
#	pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/showcases/integrations/cast/CastShowcaseViewModel.kt
# Conflicts:
#	pillarbox-demo/src/main/java/ch/srgssr/pillarbox/demo/ui/player/playlist/PlaylistView.kt
@StaehliJ StaehliJ marked this pull request as ready for review September 1, 2025 07:58
@StaehliJ StaehliJ requested review from MGaetan89 and waliid September 1, 2025 09:17
@StaehliJ StaehliJ added this pull request to the merge queue Sep 1, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 1, 2025
@StaehliJ StaehliJ added this pull request to the merge queue Sep 1, 2025
Merged via the queue into main with commit d7807ab Sep 1, 2025
12 checks passed
@StaehliJ StaehliJ deleted the 928-custom-castplayer branch September 1, 2025 13:26
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Pillarbox Sep 1, 2025
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.

Custom CastPlayer

3 participants