* fix blazor naming

* code cleanup

* update dependencies
This commit is contained in:
Jason Dove
2024-05-06 17:00:52 -05:00
committed by GitHub
parent ef6c8b0816
commit a87ec2d75d
168 changed files with 1549 additions and 1614 deletions
+5 -5
View File
@@ -1,10 +1,10 @@
@page "/media/sources/emby"
@using ErsatzTV.Core.Interfaces.Emby
@using ErsatzTV.Application.Emby
@using ErsatzTV.Core.Emby
@using ErsatzTV.Core.Interfaces.Emby
@implements IDisposable
@inject IEmbySecretStore _embySecretStore
@inject ChannelWriter<IScannerBackgroundServiceRequest> _scannerWorkerChannel
@inject IEmbySecretStore EmbySecretStore
@inject ChannelWriter<IScannerBackgroundServiceRequest> ScannerWorkerChannel
<RemoteMediaSources
TViewModel="EmbyMediaSourceViewModel"
@@ -14,7 +14,7 @@
GetAllMediaSourcesCommand="@(new GetAllEmbyMediaSources())"
DisconnectCommand="@(new DisconnectEmby())"
RefreshLibrariesCommand="@(mediaSourceId => RefreshLibraries(mediaSourceId))"
SecretStore="@_embySecretStore"/>
SecretStore="@EmbySecretStore"/>
@code {
private readonly CancellationTokenSource _cts = new();
@@ -26,6 +26,6 @@
}
private async Task RefreshLibraries(int mediaSourceId) =>
await _scannerWorkerChannel.WriteAsync(new SynchronizeEmbyLibraries(mediaSourceId), _cts.Token);
await ScannerWorkerChannel.WriteAsync(new SynchronizeEmbyLibraries(mediaSourceId), _cts.Token);
}