Fix I guess what was a typo

This commit is contained in:
Gabe Kangas 2020-06-25 18:26:54 -07:00
parent 04dc0796d8
commit a31076a591

View file

@ -100,7 +100,7 @@ func (s *IPFSStorage) GenerateRemotePlaylist(playlist string, variant models.Var
line := scanner.Text() line := scanner.Text()
if line[0:1] != "#" { if line[0:1] != "#" {
fullRemotePath := variant.GetSegmentForFilename(line) fullRemotePath := variant.GetSegmentForFilename(line)
if fullRemotePath != nil { if fullRemotePath == nil {
line = "" line = ""
} else { } else {
line = fullRemotePath.RemoteID line = fullRemotePath.RemoteID