feat: add debug logging to list all loaded assemblies.
This commit is contained in:
parent
96ebc366b6
commit
4eb6ec1a04
1 changed files with 4 additions and 0 deletions
|
@ -143,6 +143,10 @@ namespace Jellyfin.Plugin.SmartPlaylist.ScheduledTasks {
|
||||||
|
|
||||||
public async Task ExecuteAsync(IProgress<double> progress, CancellationToken cancellationToken) {
|
public async Task ExecuteAsync(IProgress<double> progress, CancellationToken cancellationToken) {
|
||||||
_logger.LogInformation("Started regenerate Smart Playlists");
|
_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()) {
|
foreach (SmartPlaylistDto dto in await _store.GetAllSmartPlaylistsAsync()) {
|
||||||
var changedDto = false;
|
var changedDto = false;
|
||||||
if (dto.Playlists.Length == 0) {
|
if (dto.Playlists.Length == 0) {
|
||||||
|
|
Loading…
Reference in a new issue