Skip to content

Metadata Updates During Playback

Latest

Choose a tag to compare

@defagos defagos released this 30 Nov 10:02
· 5 commits to main since this release
20.1.0
eb320eb

Important

This release is required to comply with a legal requirement preventing ad breaks from being displayed once a sports event has ended.

This release lets metadata be updated while content is being played, which Pillarbox now uses to keep SRG SSR scheduled livestream information up to date. It also fixes several issues related to metadata updates and seeking.

Improvements

  • Added support for metadata updates during playback. An AssetLoader.metadataPublisher(for:) can now deliver metadata more than once, and playback continues uninterrupted as long as the asset URL stays the same.
  • Updated SRG SSR scheduled livestream metadata periodically during playback.
  • Added chapter support for SRG SSR livestreams (highlights).
  • Made Chapter and PlayerData.Chapter conform to Identifiable.

Fixes

  • Fixed progress that could stop being updated after seeks that did not finish.
  • Fixed token-protected and encrypted streams being reloaded when metadata is updated.
  • Fixed LazyImage not refreshing when its image source changes.
  • Fixed extra comScore events being sent when metadata is updated.

What's Changed

  • Update to Xcode 27.2 by @defagos in #1640
  • Bump github.com/apple/swift-collections from 1.7.5 to 1.7.6 in the packages group by @dependabot[bot] in #1641
  • Support periodic metadata updates by @waliid in #1643
  • Update scheduled livestream metadata during playback by @waliid in #1644
  • Bump github.com/commandersact/iosv5-spm from 5.5.1 to 5.6.0 in the packages group by @dependabot[bot] in #1645
  • Bump fastlane from 2.241.2 to 2.242.0 in the gems group by @dependabot[bot] in #1646
  • Fix frozen progress after unfinished seeks by @waliid in #1647
  • Avoid protected stream reload on metadata update by @waliid in #1648
  • Use a stable identifier for Akamai token-protected content by @waliid in #1649
  • Ignore resource updates in SRG SSR metadata updates by @defagos in #1651
  • Make Chapter identifiable by @defagos in #1652
  • Fix extra comScore events on metadata updates by @waliid in #1653
  • Update dependencies to latest versions by @defagos in #1654

Full Changelog: 20.0.1...20.1.0