1
0
mirror of https://github.com/fHDHR/fHDHR_NextPVR.git synced 2025-12-06 10:26:57 -05:00

Merge pull request #30 from deathbybandaid/dev

Fix Stream grabbing
This commit is contained in:
Deathbybandaid 2020-10-13 12:14:08 -04:00 committed by GitHub
commit a0431ff4ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,6 +76,7 @@ class OriginService():
else: else:
chanstreamdict = next(item for item in streamlist if item["number"] == channel_number) chanstreamdict = next(item for item in streamlist if item["number"] == channel_number)
return chanstreamdict["stream_url"] return chanstreamdict["stream_url"]
return self.channels["list"][channel_number]["stream_url"]
def get_station_total(self): def get_station_total(self):
chanlist = self.get_channels() chanlist = self.get_channels()