diff --git a/pkg/xtream-proxy/xtream-proxy.go b/pkg/xtream-proxy/xtream-proxy.go index 1e88337f..335a8247 100644 --- a/pkg/xtream-proxy/xtream-proxy.go +++ b/pkg/xtream-proxy/xtream-proxy.go @@ -81,7 +81,7 @@ func (c *Client) login(proxyUser, proxyPassword, proxyURL string, proxyPort int, ServerInfo: xtream.ServerInfo{ URL: proxyURL, Port: xtream.FlexInt(proxyPort), - HTTPSPort: xtream.FlexInt(proxyPort), + HTTPSPort: c.ServerInfo.HTTPSPort, Protocol: protocol, RTMPPort: xtream.FlexInt(proxyPort), Timezone: c.ServerInfo.Timezone, diff --git a/vendor/github.com/tellytv/go.xtream-codes/structs.go b/vendor/github.com/tellytv/go.xtream-codes/structs.go index 833689de..96846d3b 100644 --- a/vendor/github.com/tellytv/go.xtream-codes/structs.go +++ b/vendor/github.com/tellytv/go.xtream-codes/structs.go @@ -5,7 +5,7 @@ package xtreamcodes // ServerInfo describes the state of the Xtream-Codes server. type ServerInfo struct { - HTTPSPort FlexInt `json:"https_port,string"` + HTTPSPort string `json:"https_port"` Port FlexInt `json:"port,string"` Process bool `json:"process"` RTMPPort FlexInt `json:"rtmp_port,string"` @@ -166,3 +166,4 @@ type EPGInfo struct { StopTimestamp Timestamp `json:"stop_timestamp"` Title Base64Value `json:"title"` } +