mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-12 22:24:18 +01:00
Add hlsr
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user