SRGSSR / pillarbox-apple

A next-generation reactive media playback ecosystem for Apple platforms.
https://testflight.apple.com/join/TS6ngLqf
MIT License
43 stars 6 forks source link

Handle blocked time ranges #851

Closed defagos closed 2 weeks ago

defagos commented 3 weeks ago

As an editor I want content that must not be available (e.g. legal, commercial or geoblocking reason) not to be playable (skipped). As a user I still want to be able to play content containing blocked time ranges.

Acceptance criteria

Tasks

defagos commented 2 weeks ago

tvOS interstitials cannot be nested (otherwise the behavior is erratic). Possibly nested time ranges have to be flattened first.

defagos commented 2 weeks ago

There is a minor issue with some content with blocked time ranges at the very end (e.g. Ramdam urn:rts:video:13041988). In this case the progress is stuck at 1 after replaying the content.

This is due to issues with the low-level seek not completing with finished set to true, an issue already encountered in the past. For the moment it is better to consider it as a known issue and not to introduce silly workarounds for what is ultimately a corner case.