Atoll/DynamicIsland
Amir Zarrinkafsh 197c3cfa56
fix(mediacontrollers): artwork for streamed content not added to apple music library
When using the Apple Music controller, album artwork fails to display for streamed tracks that have not been added to the user's Library. AppleScript's `raw data of artwork 1 of current track` returns empty data for these tracks.

This change adds a fallback that searches the iTunes Search API using the track's title and artist, then selects the correct result by matching against the album name from the response fields.

- Added iTunes Search API fallback in `AppleMusicController` for artwork retrieval when AppleScript returns empty artwork data
- Search query uses title and artist only to avoid false matches; album is validated against structured response fields to select the correct result
- Artwork is cached per track to avoid redundant network requests
- Simplified the AppleScript by removing the ineffective Library playlist lookup fallback and collapsed the duplicate macOS 26 / pre-26 script branches
- Replaced `JSONSerialization` dictionary access with `Decodable` structs (`ITunesSearchResponse`, `ITunesTrack`) to match codebase conventions
2026-03-22 11:58:22 +11:00
..
animations Update copyright headers 2026-01-29 12:26:04 +05:30
Assets.xcassets WIP: Settings 2026-02-09 23:38:17 +05:30
BluetoothHUDAnimations Bluetooth HUD Animations 2026-02-04 23:48:48 +05:30
components HotFix: Remove Unnecessary Mach service for Stats 2026-03-20 20:24:08 +05:30
enums Terminal Work In Progress 2026-03-04 01:46:26 +05:30
extensions Fix: Hover Gesture 2026-03-06 01:33:48 +05:30
helpers Update Shelf to work with limited permissions 2026-03-15 19:55:08 +05:30
managers HotFix: Remove Unnecessary Mach service for Stats 2026-03-20 20:24:08 +05:30
MediaControllers fix(mediacontrollers): artwork for streamed content not added to apple music library 2026-03-22 11:58:22 +11:00
menu Update copyright headers 2026-01-29 12:26:04 +05:30
metal Update README, images, attributions etc 2025-09-02 19:26:56 +05:30
models HotFix: Remove Unnecessary Mach service for Stats 2026-03-20 20:24:08 +05:30
observers Update copyright headers 2026-01-29 12:26:04 +05:30
Preview Content/Preview Assets.xcassets Initial Commit 2024-11-01 10:32:51 +05:30
private Update copyright headers 2026-01-29 12:26:04 +05:30
Providers Update copyright headers 2026-01-29 12:26:04 +05:30
services/Extensions Distributed Notifications 2026-03-20 19:54:22 +05:30
Shortcuts Feature: Terminal stay open and shortcuts 2026-03-08 17:48:43 +05:30
sizing Update: Support for 2K resolution 2026-03-05 13:54:11 +05:30
strings Update support page 2026-01-31 23:38:19 +05:30
utils Update Onboarding and temperature stuff 2026-03-05 20:56:15 +05:30
audio-feedback.m4a Update Feedback for Volume Change 2026-01-22 22:34:08 +05:30
ContentView.swift BugFix: Hover Fix 2026-03-15 13:00:29 +05:30
dynamic.m4a Restored files from old Mac, force pushing 2025-07-13 20:26:03 +05:30
DynamicIsland.entitlements Update entitlements 2026-03-11 12:59:44 +05:30
DynamicIslandApp.swift Distributed Notifications 2026-03-20 19:54:22 +05:30
DynamicIslandViewCoordinator.swift Update HUDs for external display parity 2026-03-13 21:40:42 +05:30
Info.plist Update Appcast 2025-12-05 13:53:29 +05:30
Localizable.xcstrings Update Appcast 2026-03-21 23:54:26 +05:30
lock.mp3 Add Lock/Unlock sounds 2025-11-26 23:48:32 +05:30
lowbattery.mp3 BugFix: SettingsView Media sizing 2025-12-08 14:26:16 +05:30
timer.mp3 Update Timer Lock Screen Widget 2025-11-27 14:05:05 +05:30
unlock.mp3 Add Lock/Unlock sounds 2025-11-26 23:48:32 +05:30