From 31a3eb3e0523dbe4bb4d5395abe9abdedc8a98e9 Mon Sep 17 00:00:00 2001 From: mac12m99 <10120390+mac12m99@users.noreply.github.com> Date: Thu, 25 Feb 2021 20:29:31 +0100 Subject: [PATCH] fix seriehd (HDpass) --- channels/seriehd.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/channels/seriehd.py b/channels/seriehd.py index 08387e48..a7f27494 100644 --- a/channels/seriehd.py +++ b/channels/seriehd.py @@ -148,5 +148,8 @@ def findvideos(item): if matches: item.url = support.urlparse.urljoin(url, matches[-1][0]) return support.hdpass_get_servers(item) + def play(item): - return support.hdpass_get_url(item) \ No newline at end of file + if 'hdpass' in item.url: + return support.hdpass_get_url(item) + return [item] \ No newline at end of file