removed function fetch list
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user