6 Commits
Author SHA1 Message Date
zarzet 7aa2f37496 chore: remove comments that restate the code
One-line doc comments and inline comments that only repeat the name, the
type or the next statement of what they describe, in the Dart, Kotlin and
desktop runner sources. Comments that state a reason, a constraint, a
unit, a value set or a platform quirk stay. No code changes.
2026-11-17 02:06:37 +07:00
zarzet d6b0095eab fix(desktop): start the backend without a Documents folder
Windows fails the Documents known folder lookup when it still points at a
removed folder, such as a deleted OneDrive folder. The desktop backend
resolved it together with the folders it needs, so it never started, and
the failed start stayed cached: every backend call failed until the app
was restarted, leaving no extensions and no library.

The backend does not use the Documents folder, so application support
now stands in when the lookup fails, and a failed start is retried on
the next call instead of being kept for the session.

Fixes #897.
2026-11-15 17:33:24 +07:00
zarzet e624e062a7 refactor: drop parameters every caller leaves at the default
_stopConnectivityMonitoring always cleared the Wi-Fi pause, LibraryDatabase.getAll
was never paged and MethodChannelBackend never received other event channels.
2026-10-23 23:08:48 +07:00
zarzet c57de023c9 fix(desktop): pass the app version to the Rust backend
Without app_version the backend reported version 1, so every extension
with a minAppVersion failed to install or load on desktop.
2026-10-20 16:52:44 +07:00
zarzet fb4f457430 feat(desktop): run FFmpeg and ffprobe through bundled executables
Route every FFmpegKit and FFprobeKit use through FFmpegExecution. On
desktop it starts the ffmpeg and ffprobe executables with argument lists,
collects their logs, cancels sessions by killing the process, and parses
ffprobe JSON into the FFprobeKit MediaInformation model. Tools resolve
from MORNYE_FFMPEG_DIR, the app bundle, then PATH, and the Rust desktop
library receives the same paths.
2026-10-20 14:36:18 +07:00
zarzet f502edd1f2 feat(desktop): route the backend channel through Rust FFI on desktop
Introduce BackendChannel with a MethodChannel implementation for Android
and iOS and a dart:ffi implementation for desktop builds. PlatformBridge
and NativeLogSource select the backend through isDesktopPlatform; mobile
keeps the same channels and call sites. The desktop library loads lazily,
so a missing library fails calls with backend_unavailable instead of
crashing at startup.
2026-10-20 13:38:13 +07:00