playsrg-apple icon indicating copy to clipboard operation
playsrg-apple copied to clipboard

Incorrect Google Cast behavior with downloaded content

Open defagos opened this issue 5 years ago • 1 comments

The Google Cast player is not displayed (the usual player is instead) when Google Casting a downloaded media. The media is not played on the receiver.

Issue type

Incorrect behavior

Environment information

  • Application version: 2.9.3
  • iOS version: Any
  • Device: Any

Reproducibility

Always reproducible

Steps to reproduce

  1. Open Play SRG and download an audio media.
  2. After the media has been fully downloaded, open it and play it on a Google Cast receiver.
  3. Instead of the Google Cast player being displayed, the original player is is presented, and media playback continues locally. No playback resumes on the Google Cast receiver.

defagos avatar Aug 08 '19 13:08 defagos

The code to deal with this special case (no media composition, only a media) has simply never been written 🙃

I see two ways of solving this issue:

  1. We implement it properly (but currently most of Google Cast setup code requires a media composition).
  2. We disable Google Cast for downloaded medias (uglier but straightforward to implement).

defagos avatar Aug 08 '19 13:08 defagos