Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 15 additions & 9 deletions src/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -1038,17 +1038,23 @@ func thirdPartyBuffer(streamID int, playlistID string, useBackup bool, backupNum
if backupNumber >= 1 && backupNumber <= 3 {
switch backupNumber {
case 1:
url = stream.BackupChannel1.URL
showHighlight("START OF BACKUP 1 STREAM")
showInfo("Backup Channel 1 URL: " + url)
if stream.BackupChannel1 != nil {
url = stream.BackupChannel1.URL
showHighlight("START OF BACKUP 1 STREAM")
showInfo("Backup Channel 1 URL: " + url)
}
case 2:
url = stream.BackupChannel2.URL
showHighlight("START OF BACKUP 2 STREAM")
showInfo("Backup Channel 2 URL: " + url)
if stream.BackupChannel2 != nil {
url = stream.BackupChannel2.URL
showHighlight("START OF BACKUP 2 STREAM")
showInfo("Backup Channel 2 URL: " + url)
}
case 3:
url = stream.BackupChannel3.URL
showHighlight("START OF BACKUP 3 STREAM")
showInfo("Backup Channel 3 URL: " + url)
if stream.BackupChannel3 != nil {
url = stream.BackupChannel3.URL
showHighlight("START OF BACKUP 3 STREAM")
showInfo("Backup Channel 3 URL: " + url)
}
}
}
}
Expand Down
64 changes: 32 additions & 32 deletions src/webUI.go

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions threadfin.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ var GitHub = GitHubStruct{Branch: "Main", User: "Threadfin", Repo: "Threadfin",
const Name = "Threadfin"

// Version : Version, die Build Nummer wird in der main func geparst.
const Version = "1.2.33"
const Version = "1.2.34"

// DBVersion : Datanbank Version
const DBVersion = "0.5.0"

// APIVersion : API Version
const APIVersion = "1.2.33"
const APIVersion = "1.2.34"

var homeDirectory = fmt.Sprintf("%s%s.%s%s", src.GetUserHomeDirectory(), string(os.PathSeparator), strings.ToLower(Name), string(os.PathSeparator))
var samplePath = fmt.Sprintf("%spath%sto%sthreadfin%s", string(os.PathSeparator), string(os.PathSeparator), string(os.PathSeparator), string(os.PathSeparator))
Expand Down