mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-17 05:00:24 +01:00
fixes #1001 - Support downloading
This commit is contained in:
@@ -56,6 +56,8 @@ namespace MediaBrowser.Model.Dto
|
||||
public int? AirsBeforeEpisodeNumber { get; set; }
|
||||
public int? AbsoluteEpisodeNumber { get; set; }
|
||||
public bool? DisplaySpecialsWithSeasons { get; set; }
|
||||
public bool? CanDelete { get; set; }
|
||||
public bool? CanDownload { get; set; }
|
||||
|
||||
public string PreferredMetadataLanguage { get; set; }
|
||||
public string PreferredMetadataCountryCode { get; set; }
|
||||
|
||||
@@ -99,6 +99,12 @@ namespace MediaBrowser.Model.LiveTv
|
||||
/// <value>The path.</value>
|
||||
public string Path { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance can delete.
|
||||
/// </summary>
|
||||
/// <value><c>null</c> if [can delete] contains no value, <c>true</c> if [can delete]; otherwise, <c>false</c>.</value>
|
||||
public bool? CanDelete { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Overview of the recording.
|
||||
/// </summary>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
|
||||
namespace MediaBrowser.Model.Querying
|
||||
namespace MediaBrowser.Model.Querying
|
||||
{
|
||||
/// <summary>
|
||||
/// Used to control the data that gets attached to DtoBaseItems
|
||||
@@ -26,6 +25,16 @@ namespace MediaBrowser.Model.Querying
|
||||
/// </summary>
|
||||
Budget,
|
||||
|
||||
/// <summary>
|
||||
/// The can delete
|
||||
/// </summary>
|
||||
CanDelete,
|
||||
|
||||
/// <summary>
|
||||
/// The can download
|
||||
/// </summary>
|
||||
CanDownload,
|
||||
|
||||
/// <summary>
|
||||
/// The chapters
|
||||
/// </summary>
|
||||
|
||||
@@ -42,7 +42,8 @@ namespace MediaBrowser.Model.Users
|
||||
|
||||
public bool EnableMediaPlayback { get; set; }
|
||||
public bool EnableContentDeletion { get; set; }
|
||||
|
||||
public bool EnableContentDownloading { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether [enable synchronize].
|
||||
/// </summary>
|
||||
@@ -80,6 +81,8 @@ namespace MediaBrowser.Model.Users
|
||||
|
||||
EnabledDevices = new string[] { };
|
||||
EnableAllDevices = true;
|
||||
|
||||
EnableContentDownloading = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user