Closed pyby closed 1 year ago
Moving all in one time seems to not be doable, regarding dependencies. https://github.com/SRGSSR/srgdataprovider-apple/pull/44
Looks good with urls from:
The PlaySRG image services not fit well with:
imageUrl
from SRGChannel
and SRGProgram
returns blurred scalded image (mid 07.2023) (Internal Jira ticket).Proposition would be:
Open question: With PlaySRG Service, the image format could be asked.
Here are an example of an SRF audio thumbnail requested:
Service | Image url | content-type | content-length | Usage | ||
---|---|---|---|---|---|---|
BU | https://ws.srf.ch/asset/image/audio/aa35a39d-85cc-4dc4-bf54-8d744cd6304f/EPISODE_IMAGE/1683198311.png/scale/width/320 | image/png | 133393 | Current request | ||
PlaySRG png | https://il.srgssr.ch/images/?imageUrl=https://ws.srf.ch/asset/image/audio/aa35a39d-85cc-4dc4-bf54-8d744cd6304f/EPISODE_IMAGE/1683198311.png&format=png&width=320 | image/png | 135647 | Future request, url is a png | ||
PlaySRG jpg | https://il.srgssr.ch/images/?imageUrl=https://ws.srf.ch/asset/image/audio/aa35a39d-85cc-4dc4-bf54-8d744cd6304f/EPISODE_IMAGE/1683198311.png&format=jpg&width=320 | image/jpeg | 8174 | |||
PlaySRG webp | https://il.srgssr.ch/images/?imageUrl=https://ws.srf.ch/asset/image/audio/aa35a39d-85cc-4dc4-bf54-8d744cd6304f/EPISODE_IMAGE/1683198311.png&format=webp&width=320 | image/webp | 7718 |
Asking png only for channel logo or custom button for the UI, and use jpg for all content image?
We should ask designers, if HeroStage images or highlighted images are allowed to be transparence (and work with the page background).
The PlaySRG image services not fit well with:
- RTS CMS image service: returns raw image which many various image ratios (06.2023) (Internal Jira ticket).
- IL with vector images.
imageUrl
fromSRGChannel
andSRGProgram
returns blurred scalded image (mid 07.2023) (Internal Jira ticket).
SRGDataProvider
: https://github.com/SRGSSR/srgdataprovider-apple/pull/44imageUrl
from SRGChannel
and SRGProgram
. Workaround to get channel rawImageUrl
instead: in ProgramViewModel
.The SRGProgram
's fallback imageUrl
can't be used in Play SRG image service (blurred image). https://github.com/SRGSSR/srgdataprovider-apple/pull/49 ignore those image urls.
Issue type
Feature request
Description
Integration Layer product has deprecated endpoints, which will be removed during migration to the new major version (named SAM): Services to transform images.
In addition:
Main new image service to use is the PlaySRG image service.
Environment information
Images are provided by
SRGDataProvider
.In Player,
SRGLetterbox
usesSRGDataProvider
as well.Application version: Any
iOS / tvOS version: Any
Device: Any