From 7ac0b5fc650fc36b527f58a30e71c2c0eb81930a Mon Sep 17 00:00:00 2001 From: Johan Andersson Date: Sun, 7 Oct 2018 19:54:31 +0200 Subject: [PATCH] get_media: support for raw mpd files --- 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 2cd080d..38f9be1 100644 --- a/lib/svtplay_dl/utils/getmedia.py +++ b/lib/svtplay_dl/utils/getmedia.py @@ -46,7 +46,7 @@ def get_media(url, options, version="Unknown"): generic = Generic(options, url) url, stream = generic.get(sites) if not stream: - if url.find(".f4m") > 0 or url.find(".m3u8") > 0: + if url.find(".f4m") > 0 or url.find(".m3u8") > 0 or url.find(".mpd") > 1: stream = Raw(options, url) if not stream: logging.error("That site is not supported. Make a ticket or send a message")