Add com.zarz.mornye/media3_player with per-player event channels for
ordinary mixer playback through media3 1.9.2, the version
video_player_android already bundles. Players live on one owned
HandlerThread looper; create replies after its event channel is
registered. Offload, audio focus and becoming-noisy handling are off,
the session id is set before the first source, and the wake mode follows
the source type.
SAF leases are duplicated and read through media3's
FileDescriptorDataSource, closed once the item has left the playlist and
its last reader closed. queueNext appends to the same playlist for
gapless playback and reports the transition; a queued item whose load
fails is dropped so the current one plays out, then reported as the
failed current item. High-resolution PCM uses float output with platform
playback parameters for speed. The DynamicsProcessing equalizer is
copied from the audioplayers fork.
Rename the Dart package, Android and iOS identifiers, Rust crates, native libraries, and Discord plugin. Preserve legacy data readers and compatibility aliases.
Update localized branding, documentation, artwork, build tooling, and release artifacts. Route Telegram release notifications to @mornyeupdates and link @mornyecommunity.
Add android/README.md: backend channel routing, the 70 nativeBackendMethods with handler file and reply kind, host-to-Dart events, the __json_file spill, progress EventChannels (400 ms Android, 800 ms iOS), the two foreground services, the SAF model, the Rust bridge files, and the iOS routing differences.
Derived from MainActivity.kt and the MainActivity*.kt handler files, MainActivityProgressStreams.kt, SelectedCoreBackend.kt, RustCoreBackendApplication.kt, NativeDataJobs.kt, SpillJsonWriter, DownloadService.kt, BackgroundWorkService.kt, MainActivitySafScan.kt, MainActivitySafIo.kt, android/app/build.gradle.kts, proguard-rules.pro, ios/Runner/AppDelegate.swift, CoreBackend.swift and lib/services/platform_bridge*.dart.