public async Task <IReadOnlyCollection <ILibraryIdentifier> > GetLibraryIdentifiersAsync(IEmbyClient client) { var itemsResult = await client.GetUserViews(client.CurrentUserId); return(itemsResult.Items .Select(x => new LibraryIdentifier { Name = x.Name, Id = x.Id }) .ToArray()); }