Skip to content

Commit

Permalink
[FR - RFMBMCPLAY] Remove problematic workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopa00 committed Nov 19, 2024
1 parent ee00917 commit cbc8b82
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions resources/lib/channels/fr/rmcbfmplay.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,10 +365,7 @@ def get_live_url(plugin, item_id, **kwargs):
if data["name"] == temp_id:
for stream in data["streams"]:
if stream["drm"] == "WIDEVINE":

# Workaround for IA bug : https://github.com/xbmc/inputstream.adaptive/issues/804
response = urlquick.get(stream["url"], headers=GENERIC_HEADERS, max_age=-1)
video_url = re.search('<Location>([^<]+)</Location>', response.text).group(1).replace(';', '&')
video_url = stream["url"]
customdata = CUSTOMDATALIVE.format(web_utils.get_random_windows_ua(), token, "undefined")
headers = {
'User-Agent': web_utils.get_random_windows_ua(),
Expand Down

0 comments on commit cbc8b82

Please sign in to comment.