Renamed Folder to FolderName. Series.Path is readonly

This commit is contained in:
Mark McDowall 2013-04-11 08:28:08 -07:00
commit e43cb87620
9 changed files with 32 additions and 21 deletions

View file

@ -47,13 +47,13 @@ namespace NzbDrone.Core.Tv
public string TitleSlug { get; set; }
public int RootFolderId { get; set; }
public string Folder { get; set; }
public string FolderName { get; set; }
public LazyLoaded<RootFolder> RootFolder { 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); }
get { return System.IO.Path.Combine(RootFolder.Value.Path, FolderName); }
}
//Todo: This should be a double since there are timezones that aren't on a full hour offset