How ehsaanullah0/ehsaanplay works
EHSAAN PLAY is a personal movie and TV library, not a streaming service. Users discover or search titles, add them to a local library, track watch status and progress, rate and annotate items, and organize custom lists. Artwork is handled separately from personal data; the app also offers IMDb metadata fallback, offline/PWA support, and beta peer-to-peer device sync. The graph reflects documented capabilities and visible imports; many UI-to-app wiring paths were not sampled, so those connections are omitted.
Main entry points: ImdbPreviewModal.tsx IMDb Import · webrtcManager.ts Peer Sync · storage.ts Library Storage · imageStorage.ts Artwork Cache
Components 18
Library Experience
- EHSAAN PLAY
src/App.tsx - Home Discovery
src/components/home/HomeView.tsx - Watchlist Tracking
src/components/watchlist/WatchlistView.tsx - Custom Lists
src/components/lists/ListsView.tsx - Title Preview
src/components/preview/MoviePreviewModal.tsx - Media Model
src/types/movie.ts
Discovery Metadata
- Title Search
src/components/search/SearchModal.tsx - Metadata Fallback
src/services/metadataFallback.ts - IMDb Import
src/components/imdb/ImdbPreviewModal.tsx - IMDb Parser
src/services/imdbParser.ts - OMDb Metadata
src/services/omdb.ts
Local Data Artwork
- Library Storage
src/services/storage.ts - Artwork Cache
src/services/imageStorage.ts - PWA Shell
public/sw.js
Device Sync
- Transfer Logic
src/services/deviceTransfer.ts - Peer Sync
src/services/webrtcManager.ts - Signaling Server
server.ts
Other components
- Viewer
Connections 10
- Viewer → EHSAAN PLAY: uses
README.md - Title Search → Metadata Fallback: searches via
src/components/search/SearchModal.tsx - IMDb Import → IMDb Parser: parses input
src/components/imdb/ImdbPreviewModal.tsx - IMDb Import → OMDb Metadata: fetches metadata
src/components/imdb/ImdbPreviewModal.tsx - Title Preview → Library Storage: saves library
src/components/preview/MoviePreviewModal.tsx - Library Storage → Media Model: stores media
src/services/storage.ts - Artwork Cache → Media Model: uses artwork fields
src/services/imageStorage.ts - PWA Shell → Artwork Cache: falls back to artwork cache
- Peer Sync → Transfer Logic: uses device identity
src/services/webrtcManager.ts - Peer Sync → Signaling Server: signals peers