go fix for 1.26
continuous-integration/drone/push Build is passing

This commit is contained in:
nathan committed 2026-02-11 12:53:35 +11:00
1 parent 339d2d0aa5
commit c5545cbf08
20 files changed
+656 -660

No files matched your search

+2 -2
View File
@@ -13,7 +13,7 @@ import (
)
// Playlisten parsen
func parsePlaylist(filename, fileType string) (channels []interface{}, err error) {
func parsePlaylist(filename, fileType string) (channels []any, err error) {
content, err := readByteFromFile(filename)
var id = strings.TrimSuffix(getFilenameFromPath(filename), path.Ext(getFilenameFromPath(filename)))
@@ -34,7 +34,7 @@ func parsePlaylist(filename, fileType string) (channels []interface{}, err error
}
// Streams filtern
func filterThisStream(s interface{}) (status bool) {
func filterThisStream(s any) (status bool) {
status = false
var stream = s.(map[string]string)