]> git.sesse.net Git - ultimatescore/commitdiff
Fixes for Futatabi integration.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Oct 2018 17:20:50 +0000 (19:20 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Oct 2018 17:20:50 +0000 (19:20 +0200)
nageru/ultimate.lua

index 3045e6f4d745601bfd8131dd67eb2bb795c3ed06..260fec38ab97b71bffc94e8850aecfe284d095a9 100644 (file)
@@ -48,7 +48,7 @@ cq:wrap(function()
                if headers:get ":status" == "200" then
                        local body = assert(stream:get_body_as_string())
                        if body then
-                               replay_title = "IPTV " .. body
+                               replay_title = "IPTV (" .. body .. ")"
                        end
                end
        end
@@ -87,7 +87,7 @@ cef_input:execute_javascript_async("play()")
 
 local bg_video = VideoInput.new(cef_path .. "/flow-720.mp4", Nageru.VIDEO_FORMAT_YCBCR)
 -- local iptv_video = VideoInput.new("http://10.34.129.69:9060/1/v.flv", Nageru.VIDEO_FORMAT_YCBCR)
-local iptv_video = VideoInput.new("http://home.samfundet.no/~sesse/videostuff", Nageru.VIDEO_FORMAT_YCBCR)
+local iptv_video = VideoInput.new(futatabi_server, Nageru.VIDEO_FORMAT_YCBCR)
 
 function reload_cef()
        cef_input:reload()