@page "/media/sources/emby" @using ErsatzTV.Core.Interfaces.Emby @using ErsatzTV.Application.Emby.Commands @using ErsatzTV.Application.Emby.Queries @inject IEmbySecretStore _embySecretStore @inject ChannelWriter _channel @code { private async Task RefreshLibraries(int mediaSourceId) => await _channel.WriteAsync(new SynchronizeEmbyLibraries(mediaSourceId)); }