removed function fetch list

This commit is contained in:
Hazel Noack
2025-10-09 12:35:00 +02:00
parent 6bd957b09e
commit e79e364ff9
4 changed files with 46 additions and 42 deletions

View File

@@ -100,12 +100,12 @@ func interpretCommand(command string, store musicObjectStore) (musicObjectStore,
current := currentMusicObjects[index]
currentMusicObjects, err = plugin.FetchList(current)
fetched, err := plugin.Fetch(current)
if err != nil {
return store, err
}
return append(store, currentMusicObjects), nil
return append(store, fetched.Related()), nil
}
// search in every other case