From 434e43f31aa6ae292c0efc501498e3f7727714a2 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 11 Apr 2013 00:55:39 -0700 Subject: [PATCH] Series Path joins root folder and folder --- NzbDrone.Core/Tv/Series.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/NzbDrone.Core/Tv/Series.cs b/NzbDrone.Core/Tv/Series.cs index fad14707a..3f1044676 100644 --- a/NzbDrone.Core/Tv/Series.cs +++ b/NzbDrone.Core/Tv/Series.cs @@ -50,8 +50,11 @@ namespace NzbDrone.Core.Tv public string Folder { get; set; } public LazyLoaded RootFolder { get; set; } - //Todo: Store the root folder + folderName - public string Path { get; set; } + //Todo: Use this to auto link RootFolder and Folder (using the proper path separator) + public string Path + { + get { return System.IO.Path.Combine(RootFolder.Value.Path, Folder); } + } //Todo: This should be a double since there are timezones that aren't on a full hour offset public int UtcOffset { get; set; }