mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
Show Path to episode on disk in Details.
Timer to cleanup/scan for EpisodeFiles (Midnight) Fixed Relationship for EpisodeFile to Series
This commit is contained in:
parent
b5c7135d24
commit
a950a13c30
9 changed files with 40 additions and 11 deletions
|
@ -12,9 +12,9 @@ namespace NzbDrone.Core.Repository
|
|||
public virtual int EpisodeId { get; set; }
|
||||
public virtual int SeriesId { get; set; }
|
||||
public virtual int EpisodeFileId { get; set; }
|
||||
public virtual int SeasonId { get; set; }
|
||||
public int SeasonNumber { get; set; }
|
||||
public int EpisodeNumber { get; set; }
|
||||
public int SeasonId { get; set; }
|
||||
public string Title { get; set; }
|
||||
public DateTime AirDate { get; set; }
|
||||
[SubSonicLongString]
|
||||
|
|
|
@ -9,7 +9,7 @@ namespace NzbDrone.Core.Repository
|
|||
{
|
||||
[SubSonicPrimaryKey]
|
||||
public virtual int EpisodeFileId { get; set; }
|
||||
public int SeriesId { get; set; }
|
||||
public virtual int SeriesId { get; set; }
|
||||
public string Path { get; set; }
|
||||
public QualityTypes Quality { get; set; }
|
||||
public bool Proper { get; set; }
|
||||
|
@ -18,5 +18,8 @@ namespace NzbDrone.Core.Repository
|
|||
|
||||
[SubSonicToManyRelation]
|
||||
public virtual List<Episode> Episodes { get; private set; }
|
||||
|
||||
[SubSonicToOneRelation(ThisClassContainsJoinKey = true)]
|
||||
public virtual Series Series { get; private set; }
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,6 @@ namespace NzbDrone.Core.Repository
|
|||
public virtual List<Episode> Episodes { get; private set; }
|
||||
|
||||
[SubSonicToManyRelation]
|
||||
public virtual List<EpisodeFile> Files { get; private set; }
|
||||
public virtual List<EpisodeFile> EpisodeFiles { get; private set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue