mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-17 15:34:10 +01:00
Add other xtream login endpoint
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
This commit is contained in:
@@ -53,6 +53,7 @@ func Routes(proxyConfig *config.ProxyConfig, r *gin.RouterGroup, newM3U []byte)
|
||||
r.POST("/iptv.m3u", p.authenticate, p.getM3U)
|
||||
|
||||
//Xtream, iptv Smarter android app compatibility
|
||||
r.GET("/player_api.php", p.appAuthenticate, p.xtreamPlayerAPI)
|
||||
r.POST("/player_api.php", p.appAuthenticate, p.xtreamPlayerAPI)
|
||||
r.GET("/xmltv.php", p.authenticate, p.xtreamXMLTV)
|
||||
r.GET(fmt.Sprintf("/%s/%s/:id", proxyConfig.User, proxyConfig.Password), p.xtreamStream)
|
||||
|
||||
Reference in New Issue
Block a user