diff --git a/core/storageproviders/ipfsStorage.go b/core/storageproviders/ipfsStorage.go index aafefd178..5642628c2 100644 --- a/core/storageproviders/ipfsStorage.go +++ b/core/storageproviders/ipfsStorage.go @@ -100,7 +100,7 @@ func (s *IPFSStorage) GenerateRemotePlaylist(playlist string, variant models.Var line := scanner.Text() if line[0:1] != "#" { fullRemotePath := variant.GetSegmentForFilename(line) - if fullRemotePath != nil { + if fullRemotePath == nil { line = "" } else { line = fullRemotePath.RemoteID