How fefindev/open-audio-collection works
Open Audio Collection is a Tauri desktop app for importing local .oacoll audio collections, organizing songs and playlists, and playing tracks. The visible workflow runs through the TypeScript UI: users import files, the app reads and maps their contents into library records, persists library state, then renders views and plays selected songs. Favorites and playlist management are additional library capabilities. The excerpts show UI-owned import and playback behavior and Rust plugin registration; unsampled playback and persistence details limit further call-level connections.
Main entry points: main.ts Collection UI · lib.rs Tauri app runtime · main.rs Native entry point · types.ts Song and playlist records
Components 16
Library management
- Collection UI
src/main.ts - Collection import
src/main.ts - Song and playlist records
src/types.ts - Persistent state
src/main.ts - .oacoll parser
src/storage.ts - Playlist management
src/main.ts - Favorites and library views
src/main.ts
Audio playback
- Playback controls
src/main.ts - Playback queue
src/main.ts - Audio element
src/main.ts
Desktop runtime
- Tauri app runtime
src-tauri/src/lib.rs - Native entry point
src-tauri/src/main.rs - File and confirm dialogs
- Local file access
- Tauri Store plugin
Other components
- Listener
Connections 17
- Listener → Collection UI: uses
README.md - Collection UI → Collection import: starts import
src/main.ts - Collection import → File and confirm dialogs: selects files
src/main.ts - Collection import → Local file access: reads files
src/main.ts - Collection import → Song and playlist records: creates records
src/main.ts - Collection UI → Persistent state: loads and saves
src/main.ts - Persistent state → Tauri Store plugin: persists state
- Collection import → .oacoll parser: parses collection
- Collection UI → Playlist management: manages
src/main.ts - Collection UI → Favorites and library views: renders and updates
src/main.ts - Listener → Playback controls: controls playback
src/main.ts - Playback controls → Playback queue: selects tracks
src/main.ts - Playback controls → Audio element: controls audio
src/main.ts - Native entry point → Tauri app runtime: starts runtime
src-tauri/src/main.rs - Tauri app runtime → File and confirm dialogs: registers plugin
src-tauri/src/lib.rs - Tauri app runtime → Local file access: registers plugin
src-tauri/src/lib.rs - Tauri app runtime → Tauri Store plugin: registers plugin
src-tauri/src/lib.rs