@ -600,7 +600,7 @@ namespace Jellyfin.Api.Controllers
{
foreach (var item in dto.Updates)
_libraryMonitor.ReportFileSystemChanged(item.Path);
_libraryMonitor.ReportFileSystemChanged(item.Path ?? throw new ArgumentException("Item path can't be null."));
}
return NoContent();
@ -1,3 +1,5 @@
#nullable disable
#pragma warning disable CS1591
using MediaBrowser.Controller.Session;
using System.Threading.Tasks;
using System;
using System.Linq;
using System.Threading;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Configuration;
using System.Collections.Generic;
namespace MediaBrowser.Controller.Channels
using MediaBrowser.Common.Configuration;
#nullable enable
namespace MediaBrowser.Controller.Drawing
@ -12,7 +12,7 @@ namespace MediaBrowser.Controller.Drawing
/// Gets or sets the stream.
/// </summary>
/// <value>The stream.</value>
public Stream Stream { get; set; }
public Stream? Stream { get; set; }
/// <summary>
/// Gets or sets the format.
using Jellyfin.Data.Entities;
namespace MediaBrowser.Controller.Entities.Audio
using System.Text.Json.Serialization;
using MediaBrowser.Common.Extensions;
namespace MediaBrowser.Controller.Entities
using MediaBrowser.Model.LiveTv;
@ -1,4 +1,4 @@
using System;
namespace MediaBrowser.Controller.Events
using Jellyfin.Data.Events;
using Jellyfin.Data.Events;
namespace MediaBrowser.Controller.Events.Session
using MediaBrowser.Model.Updates;
namespace MediaBrowser.Controller.Events.Updates
@ -1,4 +1,3 @@