FFmpeg changed: user-agent to user_agent

This commit is contained in:
marmei
2020-02-08 11:10:14 +01:00
parent 4b9f5826cf
commit 4fc4330a94
2 changed files with 2 additions and 2 deletions

View File

@@ -1430,7 +1430,7 @@ func thirdPartyBuffer(streamID int, playlistID string) {
a = strings.Replace(a, "[URL]", url, -1)
if i == 0 {
if len(Settings.UserAgent) != 0 {
args = []string{"-user-agent", Settings.UserAgent}
args = []string{"-user_agent", Settings.UserAgent}
}
}

View File

@@ -39,7 +39,7 @@ var GitHub = GitHubStruct{Branch: "master", User: "xteve-project", Repo: "xTeVe-
const Name = "xTeVe"
// Version : Version, die Build Nummer wird in der main func geparst.
const Version = "2.1.1.0116"
const Version = "2.1.1.0117"
// DBVersion : Datanbank Version
const DBVersion = "2.1.0"