From 4eb6ec1a045a918bf85ddbdcb779b876031af796 Mon Sep 17 00:00:00 2001 From: redxef Date: Tue, 17 Dec 2024 17:54:47 +0100 Subject: [PATCH] feat: add debug logging to list all loaded assemblies. --- .../ScheduledTasks/GeneratePlaylist.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jellyfin.Plugin.SmartPlaylist/ScheduledTasks/GeneratePlaylist.cs b/Jellyfin.Plugin.SmartPlaylist/ScheduledTasks/GeneratePlaylist.cs index 174c3f8..ca85c8d 100644 --- a/Jellyfin.Plugin.SmartPlaylist/ScheduledTasks/GeneratePlaylist.cs +++ b/Jellyfin.Plugin.SmartPlaylist/ScheduledTasks/GeneratePlaylist.cs @@ -143,6 +143,10 @@ namespace Jellyfin.Plugin.SmartPlaylist.ScheduledTasks { public async Task ExecuteAsync(IProgress progress, CancellationToken cancellationToken) { _logger.LogInformation("Started regenerate Smart Playlists"); + _logger.LogDebug("Loaded Assemblies:"); + foreach (var asm in AppDomain.CurrentDomain.GetAssemblies()) { + _logger.LogDebug("- {0}", asm); + } foreach (SmartPlaylistDto dto in await _store.GetAllSmartPlaylistsAsync()) { var changedDto = false; if (dto.Playlists.Length == 0) {