mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-05 01:42:08 +01:00
add new sharing function
This commit is contained in:
@@ -25,7 +25,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
/// <value>The public HTTPS port.</value>
|
||||
public int PublicHttpsPort { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the HTTP server port number.
|
||||
/// </summary>
|
||||
@@ -49,7 +49,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable user specific user views]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableUserSpecificUserViews { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the value pointing to the file system where the ssl certiifcate is located..
|
||||
/// </summary>
|
||||
@@ -103,7 +103,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if [enable library metadata sub folder]; otherwise, <c>false</c>.</value>
|
||||
public bool EnableLibraryMetadataSubFolder { get; set; }
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the preferred metadata language.
|
||||
/// </summary>
|
||||
@@ -211,6 +211,8 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
public AutoOnOff EnableLibraryMonitor { get; set; }
|
||||
|
||||
public int SharingExpirationDays { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="ServerConfiguration" /> class.
|
||||
/// </summary>
|
||||
@@ -231,6 +233,7 @@ namespace MediaBrowser.Model.Configuration
|
||||
|
||||
EnableUPnP = true;
|
||||
|
||||
SharingExpirationDays = 30;
|
||||
MinResumePct = 5;
|
||||
MaxResumePct = 90;
|
||||
|
||||
|
||||
@@ -379,6 +379,7 @@
|
||||
<Compile Include="Session\TranscodingInfo.cs" />
|
||||
<Compile Include="Session\UserDataChangeInfo.cs" />
|
||||
<Compile Include="Devices\ContentUploadHistory.cs" />
|
||||
<Compile Include="Social\SocialShareInfo.cs" />
|
||||
<Compile Include="Sync\CompleteSyncJobInfo.cs" />
|
||||
<Compile Include="Sync\DeviceFileInfo.cs" />
|
||||
<Compile Include="Sync\ItemFIleInfo.cs" />
|
||||
|
||||
16
MediaBrowser.Model/Social/SocialShareInfo.cs
Normal file
16
MediaBrowser.Model/Social/SocialShareInfo.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace MediaBrowser.Model.Social
|
||||
{
|
||||
public class SocialShareInfo
|
||||
{
|
||||
public string Id { get; set; }
|
||||
public string Url { get; set; }
|
||||
public string ItemId { get; set; }
|
||||
public string UserId { get; set; }
|
||||
public DateTime ExpirationDate { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string ImageUrl { get; set; }
|
||||
public string Overview { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user