From 44b12c0f9fc81dd10d6f655f341d7df28c5f3e20 Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Thu, 5 Sep 2013 15:00:50 -0400 Subject: [PATCH] fixes #520 - Support multiple artists per audio track --- MediaBrowser.Api/AlbumsService.cs | 29 +++++++++++++--- MediaBrowser.Api/BaseApiService.cs | 14 ++++++-- MediaBrowser.Api/ItemRefreshService.cs | 14 +++++++- MediaBrowser.Api/ItemUpdateService.cs | 2 +- MediaBrowser.Api/SearchService.cs | 5 ++- .../UserLibrary/ArtistsService.cs | 23 ++++++------- .../Entities/Audio/Audio.cs | 6 ++-- MediaBrowser.Controller/Entities/Folder.cs | 4 +-- .../MediaInfo/AudioImageProvider.cs | 2 +- .../MediaInfo/FFProbeAudioInfoProvider.cs | 33 +++++++++++++------ .../Music/ArtistsPostScanTask.cs | 5 +-- .../Dto/DtoService.cs | 5 ++- .../Library/LibraryManager.cs | 5 +-- .../Library/LuceneSearchEngine.cs | 14 ++++++-- .../Sorting/ArtistComparer.cs | 2 +- 15 files changed, 110 insertions(+), 53 deletions(-) diff --git a/MediaBrowser.Api/AlbumsService.cs b/MediaBrowser.Api/AlbumsService.cs index e78a30c4a8..d31bef428c 100644 --- a/MediaBrowser.Api/AlbumsService.cs +++ b/MediaBrowser.Api/AlbumsService.cs @@ -5,6 +5,7 @@ using MediaBrowser.Controller.Library; using MediaBrowser.Controller.Persistence; using ServiceStack.ServiceHost; using System; +using System.Collections.Generic; using System.Linq; namespace MediaBrowser.Api @@ -76,15 +77,35 @@ namespace MediaBrowser.Api var artists1 = album1.RecursiveChildren .OfType