0.2.72 - Magic button, Next up fixes

This commit is contained in:
ponzischeme89
2026-08-17 11:41:36 +12:00
parent 36cb1324fd
commit 12b27c77c3
2655 changed files with 5435 additions and 254 deletions
+3 -1
View File
@@ -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"