0.2.72 - Magic button, Next up fixes
This commit is contained in:
@@ -178,7 +178,9 @@ func componentFor(path string) string {
|
||||
return "recommendations"
|
||||
case strings.HasPrefix(path, "/v1/my-shows"), strings.HasPrefix(path, "/v1/notifications"):
|
||||
return "my-shows"
|
||||
case strings.HasPrefix(path, "/v1/playback/"), isPlaybackItemPath(path):
|
||||
// Magic is a recommendation by machinery but a playback control by surface, and this
|
||||
// names the part of the app a call came from: it is only ever pressed in the player.
|
||||
case strings.HasPrefix(path, "/v1/playback/"), path == "/v1/magic", isPlaybackItemPath(path):
|
||||
return "playback"
|
||||
case strings.HasPrefix(path, "/v1/images/"):
|
||||
return "artwork"
|
||||
|
||||
Reference in New Issue
Block a user