Show station name even on metadata error
This commit is contained in:
parent
33f7405404
commit
23683424a6
2
main.go
2
main.go
|
@ -127,7 +127,7 @@ func metaProc(ctx context.Context, name string, out chan<- string) {
|
||||||
for {
|
for {
|
||||||
meta, err := getMeta(name)
|
meta, err := getMeta(name)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
current = "Error: " + err.Error()
|
current = name + " - " + err.Error()
|
||||||
interval = 30 * time.Second
|
interval = 30 * time.Second
|
||||||
} else {
|
} else {
|
||||||
current = meta.title
|
current = meta.title
|
||||||
|
|
Loading…
Reference in New Issue