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.
50 lines
1.2 KiB
C#
50 lines
1.2 KiB
C#
// <copyright file="LibrarySummaryView.cs" company="PlaceholderCompany">
|
|
// Copyright (c) PlaceholderCompany. All rights reserved.
|
|
// </copyright>
|
|
|
|
namespace Jellyfin.Database.Implementations.Entities.Views;
|
|
|
|
#pragma warning disable CS1591
|
|
#pragma warning disable SA1600
|
|
|
|
/// <summary>
|
|
/// Read-only projection of the library."LibrarySummary_v" view.
|
|
/// One row per item type with aggregate statistics across the whole library.
|
|
/// </summary>
|
|
public class LibrarySummaryView
|
|
{
|
|
public string? Type { get; set; }
|
|
|
|
public long? ItemCount { get; set; }
|
|
|
|
public long? WithYear { get; set; }
|
|
|
|
public int? OldestYear { get; set; }
|
|
|
|
public int? NewestYear { get; set; }
|
|
|
|
public decimal? AvgCommunityRating { get; set; }
|
|
|
|
public decimal? TotalRunTimeTicks { get; set; }
|
|
|
|
public decimal? TotalRuntimeHours { get; set; }
|
|
|
|
public decimal? TotalSizeBytes { get; set; }
|
|
|
|
public decimal? TotalSizeGB { get; set; }
|
|
|
|
public long? Count4K { get; set; }
|
|
|
|
public long? Count1080p { get; set; }
|
|
|
|
public long? Count720p { get; set; }
|
|
|
|
public long? CountSD { get; set; }
|
|
|
|
public long? CountDolbyVision { get; set; }
|
|
|
|
public long? CountHDR10Plus { get; set; }
|
|
|
|
public long? CountHDR10 { get; set; }
|
|
}
|