try again
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2026-02-11 11:56:30 +11:00
parent 45685ce592
commit 6a8b4bed28
4 changed files with 8 additions and 8 deletions

View File

@@ -106,7 +106,7 @@ func serverRequest() (err error) {
if resp.StatusCode != http.StatusOK {
//fmt.Println(resp.StatusCode, Updater.URL, Updater.CMD)
err = fmt.Errorf(fmt.Sprintf("%d: %s (%s)", resp.StatusCode, http.StatusText(resp.StatusCode), Updater.URL))
err = fmt.Errorf("%d: %s (%s)", resp.StatusCode, http.StatusText(resp.StatusCode), Updater.URL)
return err
}

View File

@@ -323,7 +323,7 @@ func getErrMsg(errCode int) (errMsg string) {
// Tuner
case 2105:
errMsg = fmt.Sprintf("The number of tuners has changed, you have to delete " + System.Name + " in Plex / Emby HDHR and set it up again.")
errMsg = "The number of tuners has changed, you have to delete " + System.Name + " in Plex / Emby HDHR and set it up again."
case 2106:
errMsg = fmt.Sprintf("This function is only available with XEPG as EPG source")

View File

@@ -48,12 +48,12 @@ func BinaryUpdate() (err error) {
if resp.StatusCode != http.StatusOK {
if resp.StatusCode == 404 {
err = fmt.Errorf(fmt.Sprintf("Update Server: %s (%s)", http.StatusText(resp.StatusCode), gitInfo))
err = fmt.Errorf("Update Server: %s (%s)", http.StatusText(resp.StatusCode), gitInfo)
ShowError(err, 6003)
return nil
}
err = fmt.Errorf(fmt.Sprintf("%d: %s (%s)", resp.StatusCode, http.StatusText(resp.StatusCode), gitInfo))
err = fmt.Errorf("%d: %s (%s)", resp.StatusCode, http.StatusText(resp.StatusCode), gitInfo)
return err
}
@@ -87,7 +87,7 @@ func BinaryUpdate() (err error) {
err = up2date.GetVersion()
if err != nil {
debug = fmt.Sprintf(err.Error())
debug = err.Error()
showDebug(debug, 1)
return nil
@@ -95,7 +95,7 @@ func BinaryUpdate() (err error) {
if len(updater.Response.Reason) > 0 {
err = fmt.Errorf(fmt.Sprintf("Update Server: %s", updater.Response.Reason))
err = fmt.Errorf("Update Server: %s", updater.Response.Reason)
ShowError(err, 6002)
return nil

View File

@@ -605,7 +605,7 @@ func mapping() (err error) {
} else {
ShowError(fmt.Errorf(fmt.Sprintf("Missing EPG data: %s", xepgChannel.Name)), 0)
ShowError(fmt.Errorf("Missing EPG data: %s", xepgChannel.Name), 0)
showWarning(2302)
xepgChannel.XActive = false