From e8e8f4bfa3722abfc98685cc8caf3fe3b92df4d5 Mon Sep 17 00:00:00 2001 From: Pierre-Emmanuel Jacquier Date: Sun, 19 May 2019 00:31:14 +0000 Subject: [PATCH] Add hlsr Signed-off-by: Pierre-Emmanuel Jacquier --- pkg/routes/routes.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkg/routes/routes.go b/pkg/routes/routes.go index 60c9f35..d2d9d8b 100644 --- a/pkg/routes/routes.go +++ b/pkg/routes/routes.go @@ -52,6 +52,8 @@ func Routes(proxyConfig *config.ProxyConfig, r *gin.RouterGroup, newM3U []byte) // XXX Private need for external Android app r.POST("/iptv.m3u", p.authenticate, p.getM3U) + r.GET("/hlsr/*", p.authenticate, p.xtreamStream) + //Xtream, iptv Smarter android app compatibility r.GET("/player_api.php", p.authenticate, p.xtreamPlayerAPIGET) r.POST("/player_api.php", p.appAuthenticate, p.xtreamPlayerAPIPOST)