Remove old federation compatibility
This commit is contained in:
parent
b3fc41a165
commit
bacb544dbb
1 changed files with 0 additions and 3 deletions
|
@ -120,9 +120,6 @@ function getStreamingPlaylistAttributesFromObject (video: MVideoId, videoObject:
|
||||||
|
|
||||||
let files: unknown[] = playlistUrlObject.tag.filter(u => isAPVideoUrlObject(u)) as ActivityVideoUrlObject[]
|
let files: unknown[] = playlistUrlObject.tag.filter(u => isAPVideoUrlObject(u)) as ActivityVideoUrlObject[]
|
||||||
|
|
||||||
// FIXME: backward compatibility introduced in v2.1.0
|
|
||||||
if (files.length === 0) files = videoFiles
|
|
||||||
|
|
||||||
if (!segmentsSha256UrlObject) {
|
if (!segmentsSha256UrlObject) {
|
||||||
logger.warn('No segment sha256 URL found in AP playlist object.', { playlistUrl: playlistUrlObject })
|
logger.warn('No segment sha256 URL found in AP playlist object.', { playlistUrl: playlistUrlObject })
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in a new issue