forked from j62/ctbrec
Revert refresh of segment playlist url
This commit is contained in:
parent
dd47d121bc
commit
13da583483
|
@ -127,9 +127,6 @@ public abstract class AbstractHlsDownload extends AbstractDownload {
|
||||||
}
|
}
|
||||||
throw new InvalidPlaylistException("Playlist has no media playlist");
|
throw new InvalidPlaylistException("Playlist has no media playlist");
|
||||||
} else {
|
} else {
|
||||||
// update playlist url in case the streaming server has switched or something
|
|
||||||
LOG.debug("Loading segment playlist failed - trying to get a fresh playlist URL");
|
|
||||||
segmentsURL = getSegmentPlaylistUrl(getModel());
|
|
||||||
throw new HttpException(response.code(), response.message());
|
throw new HttpException(response.code(), response.message());
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
|
Loading…
Reference in New Issue