|
@@ -233,7 +233,8 @@ namespace MediaBrowser.Api.UserLibrary
|
|
MinCriticRating = request.MinCriticRating,
|
|
MinCriticRating = request.MinCriticRating,
|
|
ParentId = string.IsNullOrWhiteSpace(request.ParentId) ? (Guid?)null : new Guid(request.ParentId),
|
|
ParentId = string.IsNullOrWhiteSpace(request.ParentId) ? (Guid?)null : new Guid(request.ParentId),
|
|
ParentIndexNumber = request.ParentIndexNumber,
|
|
ParentIndexNumber = request.ParentIndexNumber,
|
|
- AiredDuringSeason = request.AiredDuringSeason
|
|
|
|
|
|
+ AiredDuringSeason = request.AiredDuringSeason,
|
|
|
|
+ AlbumArtistStartsWithOrGreater = request.AlbumArtistStartsWithOrGreater
|
|
};
|
|
};
|
|
|
|
|
|
if (!string.IsNullOrWhiteSpace(request.Ids))
|
|
if (!string.IsNullOrWhiteSpace(request.Ids))
|
|
@@ -435,17 +436,6 @@ namespace MediaBrowser.Api.UserLibrary
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- if (!string.IsNullOrEmpty(request.AlbumArtistStartsWithOrGreater))
|
|
|
|
- {
|
|
|
|
- var ok = new[] { i }.OfType<IHasAlbumArtist>()
|
|
|
|
- .Any(p => string.Compare(request.AlbumArtistStartsWithOrGreater, p.AlbumArtists.FirstOrDefault(), StringComparison.CurrentCultureIgnoreCase) < 1);
|
|
|
|
-
|
|
|
|
- if (!ok)
|
|
|
|
- {
|
|
|
|
- return false;
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
return true;
|
|
return true;
|
|
}
|
|
}
|
|
}
|
|
}
|