Add basic auth, fix xtream path

Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>

fixup! Add basic auth, fix xtream path

Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>

fixup! fixup! Add basic auth, fix xtream path

Signed-off-by: Pierre-Emmanuel Jacquier <15922119+pierre-emmanuelJ@users.noreply.github.com>
This commit is contained in:
Pierre-Emmanuel Jacquier
2020-05-16 14:36:17 +02:00
parent 20f07dc0a1
commit 12cdadf75f
7 changed files with 38 additions and 20 deletions

View File

@@ -74,12 +74,12 @@ var rootCmd = &cobra.Command{
Port: viper.GetInt64("port"),
},
RemoteURL: remoteHostURL,
XtreamUser: xtreamUser,
XtreamPassword: xtreamPassword,
XtreamUser: config.CredentialString(xtreamUser),
XtreamPassword: config.CredentialString(xtreamPassword),
XtreamBaseURL: xtreamBaseURL,
M3UCacheExpiration: viper.GetInt("m3u-cache-expiration"),
User: viper.GetString("user"),
Password: viper.GetString("password"),
User: config.CredentialString(viper.GetString("user")),
Password: config.CredentialString(viper.GetString("password")),
HTTPS: viper.GetBool("https"),
M3UFileName: viper.GetString("m3u-file-name"),
CustomEndpoint: viper.GetString("custom-endpoint"),