Yoda local fork of System76 cosmic-player
Find a file
leyoda 22e5890a7c
Some checks are pending
Validate .desktop files / validate (push) Waiting to run
local: integrate yoda libcosmic and fix thumbnail hang
2026-05-18 12:22:47 +02:00
.github Add pull request template 2026-02-13 12:35:27 -07:00
.zed chore: update dependencies 2026-04-30 01:33:39 +02:00
debian Epoch 1.0.13 version update 2026-05-12 12:18:30 -06:00
i18n i18n: translation updates from weblate 2026-05-12 11:11:38 +00:00
res Translate desktop and metainfo with xdgen 2026-05-07 17:23:41 -06:00
src local: integrate yoda libcosmic and fix thumbnail hang 2026-05-18 12:22:47 +02:00
vendor/iced_video_player local: integrate yoda libcosmic and fix thumbnail hang 2026-05-18 12:22:47 +02:00
.gitignore local: integrate yoda libcosmic and fix thumbnail hang 2026-05-18 12:22:47 +02:00
build.rs Translate desktop and metainfo with xdgen 2026-05-07 17:23:41 -06:00
Cargo.lock local: integrate yoda libcosmic and fix thumbnail hang 2026-05-18 12:22:47 +02:00
Cargo.toml local: integrate yoda libcosmic and fix thumbnail hang 2026-05-18 12:22:47 +02:00
i18n.toml Convert to libcosmic and parse audio 2024-01-24 14:31:39 -07:00
justfile Translate desktop and metainfo with xdgen 2026-05-07 17:23:41 -06:00
LICENSE init 2024-01-23 21:55:34 -07:00
README.md local: integrate yoda libcosmic and fix thumbnail hang 2026-05-18 12:22:47 +02:00
rustfmt.toml chore: update dependencies 2026-04-30 01:33:39 +02:00
shell.nix add shell.nix file 2025-03-13 12:18:18 -06:00

cosmic-player

WIP COSMIC media player

Yoda local fork notes

This fork is used for the local COSMIC desktop build.

Local integration changes:

  • cosmic-player depends on the local libcosmic-yoda crate from ../libcosmic instead of upstream pop-os/libcosmic.
  • iced_video_player is vendored in vendor/iced_video_player so it uses the same local libcosmic-yoda and iced_wgpu stack. This avoids mixing upstream and local Iced/libcosmic types.
  • The app now runs App::close() before application exit and before the Quit menu action exits the runtime. This lets the GStreamer pipeline be dropped normally instead of short-circuiting through process::exit(0).
  • Thumbnail generation has a bounded wait for video frames. Some files/codecs can fail to produce a frame; the thumbnailer now returns an error instead of spinning forever as a background cosmic-player --thumbnail ... process.

Validation commands:

cargo +1.93.0 check
cargo +1.93.0 tree -i libcosmic-yoda --depth 2
cargo +1.93.0 tree -i libcosmic --depth 2 || true

Local redeploy:

COSMIC_PLAYER_REPO=/home/lionel/Projets/COSMIC/cosmic-player ./redeploy.sh