feat(troubleshoot): add troubleshooting playback status store
Add a singleton ITroubleshootingPlaybackStatusStore (Core, alongside TroubleshootingNotifier) that records the exit code + speed of the most recent troubleshooting playback session. A new MediatR notification handler writes to it on PlaybackTroubleshootingCompletedNotification, and PrepareTroubleshootingPlaybackHandler resets it when a new session starts (both the channel and media-item lock paths). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -832,6 +832,7 @@ public class Startup
|
||||
services.AddSingleton<ISmartCollectionCache, SmartCollectionCache>();
|
||||
services.AddSingleton<SearchQueryParser>();
|
||||
services.AddSingleton<ITroubleshootingNotifier, TroubleshootingNotifier>();
|
||||
services.AddSingleton<ITroubleshootingPlaybackStatusStore, TroubleshootingPlaybackStatusStore>();
|
||||
services.AddSingleton<CustomFontMapper>();
|
||||
services.AddSingleton<GraphicsEngineFonts>();
|
||||
services.AddSingleton(Program.InMemoryLogService);
|
||||
|
||||
Reference in New Issue
Block a user