mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Merge pull request #10379 from Bond-009/emptyguid
This commit is contained in:
commit
c02f2d4791
@ -943,6 +943,12 @@ namespace MediaBrowser.Providers.Manager
|
|||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
public void QueueRefresh(Guid itemId, MetadataRefreshOptions options, RefreshPriority priority)
|
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)
|
if (_disposed)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user