mirror of
https://github.com/Radarr/Radarr
synced 2026-05-08 15:21:29 +02:00
Fixed: Show root folder when path is not available yet on imports
(cherry picked from commit f6fbd3cfee4db891e68f9f15551ea62b02077b5e)
This commit is contained in:
parent
a1104b8263
commit
ddb7d5690b
1 changed files with 9 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
using FluentValidation.Results;
|
using FluentValidation.Results;
|
||||||
using NLog;
|
using NLog;
|
||||||
using NzbDrone.Common.EnsureThat;
|
using NzbDrone.Common.EnsureThat;
|
||||||
|
using NzbDrone.Common.Extensions;
|
||||||
using NzbDrone.Core.Exceptions;
|
using NzbDrone.Core.Exceptions;
|
||||||
using NzbDrone.Core.MetadataSource;
|
using NzbDrone.Core.MetadataSource;
|
||||||
using NzbDrone.Core.Organizer;
|
using NzbDrone.Core.Organizer;
|
||||||
|
|
@ -67,7 +68,14 @@ public List<Movie> AddMovies(List<Movie> newMovies, bool ignoreErrors = false)
|
||||||
|
|
||||||
foreach (var m in newMovies)
|
foreach (var m in newMovies)
|
||||||
{
|
{
|
||||||
_logger.Info("Adding Movie {0} Path: [{1}]", m, m.Path);
|
if (m.Path.IsNullOrWhiteSpace())
|
||||||
|
{
|
||||||
|
_logger.Info("Adding Movie {0} Root Folder Path: [{1}]", m, m.RootFolderPath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_logger.Info("Adding Movie {0} Path: [{1}]", m, m.Path);
|
||||||
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue