1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02:00

Series Path joins root folder and folder

This commit is contained in:
Mark McDowall 2013-04-11 00:55:39 -07:00
parent 23acb3a9ae
commit 434e43f31a

View File

@ -50,8 +50,11 @@ public Series()
public string Folder { get; set; }
public LazyLoaded<RootFolder> 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; }