|
|
|
@ -20,11 +20,10 @@ namespace Emby.Server.Implementations.Library
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="item">The item.</param>
|
|
|
|
|
/// <param name="parent">The parent.</param>
|
|
|
|
|
/// <param name="fileSystem">The file system.</param>
|
|
|
|
|
/// <param name="libraryManager">The library manager.</param>
|
|
|
|
|
/// <param name="directoryService">The directory service.</param>
|
|
|
|
|
/// <exception cref="ArgumentException">Item must have a path.</exception>
|
|
|
|
|
public static void SetInitialItemValues(BaseItem item, Folder? parent, IFileSystem fileSystem, ILibraryManager libraryManager, IDirectoryService directoryService)
|
|
|
|
|
public static void SetInitialItemValues(BaseItem item, Folder? parent, ILibraryManager libraryManager, IDirectoryService directoryService)
|
|
|
|
|
{
|
|
|
|
|
// This version of the below method has no ItemResolveArgs, so we have to require the path already being set
|
|
|
|
|
if (string.IsNullOrEmpty(item.Path))
|
|
|
|
|