mirror of
https://github.com/AynaLivePlayer/AynaLivePlayer.git
synced 2026-05-12 02:25:00 +08:00
add local provider, add cover output in textinfo
This commit is contained in:
@@ -44,3 +44,10 @@ func StringSliceCopy(src []string) []string {
|
||||
copy(x, src)
|
||||
return x
|
||||
}
|
||||
|
||||
func GetOrDefault(s string, def string) string {
|
||||
if s == "" {
|
||||
return def
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user