|
|
@ -356,6 +356,7 @@ namespace MediaBrowser.Api.Library
|
|
|
|
_moviesServiceLogger = moviesServiceLogger;
|
|
|
|
_moviesServiceLogger = moviesServiceLogger;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Content Types available for each Library
|
|
|
|
private string[] GetRepresentativeItemTypes(string contentType)
|
|
|
|
private string[] GetRepresentativeItemTypes(string contentType)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return contentType switch
|
|
|
|
return contentType switch
|
|
|
@ -365,7 +366,7 @@ namespace MediaBrowser.Api.Library
|
|
|
|
CollectionType.Movies => new[] {"Movie"},
|
|
|
|
CollectionType.Movies => new[] {"Movie"},
|
|
|
|
CollectionType.TvShows => new[] {"Series", "Season", "Episode"},
|
|
|
|
CollectionType.TvShows => new[] {"Series", "Season", "Episode"},
|
|
|
|
CollectionType.Books => new[] {"Book"},
|
|
|
|
CollectionType.Books => new[] {"Book"},
|
|
|
|
CollectionType.Music => new[] {"MusicAlbum", "MusicArtist", "Audio", "MusicVideo"},
|
|
|
|
CollectionType.Music => new[] {"MusicArtist", "MusicAlbum", "Audio", "MusicVideo"},
|
|
|
|
CollectionType.HomeVideos => new[] {"Video", "Photo"},
|
|
|
|
CollectionType.HomeVideos => new[] {"Video", "Photo"},
|
|
|
|
CollectionType.Photos => new[] {"Video", "Photo"},
|
|
|
|
CollectionType.Photos => new[] {"Video", "Photo"},
|
|
|
|
CollectionType.MusicVideos => new[] {"MusicVideo"},
|
|
|
|
CollectionType.MusicVideos => new[] {"MusicVideo"},
|
|
|
@ -431,7 +432,6 @@ namespace MediaBrowser.Api.Library
|
|
|
|
return string.Equals(name, "TheTVDB", StringComparison.OrdinalIgnoreCase)
|
|
|
|
return string.Equals(name, "TheTVDB", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|| string.Equals(name, "Screen Grabber", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|| string.Equals(name, "Screen Grabber", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|| string.Equals(name, "TheAudioDB", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|| string.Equals(name, "TheAudioDB", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|| string.Equals(name, "Emby Designs", StringComparison.OrdinalIgnoreCase)
|
|
|
|
|
|
|
|
|| string.Equals(name, "Image Extractor", StringComparison.OrdinalIgnoreCase);
|
|
|
|
|| string.Equals(name, "Image Extractor", StringComparison.OrdinalIgnoreCase);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|