How sopat712/allstarr works
Allstarr is a Jellyfin-facing music proxy: a client request reaches the Jellyfin controller, which serves local media or finds external music, downloads it into the library/cache, and returns it through the proxy. Separate branches cover Spotify playlist injection, lyrics, playback scrobbling, Subsonic compatibility, and the administration dashboard. The README documents capabilities beyond the sampled implementation; those branches are shown at subsystem level where source details were not available.
Main entry points: JellyfinController.cs Jellyfin API · BaseDownloadService.cs Download and cache · PlaylistController.cs Playlist management · main.js Admin dashboard
Components 23
Media proxy
- Jellyfin API
allstarr/Controllers/JellyfinController.cs - Jellyfin sessions
allstarr/Services/Jellyfin/JellyfinSessionManager.cs - Jellyfin proxy
allstarr/Services/Jellyfin/JellyfinProxyService.cs - Local library
allstarr/Services/Local/LocalLibraryService.cs - Download and cache
allstarr/Services/Common/BaseDownloadService.cs - Redis cache
allstarr/Services/Common/RedisCacheService.cs
Music providers
- Deezer metadata
allstarr/Services/Deezer/DeezerMetadataService.cs - Qobuz metadata
allstarr/Services/Qobuz/QobuzMetadataService.cs - SquidWTF provider
allstarr/Services/SquidWTF/SquidWTFMetadataService.cs - Spotify services
allstarr/Services/Spotify/SpotifyApiClient.cs
Playlist integration
- Playlist management
allstarr/Controllers/PlaylistController.cs - Playlist synchronization
allstarr/Services/Subsonic/PlaylistSyncService.cs - Subsonic API
allstarr/Controllers/SubSonicController.cs
Playback features
- Lyrics sources
allstarr/Services/Lyrics/LyricsOrchestrator.cs - Scrobbling
allstarr/Services/Scrobbling/ScrobblingOrchestrator.cs
Administration
- Admin dashboard
allstarr/wwwroot/js/main.js - Admin API
allstarr/Controllers/AdminController.cs - Admin sessions
allstarr/Services/Admin/AdminAuthSessionService.cs
Other components
- Music client
- Jellyfin server
- Streaming providers
- Lyrics services
- Last.fm / ListenBrainz
Connections 22
- Music client → Jellyfin API: requests media
- Jellyfin API → Jellyfin server: proxies requests
allstarr/Controllers/JellyfinController.cs - Jellyfin API → Jellyfin proxy: forwards calls
allstarr/Controllers/JellyfinController.cs - Jellyfin API → Jellyfin sessions: tracks sessions
allstarr/Controllers/JellyfinController.cs - Jellyfin API → Local library: checks local media
allstarr/Controllers/JellyfinController.cs - Jellyfin API → Deezer metadata: searches metadata
- Jellyfin API → Qobuz metadata: searches metadata
- Jellyfin API → SquidWTF provider: searches metadata
allstarr/Controllers/JellyfinController.cs - Jellyfin API → Download and cache: requests downloads
allstarr/Controllers/JellyfinController.cs - Download and cache → Local library: writes tracks
allstarr/Services/Common/BaseDownloadService.cs - Download and cache → Streaming providers: fetches audio
- Jellyfin API → Lyrics sources: serves lyrics
allstarr/Controllers/JellyfinController.cs - Lyrics sources → Lyrics services: queries sources
- Jellyfin API → Scrobbling: reports playback
allstarr/Controllers/JellyfinController.cs - Scrobbling → Last.fm / ListenBrainz: submits plays
- Jellyfin API → Playlist synchronization: syncs playlists
allstarr/Controllers/JellyfinController.cs - Playlist management → Spotify services: fetches playlists
allstarr/Controllers/PlaylistController.cs - Playlist management → Redis cache: reads mappings
allstarr/Controllers/PlaylistController.cs - Music client → Subsonic API: uses compatible API
- Admin dashboard → Admin API: configures service
- Admin API → Admin sessions: checks sessions
- Admin dashboard → Playlist management: manages playlists