How brgjr10/pit-tv works
PIT TV is a browser-based concert-video archive. A viewer loads the catalog, browses or searches shows, opens a show or setlist, and plays a selected video; album art can retheme the interface. The map also includes documented view/filter capabilities, preference and playback persistence, offline caching, and the show-metadata API. The README and tree support these product branches, but most frontend implementation was not sampled, so uncertain module-to-module wiring is omitted.
Main entry points: app.js Application Entry · player.js Video Player · serve.js HTTP Server · ui.js Browse Views
Components 16
Browse and Search
- Application Entry
assets/js/app.js - Browse Views
assets/js/ui.js - Search and Filters
assets/js/search.js
Catalog Data
- Catalog Processing
assets/js/catalog.js - Catalog JSON
data/catalog.demo.json
Playback and Theme
- Video Player
assets/js/player.js - Artwork Themes
assets/js/theme.js
State and Offline
- Preferences and Resume
assets/js/store.js - Browser Storage
- Offline Cache
sw.js - PWA Setup
assets/js/pwa.js
Serving and Metadata
- HTTP Server
tools/serve.js - Show Metadata Sync
tools/set-locations.mjs - Show Metadata
Other components
- Viewer
- Video Sources
Connections 20
- Viewer → Application Entry: opens
- Application Entry → Catalog Processing: loads catalog
- Catalog Processing → Catalog JSON: fetches
- Viewer → Browse Views: browses
- Browse Views → Search and Filters: filters and searches
- Search and Filters → Catalog Processing: queries entries
- Viewer → Video Player: selects video
- Video Player → Video Sources: plays source
- Video Player → Artwork Themes: provides current artwork
- Artwork Themes → Browse Views: updates appearance
- Application Entry → Preferences and Resume: restores preferences
- Preferences and Resume → Browser Storage: reads and writes
- Video Player → Preferences and Resume: stores resume position
- Application Entry → PWA Setup: registers offline support
- PWA Setup → Offline Cache: registers
- Offline Cache → Catalog JSON: caches catalog
- Viewer → HTTP Server: requests app and media
- HTTP Server → Show Metadata Sync: dispatches metadata sync
- Show Metadata Sync → Show Metadata: updates
- HTTP Server → Show Metadata: serves metadata status