Files
pgsql-jellyfin/src/Jellyfin.Database/Jellyfin.Database.Implementations/Entities/Views/LibrarySummaryView.cs
T
wjones 3e5d29225a Refactor SQLite Database Provider
- 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.
2026-05-03 09:39:00 -04:00

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; }
}