fix multi-part folder rips
This commit is contained in:
parent
d7f3214b32
commit
9c252f3e50
|
@ -326,7 +326,7 @@ namespace MediaBrowser.Controller.Entities
|
|||
{
|
||||
if ((i.Attributes & FileAttributes.Directory) == FileAttributes.Directory)
|
||||
{
|
||||
return !string.Equals(i.FullName, path, StringComparison.OrdinalIgnoreCase) && EntityResolutionHelper.IsMultiPartFolder(i.FullName) && EntityResolutionHelper.IsMultiPartFile(i.Name);
|
||||
return !string.Equals(i.FullName, path, StringComparison.OrdinalIgnoreCase) && EntityResolutionHelper.IsMultiPartFolder(i.FullName);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using MediaBrowser.Model.Notifications;
|
||||
using MediaBrowser.Model.Entities;
|
||||
using MediaBrowser.Model.Notifications;
|
||||
using MediaBrowser.Model.Weather;
|
||||
using System;
|
||||
|
||||
|
@ -261,8 +262,58 @@ namespace MediaBrowser.Model.Configuration
|
|||
MetadataOptions = new[]
|
||||
{
|
||||
new MetadataOptions(1, 1280) {ItemType = "Book"},
|
||||
new MetadataOptions(1, 1280) {ItemType = "MusicAlbum"},
|
||||
new MetadataOptions(1, 1280) {ItemType = "MusicArtist"},
|
||||
|
||||
new MetadataOptions(1, 1280)
|
||||
{
|
||||
ItemType = "MusicAlbum",
|
||||
ImageOptions = new []
|
||||
{
|
||||
new ImageOption
|
||||
{
|
||||
Limit = 1,
|
||||
MinWidth = 1280,
|
||||
Type = ImageType.Backdrop
|
||||
},
|
||||
|
||||
// Don't download this by default as it's rarely used.
|
||||
new ImageOption
|
||||
{
|
||||
Limit = 0,
|
||||
Type = ImageType.Disc
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
new MetadataOptions(1, 1280)
|
||||
{
|
||||
ItemType = "MusicArtist",
|
||||
ImageOptions = new []
|
||||
{
|
||||
new ImageOption
|
||||
{
|
||||
Limit = 1,
|
||||
MinWidth = 1280,
|
||||
Type = ImageType.Backdrop
|
||||
},
|
||||
|
||||
// Don't download this by default
|
||||
// They do look great, but most artists won't have them, which means a banner view isn't really possible
|
||||
new ImageOption
|
||||
{
|
||||
Limit = 0,
|
||||
Type = ImageType.Banner
|
||||
},
|
||||
|
||||
// Don't download this by default
|
||||
// Generally not used
|
||||
new ImageOption
|
||||
{
|
||||
Limit = 0,
|
||||
Type = ImageType.Art
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
new MetadataOptions(0, 1280) {ItemType = "Season"}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user