SRGSSR / pillarbox-android

The modern SRG SSR Pillarbox player targeting Android platforms
https://android.pillarbox.ch/api
MIT License
13 stars 1 forks source link

Add support for "Skip intro"/"Skip credits" #516

Closed MGaetan89 closed 6 months ago

MGaetan89 commented 6 months ago

Pull request

Description

This PR adds new API to be notified when reaching the opening and closing credits.

Changes made

Checklist

github-actions[bot] commented 6 months ago

Code Coverage

Overall Project 46.59% -0.66% 🟢
Files changed 37.44% 🟢


Module Coverage
:pillarbox-core-business 85.02% 🟢
:pillarbox-player 47.18% -1.15% 🟢
:pillarbox-ui 0% -0.62% 🟢
Files |Module|File|Coverage|| |:-|:-|:-|:-:| |:pillarbox-core-business|[SRGAssetLoader.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-core-business%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fcore%2Fbusiness%2Fsource%2FSRGAssetLoader.kt)|87.04%|🟢| ||[Chapter.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-core-business%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fcore%2Fbusiness%2Fintegrationlayer%2Fdata%2FChapter.kt)|54.42%|🟢| |:pillarbox-player|[Asset.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2Fasset%2FAsset.kt)|100%|🟢| ||[PillarboxSessionCommands.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2Fsession%2FPillarboxSessionCommands.kt)|100%|🟢| ||[PillarboxMediaSource.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2Fsource%2FPillarboxMediaSource.kt)|90.94% **`-0.34%`**|🟢| ||[Player.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2Fextension%2FPlayer.kt)|90.74%|🟢| ||[PlayerCallbackFlow.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2FPlayerCallbackFlow.kt)|78.03%|🟢| ||[PillarboxExoPlayer.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2FPillarboxExoPlayer.kt)|77.16%|🟢| ||[PillarboxMediaController.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2Fsession%2FPillarboxMediaController.kt)|0% **`-2.33%`**|🟢| ||[PillarboxMediaSession.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2Fsession%2FPillarboxMediaSession.kt)|0% **`-10.97%`**|🟢| ||[PillarboxPlayer.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-player%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fplayer%2FPillarboxPlayer.kt)|0%|🟢| |:pillarbox-ui|[ComposablePlayer.kt](https://github.com/SRGSSR/pillarbox-android/blob/e22ad912d243be9cab2652235436f61c49e3a9d6/pillarbox-ui%2Fsrc%2Fmain%2Fjava%2Fch%2Fsrgssr%2Fpillarbox%2Fui%2Fextension%2FComposablePlayer.kt)|0% **`-3.47%`**|🟢|