mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 02:56:54 +01:00
fixes #592 - Add options to import missing and future episodes
This commit is contained in:
@@ -228,6 +228,17 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
public bool EnableVideoImageExtraction { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [create virtual missing episodes].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [create virtual missing episodes]; otherwise, <c>false</c>.</value>
|
||||
public bool CreateVirtualMissingEpisodes { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [create virtual future episodes].
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [create virtual future episodes]; otherwise, <c>false</c>.</value>
|
||||
public bool CreateVirtualFutureEpisodes { get; set; }
|
||||
|
||||
public ImageSavingConvention ImageSavingConvention { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -235,13 +235,31 @@ namespace MediaBrowser.Model.Querying
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [include index containers]; otherwise, <c>false</c>.</value>
|
||||
public bool IncludeIndexContainers { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the location types.
|
||||
/// </summary>
|
||||
/// <value>The location types.</value>
|
||||
public LocationType[] LocationTypes { get; set; }
|
||||
/// <summary>
|
||||
/// Gets or sets the exclude location types.
|
||||
/// </summary>
|
||||
/// <value>The exclude location types.</value>
|
||||
public LocationType[] ExcludeLocationTypes { get; set; }
|
||||
|
||||
public bool? HasPremiereDate { get; set; }
|
||||
public DateTime? MinPremiereDate { get; set; }
|
||||
public DateTime? MaxPremiereDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ItemQuery" /> class.
|
||||
/// </summary>
|
||||
public ItemQuery()
|
||||
{
|
||||
SortBy = new string[] {};
|
||||
LocationTypes = new LocationType[] { };
|
||||
ExcludeLocationTypes = new LocationType[] { };
|
||||
|
||||
SortBy = new string[] { };
|
||||
|
||||
Filters = new ItemFilter[] {};
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
|
||||
using MediaBrowser.Model.Entities;
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
public class NextUpQuery
|
||||
@@ -26,5 +28,20 @@ namespace MediaBrowser.Model.Querying
|
||||
/// </summary>
|
||||
/// <value>The fields.</value>
|
||||
public ItemFields[] Fields { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the exclude location types.
|
||||
/// </summary>
|
||||
/// <value>The exclude location types.</value>
|
||||
public LocationType[] ExcludeLocationTypes { get; set; }
|
||||
|
||||
public bool? HasPremiereDate { get; set; }
|
||||
public DateTime? MinPremiereDate { get; set; }
|
||||
public DateTime? MaxPremiereDate { get; set; }
|
||||
|
||||
public NextUpQuery()
|
||||
{
|
||||
ExcludeLocationTypes = new LocationType[] { };
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user