mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 13:28:27 +01:00
WIP fixed namespaces
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.DatabaseConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.DbConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// Options to configure jellyfins managed database.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Xml.Serialization;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#pragma warning disable CA2227
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Linq;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -2,8 +2,8 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities.Libraries
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||
|
||||
using System;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,12 +1,10 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Linq;
|
||||
using System.Text.Json.Serialization;
|
||||
using Jellyfin.Data.Enums;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Enums;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
namespace Jellyfin.Data.Entities
|
||||
{
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Jellyfin.Data.Entities;
|
||||
|
||||
|
||||
@@ -1,33 +1,32 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing types of art.
|
||||
/// </summary>
|
||||
public enum ArtKind
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing types of art.
|
||||
/// Another type of art, not covered by the other members.
|
||||
/// </summary>
|
||||
public enum ArtKind
|
||||
{
|
||||
/// <summary>
|
||||
/// Another type of art, not covered by the other members.
|
||||
/// </summary>
|
||||
Other = 0,
|
||||
Other = 0,
|
||||
|
||||
/// <summary>
|
||||
/// A poster.
|
||||
/// </summary>
|
||||
Poster = 1,
|
||||
/// <summary>
|
||||
/// A poster.
|
||||
/// </summary>
|
||||
Poster = 1,
|
||||
|
||||
/// <summary>
|
||||
/// A banner.
|
||||
/// </summary>
|
||||
Banner = 2,
|
||||
/// <summary>
|
||||
/// A banner.
|
||||
/// </summary>
|
||||
Banner = 2,
|
||||
|
||||
/// <summary>
|
||||
/// A thumbnail.
|
||||
/// </summary>
|
||||
Thumbnail = 3,
|
||||
/// <summary>
|
||||
/// A thumbnail.
|
||||
/// </summary>
|
||||
Thumbnail = 3,
|
||||
|
||||
/// <summary>
|
||||
/// A logo.
|
||||
/// </summary>
|
||||
Logo = 4
|
||||
}
|
||||
/// <summary>
|
||||
/// A logo.
|
||||
/// </summary>
|
||||
Logo = 4
|
||||
}
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing the version of Chromecast to be used by clients.
|
||||
/// </summary>
|
||||
public enum ChromecastVersion
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing the version of Chromecast to be used by clients.
|
||||
/// Stable Chromecast version.
|
||||
/// </summary>
|
||||
public enum ChromecastVersion
|
||||
{
|
||||
/// <summary>
|
||||
/// Stable Chromecast version.
|
||||
/// </summary>
|
||||
Stable = 0,
|
||||
Stable = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Unstable Chromecast version.
|
||||
/// </summary>
|
||||
Unstable = 1
|
||||
}
|
||||
/// <summary>
|
||||
/// Unstable Chromecast version.
|
||||
/// </summary>
|
||||
Unstable = 1
|
||||
}
|
||||
|
||||
@@ -1,58 +1,57 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum that represents a day of the week, weekdays, weekends, or all days.
|
||||
/// </summary>
|
||||
public enum DynamicDayOfWeek
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum that represents a day of the week, weekdays, weekends, or all days.
|
||||
/// Sunday.
|
||||
/// </summary>
|
||||
public enum DynamicDayOfWeek
|
||||
{
|
||||
/// <summary>
|
||||
/// Sunday.
|
||||
/// </summary>
|
||||
Sunday = 0,
|
||||
Sunday = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Monday.
|
||||
/// </summary>
|
||||
Monday = 1,
|
||||
/// <summary>
|
||||
/// Monday.
|
||||
/// </summary>
|
||||
Monday = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Tuesday.
|
||||
/// </summary>
|
||||
Tuesday = 2,
|
||||
/// <summary>
|
||||
/// Tuesday.
|
||||
/// </summary>
|
||||
Tuesday = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Wednesday.
|
||||
/// </summary>
|
||||
Wednesday = 3,
|
||||
/// <summary>
|
||||
/// Wednesday.
|
||||
/// </summary>
|
||||
Wednesday = 3,
|
||||
|
||||
/// <summary>
|
||||
/// Thursday.
|
||||
/// </summary>
|
||||
Thursday = 4,
|
||||
/// <summary>
|
||||
/// Thursday.
|
||||
/// </summary>
|
||||
Thursday = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Friday.
|
||||
/// </summary>
|
||||
Friday = 5,
|
||||
/// <summary>
|
||||
/// Friday.
|
||||
/// </summary>
|
||||
Friday = 5,
|
||||
|
||||
/// <summary>
|
||||
/// Saturday.
|
||||
/// </summary>
|
||||
Saturday = 6,
|
||||
/// <summary>
|
||||
/// Saturday.
|
||||
/// </summary>
|
||||
Saturday = 6,
|
||||
|
||||
/// <summary>
|
||||
/// All days of the week.
|
||||
/// </summary>
|
||||
Everyday = 7,
|
||||
/// <summary>
|
||||
/// All days of the week.
|
||||
/// </summary>
|
||||
Everyday = 7,
|
||||
|
||||
/// <summary>
|
||||
/// A week day, or Monday-Friday.
|
||||
/// </summary>
|
||||
Weekday = 8,
|
||||
/// <summary>
|
||||
/// A week day, or Monday-Friday.
|
||||
/// </summary>
|
||||
Weekday = 8,
|
||||
|
||||
/// <summary>
|
||||
/// Saturday and Sunday.
|
||||
/// </summary>
|
||||
Weekend = 9
|
||||
}
|
||||
/// <summary>
|
||||
/// Saturday and Sunday.
|
||||
/// </summary>
|
||||
Weekend = 9
|
||||
}
|
||||
|
||||
@@ -1,58 +1,57 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing the different options for the home screen sections.
|
||||
/// </summary>
|
||||
public enum HomeSectionType
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing the different options for the home screen sections.
|
||||
/// None.
|
||||
/// </summary>
|
||||
public enum HomeSectionType
|
||||
{
|
||||
/// <summary>
|
||||
/// None.
|
||||
/// </summary>
|
||||
None = 0,
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// My Media.
|
||||
/// </summary>
|
||||
SmallLibraryTiles = 1,
|
||||
/// <summary>
|
||||
/// My Media.
|
||||
/// </summary>
|
||||
SmallLibraryTiles = 1,
|
||||
|
||||
/// <summary>
|
||||
/// My Media Small.
|
||||
/// </summary>
|
||||
LibraryButtons = 2,
|
||||
/// <summary>
|
||||
/// My Media Small.
|
||||
/// </summary>
|
||||
LibraryButtons = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Active Recordings.
|
||||
/// </summary>
|
||||
ActiveRecordings = 3,
|
||||
/// <summary>
|
||||
/// Active Recordings.
|
||||
/// </summary>
|
||||
ActiveRecordings = 3,
|
||||
|
||||
/// <summary>
|
||||
/// Continue Watching.
|
||||
/// </summary>
|
||||
Resume = 4,
|
||||
/// <summary>
|
||||
/// Continue Watching.
|
||||
/// </summary>
|
||||
Resume = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Continue Listening.
|
||||
/// </summary>
|
||||
ResumeAudio = 5,
|
||||
/// <summary>
|
||||
/// Continue Listening.
|
||||
/// </summary>
|
||||
ResumeAudio = 5,
|
||||
|
||||
/// <summary>
|
||||
/// Latest Media.
|
||||
/// </summary>
|
||||
LatestMedia = 6,
|
||||
/// <summary>
|
||||
/// Latest Media.
|
||||
/// </summary>
|
||||
LatestMedia = 6,
|
||||
|
||||
/// <summary>
|
||||
/// Next Up.
|
||||
/// </summary>
|
||||
NextUp = 7,
|
||||
/// <summary>
|
||||
/// Next Up.
|
||||
/// </summary>
|
||||
NextUp = 7,
|
||||
|
||||
/// <summary>
|
||||
/// Live TV.
|
||||
/// </summary>
|
||||
LiveTv = 8,
|
||||
/// <summary>
|
||||
/// Live TV.
|
||||
/// </summary>
|
||||
LiveTv = 8,
|
||||
|
||||
/// <summary>
|
||||
/// Continue Reading.
|
||||
/// </summary>
|
||||
ResumeBook = 9
|
||||
}
|
||||
/// <summary>
|
||||
/// Continue Reading.
|
||||
/// </summary>
|
||||
ResumeBook = 9
|
||||
}
|
||||
|
||||
@@ -1,23 +1,22 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing a type of indexing in a user's display preferences.
|
||||
/// </summary>
|
||||
public enum IndexingKind
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing a type of indexing in a user's display preferences.
|
||||
/// Index by the premiere date.
|
||||
/// </summary>
|
||||
public enum IndexingKind
|
||||
{
|
||||
/// <summary>
|
||||
/// Index by the premiere date.
|
||||
/// </summary>
|
||||
PremiereDate = 0,
|
||||
PremiereDate = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Index by the production year.
|
||||
/// </summary>
|
||||
ProductionYear = 1,
|
||||
/// <summary>
|
||||
/// Index by the production year.
|
||||
/// </summary>
|
||||
ProductionYear = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Index by the community rating.
|
||||
/// </summary>
|
||||
CommunityRating = 2
|
||||
}
|
||||
/// <summary>
|
||||
/// Index by the community rating.
|
||||
/// </summary>
|
||||
CommunityRating = 2
|
||||
}
|
||||
|
||||
@@ -1,33 +1,32 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing the type of media file.
|
||||
/// </summary>
|
||||
public enum MediaFileKind
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing the type of media file.
|
||||
/// The main file.
|
||||
/// </summary>
|
||||
public enum MediaFileKind
|
||||
{
|
||||
/// <summary>
|
||||
/// The main file.
|
||||
/// </summary>
|
||||
Main = 0,
|
||||
Main = 0,
|
||||
|
||||
/// <summary>
|
||||
/// A sidecar file.
|
||||
/// </summary>
|
||||
Sidecar = 1,
|
||||
/// <summary>
|
||||
/// A sidecar file.
|
||||
/// </summary>
|
||||
Sidecar = 1,
|
||||
|
||||
/// <summary>
|
||||
/// An additional part to the main file.
|
||||
/// </summary>
|
||||
AdditionalPart = 2,
|
||||
/// <summary>
|
||||
/// An additional part to the main file.
|
||||
/// </summary>
|
||||
AdditionalPart = 2,
|
||||
|
||||
/// <summary>
|
||||
/// An alternative format to the main file.
|
||||
/// </summary>
|
||||
AlternativeFormat = 3,
|
||||
/// <summary>
|
||||
/// An alternative format to the main file.
|
||||
/// </summary>
|
||||
AlternativeFormat = 3,
|
||||
|
||||
/// <summary>
|
||||
/// An additional stream for the main file.
|
||||
/// </summary>
|
||||
AdditionalStream = 4
|
||||
}
|
||||
/// <summary>
|
||||
/// An additional stream for the main file.
|
||||
/// </summary>
|
||||
AdditionalStream = 4
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Jellyfin.Data.Entities;
|
||||
|
||||
namespace Jellyfin.Data.Enums;
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the types of content an individual <see cref="MediaSegment"/> represents.
|
||||
|
||||
@@ -1,128 +1,127 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// The types of user permissions.
|
||||
/// </summary>
|
||||
public enum PermissionKind
|
||||
{
|
||||
/// <summary>
|
||||
/// The types of user permissions.
|
||||
/// Whether the user is an administrator.
|
||||
/// </summary>
|
||||
public enum PermissionKind
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether the user is an administrator.
|
||||
/// </summary>
|
||||
IsAdministrator = 0,
|
||||
IsAdministrator = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user is hidden.
|
||||
/// </summary>
|
||||
IsHidden = 1,
|
||||
/// <summary>
|
||||
/// Whether the user is hidden.
|
||||
/// </summary>
|
||||
IsHidden = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user is disabled.
|
||||
/// </summary>
|
||||
IsDisabled = 2,
|
||||
/// <summary>
|
||||
/// Whether the user is disabled.
|
||||
/// </summary>
|
||||
IsDisabled = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can control shared devices.
|
||||
/// </summary>
|
||||
EnableSharedDeviceControl = 3,
|
||||
/// <summary>
|
||||
/// Whether the user can control shared devices.
|
||||
/// </summary>
|
||||
EnableSharedDeviceControl = 3,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can access the server remotely.
|
||||
/// </summary>
|
||||
EnableRemoteAccess = 4,
|
||||
/// <summary>
|
||||
/// Whether the user can access the server remotely.
|
||||
/// </summary>
|
||||
EnableRemoteAccess = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can manage live tv.
|
||||
/// </summary>
|
||||
EnableLiveTvManagement = 5,
|
||||
/// <summary>
|
||||
/// Whether the user can manage live tv.
|
||||
/// </summary>
|
||||
EnableLiveTvManagement = 5,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can access live tv.
|
||||
/// </summary>
|
||||
EnableLiveTvAccess = 6,
|
||||
/// <summary>
|
||||
/// Whether the user can access live tv.
|
||||
/// </summary>
|
||||
EnableLiveTvAccess = 6,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can play media.
|
||||
/// </summary>
|
||||
EnableMediaPlayback = 7,
|
||||
/// <summary>
|
||||
/// Whether the user can play media.
|
||||
/// </summary>
|
||||
EnableMediaPlayback = 7,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the server should transcode audio for the user if requested.
|
||||
/// </summary>
|
||||
EnableAudioPlaybackTranscoding = 8,
|
||||
/// <summary>
|
||||
/// Whether the server should transcode audio for the user if requested.
|
||||
/// </summary>
|
||||
EnableAudioPlaybackTranscoding = 8,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the server should transcode video for the user if requested.
|
||||
/// </summary>
|
||||
EnableVideoPlaybackTranscoding = 9,
|
||||
/// <summary>
|
||||
/// Whether the server should transcode video for the user if requested.
|
||||
/// </summary>
|
||||
EnableVideoPlaybackTranscoding = 9,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can delete content.
|
||||
/// </summary>
|
||||
EnableContentDeletion = 10,
|
||||
/// <summary>
|
||||
/// Whether the user can delete content.
|
||||
/// </summary>
|
||||
EnableContentDeletion = 10,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can download content.
|
||||
/// </summary>
|
||||
EnableContentDownloading = 11,
|
||||
/// <summary>
|
||||
/// Whether the user can download content.
|
||||
/// </summary>
|
||||
EnableContentDownloading = 11,
|
||||
|
||||
/// <summary>
|
||||
/// Whether to enable sync transcoding for the user.
|
||||
/// </summary>
|
||||
EnableSyncTranscoding = 12,
|
||||
/// <summary>
|
||||
/// Whether to enable sync transcoding for the user.
|
||||
/// </summary>
|
||||
EnableSyncTranscoding = 12,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can do media conversion.
|
||||
/// </summary>
|
||||
EnableMediaConversion = 13,
|
||||
/// <summary>
|
||||
/// Whether the user can do media conversion.
|
||||
/// </summary>
|
||||
EnableMediaConversion = 13,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user has access to all devices.
|
||||
/// </summary>
|
||||
EnableAllDevices = 14,
|
||||
/// <summary>
|
||||
/// Whether the user has access to all devices.
|
||||
/// </summary>
|
||||
EnableAllDevices = 14,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user has access to all channels.
|
||||
/// </summary>
|
||||
EnableAllChannels = 15,
|
||||
/// <summary>
|
||||
/// Whether the user has access to all channels.
|
||||
/// </summary>
|
||||
EnableAllChannels = 15,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user has access to all folders.
|
||||
/// </summary>
|
||||
EnableAllFolders = 16,
|
||||
/// <summary>
|
||||
/// Whether the user has access to all folders.
|
||||
/// </summary>
|
||||
EnableAllFolders = 16,
|
||||
|
||||
/// <summary>
|
||||
/// Whether to enable public sharing for the user.
|
||||
/// </summary>
|
||||
EnablePublicSharing = 17,
|
||||
/// <summary>
|
||||
/// Whether to enable public sharing for the user.
|
||||
/// </summary>
|
||||
EnablePublicSharing = 17,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can remotely control other users.
|
||||
/// </summary>
|
||||
EnableRemoteControlOfOtherUsers = 18,
|
||||
/// <summary>
|
||||
/// Whether the user can remotely control other users.
|
||||
/// </summary>
|
||||
EnableRemoteControlOfOtherUsers = 18,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user is permitted to do playback remuxing.
|
||||
/// </summary>
|
||||
EnablePlaybackRemuxing = 19,
|
||||
/// <summary>
|
||||
/// Whether the user is permitted to do playback remuxing.
|
||||
/// </summary>
|
||||
EnablePlaybackRemuxing = 19,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the server should force transcoding on remote connections for the user.
|
||||
/// </summary>
|
||||
ForceRemoteSourceTranscoding = 20,
|
||||
/// <summary>
|
||||
/// Whether the server should force transcoding on remote connections for the user.
|
||||
/// </summary>
|
||||
ForceRemoteSourceTranscoding = 20,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can create, modify and delete collections.
|
||||
/// </summary>
|
||||
EnableCollectionManagement = 21,
|
||||
/// <summary>
|
||||
/// Whether the user can create, modify and delete collections.
|
||||
/// </summary>
|
||||
EnableCollectionManagement = 21,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can edit subtitles.
|
||||
/// </summary>
|
||||
EnableSubtitleManagement = 22,
|
||||
/// <summary>
|
||||
/// Whether the user can edit subtitles.
|
||||
/// </summary>
|
||||
EnableSubtitleManagement = 22,
|
||||
|
||||
/// <summary>
|
||||
/// Whether the user can edit lyrics.
|
||||
/// </summary>
|
||||
EnableLyricManagement = 23,
|
||||
}
|
||||
/// <summary>
|
||||
/// Whether the user can edit lyrics.
|
||||
/// </summary>
|
||||
EnableLyricManagement = 23,
|
||||
}
|
||||
|
||||
@@ -1,68 +1,67 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing a person's role in a specific media item.
|
||||
/// </summary>
|
||||
public enum PersonRoleType
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing a person's role in a specific media item.
|
||||
/// Another role, not covered by the other types.
|
||||
/// </summary>
|
||||
public enum PersonRoleType
|
||||
{
|
||||
/// <summary>
|
||||
/// Another role, not covered by the other types.
|
||||
/// </summary>
|
||||
Other = 0,
|
||||
Other = 0,
|
||||
|
||||
/// <summary>
|
||||
/// The director of the media.
|
||||
/// </summary>
|
||||
Director = 1,
|
||||
/// <summary>
|
||||
/// The director of the media.
|
||||
/// </summary>
|
||||
Director = 1,
|
||||
|
||||
/// <summary>
|
||||
/// An artist.
|
||||
/// </summary>
|
||||
Artist = 2,
|
||||
/// <summary>
|
||||
/// An artist.
|
||||
/// </summary>
|
||||
Artist = 2,
|
||||
|
||||
/// <summary>
|
||||
/// The original artist.
|
||||
/// </summary>
|
||||
OriginalArtist = 3,
|
||||
/// <summary>
|
||||
/// The original artist.
|
||||
/// </summary>
|
||||
OriginalArtist = 3,
|
||||
|
||||
/// <summary>
|
||||
/// An actor.
|
||||
/// </summary>
|
||||
Actor = 4,
|
||||
/// <summary>
|
||||
/// An actor.
|
||||
/// </summary>
|
||||
Actor = 4,
|
||||
|
||||
/// <summary>
|
||||
/// A voice actor.
|
||||
/// </summary>
|
||||
VoiceActor = 5,
|
||||
/// <summary>
|
||||
/// A voice actor.
|
||||
/// </summary>
|
||||
VoiceActor = 5,
|
||||
|
||||
/// <summary>
|
||||
/// A producer.
|
||||
/// </summary>
|
||||
Producer = 6,
|
||||
/// <summary>
|
||||
/// A producer.
|
||||
/// </summary>
|
||||
Producer = 6,
|
||||
|
||||
/// <summary>
|
||||
/// A remixer.
|
||||
/// </summary>
|
||||
Remixer = 7,
|
||||
/// <summary>
|
||||
/// A remixer.
|
||||
/// </summary>
|
||||
Remixer = 7,
|
||||
|
||||
/// <summary>
|
||||
/// A conductor.
|
||||
/// </summary>
|
||||
Conductor = 8,
|
||||
/// <summary>
|
||||
/// A conductor.
|
||||
/// </summary>
|
||||
Conductor = 8,
|
||||
|
||||
/// <summary>
|
||||
/// A composer.
|
||||
/// </summary>
|
||||
Composer = 9,
|
||||
/// <summary>
|
||||
/// A composer.
|
||||
/// </summary>
|
||||
Composer = 9,
|
||||
|
||||
/// <summary>
|
||||
/// An author.
|
||||
/// </summary>
|
||||
Author = 10,
|
||||
/// <summary>
|
||||
/// An author.
|
||||
/// </summary>
|
||||
Author = 10,
|
||||
|
||||
/// <summary>
|
||||
/// An editor.
|
||||
/// </summary>
|
||||
Editor = 11
|
||||
}
|
||||
/// <summary>
|
||||
/// An editor.
|
||||
/// </summary>
|
||||
Editor = 11
|
||||
}
|
||||
|
||||
@@ -1,73 +1,72 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// The types of user preferences.
|
||||
/// </summary>
|
||||
public enum PreferenceKind
|
||||
{
|
||||
/// <summary>
|
||||
/// The types of user preferences.
|
||||
/// A list of blocked tags.
|
||||
/// </summary>
|
||||
public enum PreferenceKind
|
||||
{
|
||||
/// <summary>
|
||||
/// A list of blocked tags.
|
||||
/// </summary>
|
||||
BlockedTags = 0,
|
||||
BlockedTags = 0,
|
||||
|
||||
/// <summary>
|
||||
/// A list of blocked channels.
|
||||
/// </summary>
|
||||
BlockedChannels = 1,
|
||||
/// <summary>
|
||||
/// A list of blocked channels.
|
||||
/// </summary>
|
||||
BlockedChannels = 1,
|
||||
|
||||
/// <summary>
|
||||
/// A list of blocked media folders.
|
||||
/// </summary>
|
||||
BlockedMediaFolders = 2,
|
||||
/// <summary>
|
||||
/// A list of blocked media folders.
|
||||
/// </summary>
|
||||
BlockedMediaFolders = 2,
|
||||
|
||||
/// <summary>
|
||||
/// A list of enabled devices.
|
||||
/// </summary>
|
||||
EnabledDevices = 3,
|
||||
/// <summary>
|
||||
/// A list of enabled devices.
|
||||
/// </summary>
|
||||
EnabledDevices = 3,
|
||||
|
||||
/// <summary>
|
||||
/// A list of enabled channels.
|
||||
/// </summary>
|
||||
EnabledChannels = 4,
|
||||
/// <summary>
|
||||
/// A list of enabled channels.
|
||||
/// </summary>
|
||||
EnabledChannels = 4,
|
||||
|
||||
/// <summary>
|
||||
/// A list of enabled folders.
|
||||
/// </summary>
|
||||
EnabledFolders = 5,
|
||||
/// <summary>
|
||||
/// A list of enabled folders.
|
||||
/// </summary>
|
||||
EnabledFolders = 5,
|
||||
|
||||
/// <summary>
|
||||
/// A list of folders to allow content deletion from.
|
||||
/// </summary>
|
||||
EnableContentDeletionFromFolders = 6,
|
||||
/// <summary>
|
||||
/// A list of folders to allow content deletion from.
|
||||
/// </summary>
|
||||
EnableContentDeletionFromFolders = 6,
|
||||
|
||||
/// <summary>
|
||||
/// A list of latest items to exclude.
|
||||
/// </summary>
|
||||
LatestItemExcludes = 7,
|
||||
/// <summary>
|
||||
/// A list of latest items to exclude.
|
||||
/// </summary>
|
||||
LatestItemExcludes = 7,
|
||||
|
||||
/// <summary>
|
||||
/// A list of media to exclude.
|
||||
/// </summary>
|
||||
MyMediaExcludes = 8,
|
||||
/// <summary>
|
||||
/// A list of media to exclude.
|
||||
/// </summary>
|
||||
MyMediaExcludes = 8,
|
||||
|
||||
/// <summary>
|
||||
/// A list of grouped folders.
|
||||
/// </summary>
|
||||
GroupedFolders = 9,
|
||||
/// <summary>
|
||||
/// A list of grouped folders.
|
||||
/// </summary>
|
||||
GroupedFolders = 9,
|
||||
|
||||
/// <summary>
|
||||
/// A list of unrated items to block.
|
||||
/// </summary>
|
||||
BlockUnratedItems = 10,
|
||||
/// <summary>
|
||||
/// A list of unrated items to block.
|
||||
/// </summary>
|
||||
BlockUnratedItems = 10,
|
||||
|
||||
/// <summary>
|
||||
/// A list of ordered views.
|
||||
/// </summary>
|
||||
OrderedViews = 11,
|
||||
/// <summary>
|
||||
/// A list of ordered views.
|
||||
/// </summary>
|
||||
OrderedViews = 11,
|
||||
|
||||
/// <summary>
|
||||
/// A list of allowed tags.
|
||||
/// </summary>
|
||||
AllowedTags = 12
|
||||
}
|
||||
/// <summary>
|
||||
/// A list of allowed tags.
|
||||
/// </summary>
|
||||
AllowedTags = 12
|
||||
}
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing the axis that should be scrolled.
|
||||
/// </summary>
|
||||
public enum ScrollDirection
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing the axis that should be scrolled.
|
||||
/// Horizontal scrolling direction.
|
||||
/// </summary>
|
||||
public enum ScrollDirection
|
||||
{
|
||||
/// <summary>
|
||||
/// Horizontal scrolling direction.
|
||||
/// </summary>
|
||||
Horizontal = 0,
|
||||
Horizontal = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Vertical scrolling direction.
|
||||
/// </summary>
|
||||
Vertical = 1
|
||||
}
|
||||
/// <summary>
|
||||
/// Vertical scrolling direction.
|
||||
/// </summary>
|
||||
Vertical = 1
|
||||
}
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing the sorting order.
|
||||
/// </summary>
|
||||
public enum SortOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing the sorting order.
|
||||
/// Sort in increasing order.
|
||||
/// </summary>
|
||||
public enum SortOrder
|
||||
{
|
||||
/// <summary>
|
||||
/// Sort in increasing order.
|
||||
/// </summary>
|
||||
Ascending = 0,
|
||||
Ascending = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Sort in decreasing order.
|
||||
/// </summary>
|
||||
Descending = 1
|
||||
}
|
||||
/// <summary>
|
||||
/// Sort in decreasing order.
|
||||
/// </summary>
|
||||
Descending = 1
|
||||
}
|
||||
|
||||
@@ -1,33 +1,32 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing a subtitle playback mode.
|
||||
/// </summary>
|
||||
public enum SubtitlePlaybackMode
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing a subtitle playback mode.
|
||||
/// The default subtitle playback mode.
|
||||
/// </summary>
|
||||
public enum SubtitlePlaybackMode
|
||||
{
|
||||
/// <summary>
|
||||
/// The default subtitle playback mode.
|
||||
/// </summary>
|
||||
Default = 0,
|
||||
Default = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Always show subtitles.
|
||||
/// </summary>
|
||||
Always = 1,
|
||||
/// <summary>
|
||||
/// Always show subtitles.
|
||||
/// </summary>
|
||||
Always = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Only show forced subtitles.
|
||||
/// </summary>
|
||||
OnlyForced = 2,
|
||||
/// <summary>
|
||||
/// Only show forced subtitles.
|
||||
/// </summary>
|
||||
OnlyForced = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Don't show subtitles.
|
||||
/// </summary>
|
||||
None = 3,
|
||||
/// <summary>
|
||||
/// Don't show subtitles.
|
||||
/// </summary>
|
||||
None = 3,
|
||||
|
||||
/// <summary>
|
||||
/// Only show subtitles when the current audio stream is in a different language.
|
||||
/// </summary>
|
||||
Smart = 4
|
||||
}
|
||||
/// <summary>
|
||||
/// Only show subtitles when the current audio stream is in a different language.
|
||||
/// </summary>
|
||||
Smart = 4
|
||||
}
|
||||
|
||||
@@ -1,23 +1,22 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// Enum SyncPlayUserAccessType.
|
||||
/// </summary>
|
||||
public enum SyncPlayUserAccessType
|
||||
{
|
||||
/// <summary>
|
||||
/// Enum SyncPlayUserAccessType.
|
||||
/// User can create groups and join them.
|
||||
/// </summary>
|
||||
public enum SyncPlayUserAccessType
|
||||
{
|
||||
/// <summary>
|
||||
/// User can create groups and join them.
|
||||
/// </summary>
|
||||
CreateAndJoinGroups = 0,
|
||||
CreateAndJoinGroups = 0,
|
||||
|
||||
/// <summary>
|
||||
/// User can only join already existing groups.
|
||||
/// </summary>
|
||||
JoinGroups = 1,
|
||||
/// <summary>
|
||||
/// User can only join already existing groups.
|
||||
/// </summary>
|
||||
JoinGroups = 1,
|
||||
|
||||
/// <summary>
|
||||
/// SyncPlay is disabled for the user.
|
||||
/// </summary>
|
||||
None = 2
|
||||
}
|
||||
/// <summary>
|
||||
/// SyncPlay is disabled for the user.
|
||||
/// </summary>
|
||||
None = 2
|
||||
}
|
||||
|
||||
@@ -1,113 +1,112 @@
|
||||
namespace Jellyfin.Data.Enums
|
||||
namespace Jellyfin.Database.Implementations.Enums;
|
||||
|
||||
/// <summary>
|
||||
/// An enum representing the type of view for a library or collection.
|
||||
/// </summary>
|
||||
public enum ViewType
|
||||
{
|
||||
/// <summary>
|
||||
/// An enum representing the type of view for a library or collection.
|
||||
/// Shows albums.
|
||||
/// </summary>
|
||||
public enum ViewType
|
||||
{
|
||||
/// <summary>
|
||||
/// Shows albums.
|
||||
/// </summary>
|
||||
Albums = 0,
|
||||
Albums = 0,
|
||||
|
||||
/// <summary>
|
||||
/// Shows album artists.
|
||||
/// </summary>
|
||||
AlbumArtists = 1,
|
||||
/// <summary>
|
||||
/// Shows album artists.
|
||||
/// </summary>
|
||||
AlbumArtists = 1,
|
||||
|
||||
/// <summary>
|
||||
/// Shows artists.
|
||||
/// </summary>
|
||||
Artists = 2,
|
||||
/// <summary>
|
||||
/// Shows artists.
|
||||
/// </summary>
|
||||
Artists = 2,
|
||||
|
||||
/// <summary>
|
||||
/// Shows channels.
|
||||
/// </summary>
|
||||
Channels = 3,
|
||||
/// <summary>
|
||||
/// Shows channels.
|
||||
/// </summary>
|
||||
Channels = 3,
|
||||
|
||||
/// <summary>
|
||||
/// Shows collections.
|
||||
/// </summary>
|
||||
Collections = 4,
|
||||
/// <summary>
|
||||
/// Shows collections.
|
||||
/// </summary>
|
||||
Collections = 4,
|
||||
|
||||
/// <summary>
|
||||
/// Shows episodes.
|
||||
/// </summary>
|
||||
Episodes = 5,
|
||||
/// <summary>
|
||||
/// Shows episodes.
|
||||
/// </summary>
|
||||
Episodes = 5,
|
||||
|
||||
/// <summary>
|
||||
/// Shows favorites.
|
||||
/// </summary>
|
||||
Favorites = 6,
|
||||
/// <summary>
|
||||
/// Shows favorites.
|
||||
/// </summary>
|
||||
Favorites = 6,
|
||||
|
||||
/// <summary>
|
||||
/// Shows genres.
|
||||
/// </summary>
|
||||
Genres = 7,
|
||||
/// <summary>
|
||||
/// Shows genres.
|
||||
/// </summary>
|
||||
Genres = 7,
|
||||
|
||||
/// <summary>
|
||||
/// Shows guide.
|
||||
/// </summary>
|
||||
Guide = 8,
|
||||
/// <summary>
|
||||
/// Shows guide.
|
||||
/// </summary>
|
||||
Guide = 8,
|
||||
|
||||
/// <summary>
|
||||
/// Shows movies.
|
||||
/// </summary>
|
||||
Movies = 9,
|
||||
/// <summary>
|
||||
/// Shows movies.
|
||||
/// </summary>
|
||||
Movies = 9,
|
||||
|
||||
/// <summary>
|
||||
/// Shows networks.
|
||||
/// </summary>
|
||||
Networks = 10,
|
||||
/// <summary>
|
||||
/// Shows networks.
|
||||
/// </summary>
|
||||
Networks = 10,
|
||||
|
||||
/// <summary>
|
||||
/// Shows playlists.
|
||||
/// </summary>
|
||||
Playlists = 11,
|
||||
/// <summary>
|
||||
/// Shows playlists.
|
||||
/// </summary>
|
||||
Playlists = 11,
|
||||
|
||||
/// <summary>
|
||||
/// Shows programs.
|
||||
/// </summary>
|
||||
Programs = 12,
|
||||
/// <summary>
|
||||
/// Shows programs.
|
||||
/// </summary>
|
||||
Programs = 12,
|
||||
|
||||
/// <summary>
|
||||
/// Shows recordings.
|
||||
/// </summary>
|
||||
Recordings = 13,
|
||||
/// <summary>
|
||||
/// Shows recordings.
|
||||
/// </summary>
|
||||
Recordings = 13,
|
||||
|
||||
/// <summary>
|
||||
/// Shows schedule.
|
||||
/// </summary>
|
||||
Schedule = 14,
|
||||
/// <summary>
|
||||
/// Shows schedule.
|
||||
/// </summary>
|
||||
Schedule = 14,
|
||||
|
||||
/// <summary>
|
||||
/// Shows series.
|
||||
/// </summary>
|
||||
Series = 15,
|
||||
/// <summary>
|
||||
/// Shows series.
|
||||
/// </summary>
|
||||
Series = 15,
|
||||
|
||||
/// <summary>
|
||||
/// Shows shows.
|
||||
/// </summary>
|
||||
Shows = 16,
|
||||
/// <summary>
|
||||
/// Shows shows.
|
||||
/// </summary>
|
||||
Shows = 16,
|
||||
|
||||
/// <summary>
|
||||
/// Shows songs.
|
||||
/// </summary>
|
||||
Songs = 17,
|
||||
/// <summary>
|
||||
/// Shows songs.
|
||||
/// </summary>
|
||||
Songs = 17,
|
||||
|
||||
/// <summary>
|
||||
/// Shows songs.
|
||||
/// </summary>
|
||||
Suggestions = 18,
|
||||
/// <summary>
|
||||
/// Shows songs.
|
||||
/// </summary>
|
||||
Suggestions = 18,
|
||||
|
||||
/// <summary>
|
||||
/// Shows trailers.
|
||||
/// </summary>
|
||||
Trailers = 19,
|
||||
/// <summary>
|
||||
/// Shows trailers.
|
||||
/// </summary>
|
||||
Trailers = 19,
|
||||
|
||||
/// <summary>
|
||||
/// Shows upcoming.
|
||||
/// </summary>
|
||||
Upcoming = 20
|
||||
}
|
||||
/// <summary>
|
||||
/// Shows upcoming.
|
||||
/// </summary>
|
||||
Upcoming = 20
|
||||
}
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
|
||||
namespace Jellyfin.Server.Implementations;
|
||||
namespace Jellyfin.Database.Implementations;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the type and extension points for multi database support.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Entities.Libraries;
|
||||
|
||||
namespace Jellyfin.Data.Interfaces
|
||||
namespace Jellyfin.Database.Implementations.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// An interface abstracting an entity that has artwork.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Entities.Libraries;
|
||||
|
||||
namespace Jellyfin.Data.Interfaces
|
||||
namespace Jellyfin.Database.Implementations.Interfaces
|
||||
{
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has companies.
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
namespace Jellyfin.Data.Interfaces
|
||||
namespace Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// An interface abstracting an entity that has a concurrency token.
|
||||
/// </summary>
|
||||
public interface IHasConcurrencyToken
|
||||
{
|
||||
/// <summary>
|
||||
/// An interface abstracting an entity that has a concurrency token.
|
||||
/// Gets the version of this row. Acts as a concurrency token.
|
||||
/// </summary>
|
||||
public interface IHasConcurrencyToken
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets the version of this row. Acts as a concurrency token.
|
||||
/// </summary>
|
||||
uint RowVersion { get; }
|
||||
uint RowVersion { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Called when saving changes to this entity.
|
||||
/// </summary>
|
||||
void OnSavingChanges();
|
||||
}
|
||||
/// <summary>
|
||||
/// Called when saving changes to this entity.
|
||||
/// </summary>
|
||||
void OnSavingChanges();
|
||||
}
|
||||
|
||||
@@ -1,17 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Jellyfin.Data.Enums;
|
||||
|
||||
namespace Jellyfin.Data.Interfaces
|
||||
namespace Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has permissions.
|
||||
/// </summary>
|
||||
public interface IHasPermissions
|
||||
{
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has permissions.
|
||||
/// Gets a collection containing this entity's permissions.
|
||||
/// </summary>
|
||||
public interface IHasPermissions
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a collection containing this entity's permissions.
|
||||
/// </summary>
|
||||
ICollection<Permission> Permissions { get; }
|
||||
}
|
||||
ICollection<Permission> Permissions { get; }
|
||||
}
|
||||
|
||||
@@ -1,16 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
using Jellyfin.Data.Entities.Libraries;
|
||||
|
||||
namespace Jellyfin.Data.Interfaces
|
||||
namespace Jellyfin.Database.Implementations.Interfaces;
|
||||
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has releases.
|
||||
/// </summary>
|
||||
public interface IHasReleases
|
||||
{
|
||||
/// <summary>
|
||||
/// An abstraction representing an entity that has releases.
|
||||
/// Gets a collection containing this entity's releases.
|
||||
/// </summary>
|
||||
public interface IHasReleases
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets a collection containing this entity's releases.
|
||||
/// </summary>
|
||||
ICollection<Release> Releases { get; }
|
||||
}
|
||||
ICollection<Release> Releases { get; }
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
namespace Jellyfin.Server.Implementations;
|
||||
namespace Jellyfin.Database.Implementations;
|
||||
|
||||
/// <summary>
|
||||
/// Defines the key of the database provider.
|
||||
@@ -16,7 +16,7 @@ public sealed class JellyfinDatabaseProviderKeyAttribute : System.Attribute
|
||||
/// <param name="databaseProviderKey">The key on which to identify the annotated provider.</param>
|
||||
public JellyfinDatabaseProviderKeyAttribute(string databaseProviderKey)
|
||||
{
|
||||
this._databaseProviderKey = databaseProviderKey;
|
||||
_databaseProviderKey = databaseProviderKey;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
@@ -2,13 +2,11 @@ using System;
|
||||
using System.Linq;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Jellyfin.Data.Entities.Security;
|
||||
using Jellyfin.Data.Interfaces;
|
||||
using Jellyfin.Database.Implementations.Interfaces;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Conventions;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace Jellyfin.Server.Implementations;
|
||||
namespace Jellyfin.Database.Implementations;
|
||||
|
||||
/// <inheritdoc/>
|
||||
/// <summary>
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the ActivityLog entity.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// AncestorId configuration.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities.Security;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the ApiKey entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the AttachmentStreamInfo entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// Configuration for BaseItem.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// Provides configuration for the BaseItemMetadataField entity.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// BaseItemProvider configuration.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// Provides configuration for the BaseItemMetadataField entity.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// Chapter configuration.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the CustomItemDisplayPreferences entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities.Security;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the Device entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities.Security;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the DeviceOptions entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the DisplayPreferencesConfiguration entity.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// itemvalues Configuration.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// itemvalues Configuration.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// People configuration.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// People configuration.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// People configuration.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the Permission entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the Permission entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the TrickplayInfo entity.
|
||||
|
||||
@@ -2,7 +2,7 @@ using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration
|
||||
{
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the User entity.
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Jellyfin.Data.Entities;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||||
|
||||
namespace Jellyfin.Server.Implementations.ModelConfiguration;
|
||||
namespace Jellyfin.Database.Implementations.ModelConfiguration;
|
||||
|
||||
/// <summary>
|
||||
/// FluentAPI configuration for the UserData entity.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma warning disable CS1591
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#pragma warning disable CS1591
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
// <auto-generated />
|
||||
using System;
|
||||
using Jellyfin.Server.Implementations;
|
||||
using Jellyfin.Database.Implementations;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Infrastructure;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user