From 3dcf11b7df9828905f9b9aaa796253472ebd59d9 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Thu, 16 Jan 2014 11:54:31 +0100 Subject: quvi/zdf: Meta format seems to be not generic, use zdfmeta as func name --- .local/share/libquvi-scripts/lua/website/zdfmediathek.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua b/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua index 7bc4e5a..1cfc7c9 100644 --- a/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua +++ b/.local/share/libquvi-scripts/lua/website/zdfmediathek.lua @@ -83,7 +83,7 @@ function ZDFmediathek.table_add_format(t, fmt) if fmt.quality == "hd" and fmt.type == "h264_aac_mp4_rtmp_zdfmeta_http" then local new = { type = "h264_aac_mp4_http_na_na", container = "mp4", protocol = "http" } - new.url = ZDFmediathek.http_mp4_from_meta(fmt.url) + new.url = ZDFmediathek.http_mp4_from_zdfmeta(fmt.url) if new.url then table.insert(t, ZDFmediathek.merge_format(fmt, new)) end @@ -148,7 +148,7 @@ function ZDFmediathek.get_config(self) return c end -function ZDFmediathek.http_mp4_from_meta(meta_url) +function ZDFmediathek.http_mp4_from_zdfmeta(meta_url) local c = quvi.fetch(meta_url, {fetch_type='config'}) local path = c:match("mp4:(.-%.mp4)") -- cgit