summaryrefslogtreecommitdiff
path: root/xc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xc.lua')
-rw-r--r--xc.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xc.lua b/xc.lua
index bfac020..19e9bc1 100644
--- a/xc.lua
+++ b/xc.lua
@@ -109,8 +109,9 @@ json.dump(
end
function mt:stream_url(stream_type, stream_id)
- if stream_type == 'series' then
- return self.url .. '/series/' ..
+ if stream_type == 'movie' or stream_type == 'series' then
+ return self.url .. '/' ..
+ stream_type .. '/' ..
self.user .. '/' ..
self.pass .. '/' ..
stream_id .. '.vod'