import { getPlaybackMediaExtensionFromUrl } from '@iptvnator/shared/m3u-utils'; import { PlaybackSourceKind } from './playback-recommendation.model'; /** * Engine family a playback URL is routed to BEFORE any engine runs. * * `resolvePlaybackSourceKind()` answers the opposite question — which family * a diagnostic came out of after an engine failed. Every built-in web player * selects its source engine through this function, so the HTML5 player and * ArtPlayer cannot disagree on what a URL is. A URL never yields `unknown`: * an unrecognized container is exactly what the native `