From 79f77cb785fabc62ccec9826c1a503459566bd9f Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Tue, 11 Dec 2018 01:03:12 +0100 Subject: [PATCH] get_media: check for all_episode from the service config Fixes: #1009 --- lib/svtplay_dl/utils/getmedia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/svtplay_dl/utils/getmedia.py b/lib/svtplay_dl/utils/getmedia.py index ea4f51c..ccaa034 100644 --- a/lib/svtplay_dl/utils/getmedia.py +++ b/lib/svtplay_dl/utils/getmedia.py @@ -50,7 +50,7 @@ def get_media(url, options, version="Unknown"): logging.error("That site is not supported. Make a ticket or send a message") sys.exit(2) - if options.get("all_episodes"): + if options.get("all_episodes") or stream.config.get("all_episodes"): get_all_episodes(stream, url) else: get_one_media(stream)