summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2014-01-16 11:54:31 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2014-01-16 11:54:31 +0100
commit3dcf11b7df9828905f9b9aaa796253472ebd59d9 (patch)
treec9f833f066a391b543630f8094e903ed8b35a0cf
parentf66266b47cc46cbad30b5345087b702b72d3f709 (diff)
downloaddotfiles-3dcf11b7df9828905f9b9aaa796253472ebd59d9.tar.gz
dotfiles-3dcf11b7df9828905f9b9aaa796253472ebd59d9.tar.bz2
dotfiles-3dcf11b7df9828905f9b9aaa796253472ebd59d9.zip
quvi/zdf: Meta format seems to be not generic, use zdfmeta as func name
-rw-r--r--.local/share/libquvi-scripts/lua/website/zdfmediathek.lua4
1 files 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)")