3e5d29225a
- Removed unused classes and files related to SQLite database provider, including SqliteDesignTimeJellyfinDbFactory, ModelBuilderExtensions, PragmaConnectionInterceptor, AssemblyInfo, SqliteDatabaseProvider, DateTimeKindValueConverter. - Updated tests to remove dependencies on removed classes and adjusted mocking for configuration sections. - Added Microsoft.EntityFrameworkCore.Sqlite package reference to test project. - Improved string handling in tests for better consistency and clarity. - Refactored logging methods in JellyfinApplicationFactory for better readability and maintainability.
49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
// <copyright file="ItemProviderView.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Jellyfin.Database.Implementations.Entities.Views;
|
|
|
|
#pragma warning disable CS1591
|
|
#pragma warning disable SA1600
|
|
|
|
using System;
|
|
|
|
/// <summary>
|
|
/// Read-only projection of library."ItemProviders_v".
|
|
/// Items with external provider IDs pivoted into named columns.
|
|
/// </summary>
|
|
public class ItemProviderView
|
|
{
|
|
public Guid? ItemId { get; set; }
|
|
|
|
public string? Type { get; set; }
|
|
|
|
public string? Name { get; set; }
|
|
|
|
public string? OriginalTitle { get; set; }
|
|
|
|
public int? ProductionYear { get; set; }
|
|
|
|
public string? SeriesName { get; set; }
|
|
|
|
public int? EpisodeNumber { get; set; }
|
|
|
|
public int? SeasonNumber { get; set; }
|
|
|
|
public string? ImdbId { get; set; }
|
|
|
|
public string? TmdbId { get; set; }
|
|
|
|
public string? TvdbId { get; set; }
|
|
|
|
public string? TvRageId { get; set; }
|
|
|
|
public string? MusicBrainzAlbumId { get; set; }
|
|
|
|
public string? MusicBrainzArtistId { get; set; }
|
|
|
|
/// <summary>Gets or sets remaining providers as a JSON object string.</summary>
|
|
public string? OtherProviders { get; set; }
|
|
}
|