Merge pull request #10379 from Bond-009/emptyguid

pull/10393/head
Bond-009 1 year ago committed by GitHub
commit c02f2d4791
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -943,6 +943,12 @@ namespace MediaBrowser.Providers.Manager
/// <inheritdoc/>
public void QueueRefresh(Guid itemId, MetadataRefreshOptions options, RefreshPriority priority)
{
ArgumentNullException.ThrowIfNull(itemId);
if (itemId.Equals(default))
{
throw new ArgumentException("Guid can't be empty", nameof(itemId));
}
if (_disposed)
{
return;

Loading…
Cancel
Save