Introducing a new way to review your PRs.

Read the announcement

huynhsontung / screenbox

LibVLC-based media player for the Universal Windows Platform

View on GitHub

19 documents · Updated Nov 23, 2026

overview

Knowledge Base updated: 2026-11-22

Screenbox knowledge base

Orientation

Screenbox is a Windows media player built around WinUI presentation, view models, media-library workflows, LibVLC-backed playback, and persistent local application state.

The application shell coordinates navigation across library, discovery, playback, and settings experiences. Playback consumes resolved media sources and exposes queue, track, progress, and rendering state to the UI.

Critical state includes indexed media and playlists, saved playback progress, application settings, the active play queue, and integrations with casting and Lively Wallpaper.

flowchart LR
  UI[WinUI application shell] --> Nav[Navigation and page view models]
  Nav --> Library[Media library and discovery]
  Nav --> Playback[Playback coordination]
  Nav --> Settings[Settings views]
  Library --> Sources[Media source resolution]
  Library --> Database[(Library database)]
  Library --> Search[Search services]
  Playback --> Queue[Play queue]
  Playback --> VLC[LibVLC playback engine]
  VLC --> Video[Video rendering surface]
  Playback --> History[(Playback history)]
  Settings --> Preferences[(Settings storage)]
  Playback --> Cast[Casting]
  Playback --> Lively[Lively Wallpaper]

Glossary

  • Play queue — The ordered set of media items and current-selection state used for playback.
  • Media source — A file, URI, playlist, or other input expanded into playable media items.
  • Library context — Application state and services used to index, organize, and browse media.
  • VLC playback item — The LibVLC-backed representation of a selected media item and its tracks.
  • Lively — The external Lively Wallpaper integration used to coordinate wallpaper media.

Invariants

  • UI workflows should expose playback and library behavior through view models rather than directly coupling pages to media engines; evidence: src/Screenbox/Views/** and src/Screenbox/ViewModels/**.
  • Playable requests must be resolved into media-source items before playback is started; evidence: src/Screenbox.Core/MediaSources/**.
  • Persistent library, playlist, and progress state is owned by database-facing services rather than page state; evidence: src/Screenbox.Core/Services/** and src/Screenbox.Core/Database/**.
  • VLC-specific rendering and track behavior remains behind playback and rendering abstractions; evidence: src/Screenbox.LibVLC/** and src/Screenbox/Controls/**.
  • User preferences are stored through settings abstractions so settings pages do not own persistence details; evidence: src/Screenbox.Core/Settings/**.

Routing table