Skip to content
This repository has been archived by the owner on Apr 10, 2018. It is now read-only.

Allowing for absolute variant manifest urls #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion hlsprobe
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ class CupertinoProbe:
while self.playlistq.full():
self.log.debug("Playlist queue is full (%d). Probably you need to increase number of stream probers. Check `workers/stream-probers` value." % self.playlistq.qsize())
time.sleep(3)
self.playlistq.put((group, name, "%s/%s" % (baseuri, stream.uri)))
if stream.uri.startswith("http"):
self.playlistq.put((group, name, stream.uri))
else:
self.playlistq.put((group, name, "%s/%s" % (baseuri, stream.uri)))
else:
if not playlist.segments:
self.err("empty", "chunklist", group, name, uri)
Expand Down