mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
Android Auto showed only the current queue, had no search, and could not love songs or browse until the app was opened on the phone: Dart startup waited for an Activity, so AudioService never configured and the star had no handler. - audio_service: add setFlutterEngineConfigurator so the app registers its playback plugins and a playback subset of the backend channel on the shared engine whichever component creates it. MainActivity replaces that handler with the full backend when it attaches. SAF playback leases now belong to the process. - Start the player, restore the session and set up the media controls without an Activity. The star loves songs straight in the collections database until the app shell takes the controls over. - Add MediaLibraryBrowser: Songs (with Shuffle library), Albums, Artists and Playlists (Loved first) tabs, grouped search results, paging, and voice requests that play songs or the album, artist or playlist asked for. Choosing a song plays the folder it came from. - Return the playing song for media resumption after a cold start. - Move playable media factories, track file resolution, media identity and locale lookup out of the providers so the headless path shares them. Local covers stay out of browse lists because a car cannot open the app's own files; songs that play keep their artwork.