aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Jellyfin.Data/Entities/AncestorId.cs2
-rw-r--r--Jellyfin.Data/Entities/AttachmentStreamInfo.cs4
-rw-r--r--Jellyfin.Data/Entities/ProgramAudioEntity.cs2
-rw-r--r--Jellyfin.Server.Implementations/Item/BaseItemRepository.cs6
-rw-r--r--Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs2
5 files changed, 8 insertions, 8 deletions
diff --git a/Jellyfin.Data/Entities/AncestorId.cs b/Jellyfin.Data/Entities/AncestorId.cs
index ef0fe0ba7..954416dfe 100644
--- a/Jellyfin.Data/Entities/AncestorId.cs
+++ b/Jellyfin.Data/Entities/AncestorId.cs
@@ -3,7 +3,7 @@ using System;
namespace Jellyfin.Data.Entities;
/// <summary>
-/// Represents the relational informations for an <see cref="BaseItemEntity"/>.
+/// Represents the relational information for an <see cref="BaseItemEntity"/>.
/// </summary>
public class AncestorId
{
diff --git a/Jellyfin.Data/Entities/AttachmentStreamInfo.cs b/Jellyfin.Data/Entities/AttachmentStreamInfo.cs
index 77b627f37..19265a011 100644
--- a/Jellyfin.Data/Entities/AttachmentStreamInfo.cs
+++ b/Jellyfin.Data/Entities/AttachmentStreamInfo.cs
@@ -3,7 +3,7 @@ using System;
namespace Jellyfin.Data.Entities;
/// <summary>
-/// Provides informations about an Attachment to an <see cref="BaseItemEntity"/>.
+/// Provides information about an Attachment to an <see cref="BaseItemEntity"/>.
/// </summary>
public class AttachmentStreamInfo
{
@@ -18,7 +18,7 @@ public class AttachmentStreamInfo
public required BaseItemEntity Item { get; set; }
/// <summary>
- /// Gets or Sets The index within the source file.
+ /// Gets or Sets the index within the source file.
/// </summary>
public required int Index { get; set; }
diff --git a/Jellyfin.Data/Entities/ProgramAudioEntity.cs b/Jellyfin.Data/Entities/ProgramAudioEntity.cs
index 5b225a002..9d79e5ddb 100644
--- a/Jellyfin.Data/Entities/ProgramAudioEntity.cs
+++ b/Jellyfin.Data/Entities/ProgramAudioEntity.cs
@@ -11,7 +11,7 @@ public enum ProgramAudioEntity
Mono = 0,
/// <summary>
- /// Sterio.
+ /// Stereo.
/// </summary>
Stereo = 1,
diff --git a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
index 952269b7e..848f3c822 100644
--- a/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
+++ b/Jellyfin.Server.Implementations/Item/BaseItemRepository.cs
@@ -258,7 +258,7 @@ public sealed class BaseItemRepository
private IQueryable<BaseItemEntity> ApplyGroupingFilter(IQueryable<BaseItemEntity> dbQuery, InternalItemsQuery filter)
{
// This whole block is needed to filter duplicate entries on request
- // for the time beeing it cannot be used because it would destroy the ordering
+ // for the time being it cannot be used because it would destroy the ordering
// this results in "duplicate" responses for queries that try to lookup individual series or multiple versions but
// for that case the invoker has to run a DistinctBy(e => e.PresentationUniqueKey) on their own
@@ -889,7 +889,7 @@ public sealed class BaseItemRepository
/// <exception cref="InvalidOperationException">Will be thrown if an invalid serialisation is requested.</exception>
public static BaseItemDto DeserialiseBaseItem(BaseItemEntity baseItemEntity, ILogger logger, IServerApplicationHost? appHost, bool skipDeserialization = false)
{
- var type = GetType(baseItemEntity.Type) ?? throw new InvalidOperationException("Cannot deserialise unkown type.");
+ var type = GetType(baseItemEntity.Type) ?? throw new InvalidOperationException("Cannot deserialise unknown type.");
BaseItemDto? dto = null;
if (TypeRequiresDeserialization(type) && baseItemEntity.Data is not null && !skipDeserialization)
{
@@ -905,7 +905,7 @@ public sealed class BaseItemRepository
if (dto is null)
{
- dto = Activator.CreateInstance(type) as BaseItemDto ?? throw new InvalidOperationException("Cannot deserialise unkown type.");
+ dto = Activator.CreateInstance(type) as BaseItemDto ?? throw new InvalidOperationException("Cannot deserialise unknown type.");
}
return Map(baseItemEntity, dto, appHost);
diff --git a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
index d0360a56d..632ff9307 100644
--- a/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
+++ b/Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs
@@ -321,7 +321,7 @@ public class MigrateLibraryDb : IMigrationRoutine
if (dbContext.Database.IsSqlite())
{
- _logger.LogInformation("Vaccum and Optimise jellyfin.db now.");
+ _logger.LogInformation("Vacuum and Optimise jellyfin.db now.");
dbContext.Database.ExecuteSqlRaw("PRAGMA optimize");
dbContext.Database.ExecuteSqlRaw("VACUUM");
_logger.LogInformation("jellyfin.db optimized successfully!");