diff --git a/docs/manual/using-lumina/index.md b/docs/manual/using-lumina/index.md index d47bd33a..2e157bfb 100644 --- a/docs/manual/using-lumina/index.md +++ b/docs/manual/using-lumina/index.md @@ -113,7 +113,7 @@ A favorite whose item was deleted, or whose library you can no longer access, st The **Statistics** entry under Library opens your consumption statistics. It covers every media kind the server can consume, with music and book sessions appearing side by side and more kinds joining as their catalogues arrive. The statistics are built from the sessions your player and reader report, belong to your account, and are not shared with other regular users; administrators can view any user's statistics. -A session counts towards the statistics when it completes, or when it reaches the counting rule of its kind. A music track counts after 30 seconds, and a book counts after more than 5 consecutive pages. A stopped session below the rule is stored but not counted, while the total consumed time still includes the time you spent. Completion is separate from counting: a session can count without the library considering the item complete. +A session counts towards the statistics when it completes, or when it reaches the counting rule of its kind. A music track counts after 30 seconds, and a book counts after more than 5 consecutive pages in the reader. A stopped session below the rule is stored but not counted, while the total consumed time still includes the time you spent. Completion is separate from counting: a session can count without the library considering the item complete. The page shows: diff --git a/docs/technical/api/library/statistics/Api.LibraryStatistics.md b/docs/technical/api/library/statistics/Api.LibraryStatistics.md index 9158e421..7dbc7d78 100644 --- a/docs/technical/api/library/statistics/Api.LibraryStatistics.md +++ b/docs/technical/api/library/statistics/Api.LibraryStatistics.md @@ -365,7 +365,7 @@ The optional `libraryId`, `mediaKind`, `fromUtc` and `toUtc` filters are the sam ] ``` -The records are grouped to one row per media kind, media item and library first, so an item with several sessions contributes its tags once, not once per session. Only items in an accessible library with at least one counted session contribute. A name that appears twice on the same item contributes once. Names are normalized to lowercase, so `Horror` and `horror` share one bucket across media kinds. The rows are ordered by consumed item count, then consumed duration, both descending, with the name ascending as the tiebreaker. An item that no longer exists, or that moved to another library after it was consumed, does not contribute to the breakdown, because its terms cannot be resolved for the recorded library. +The records are grouped to one row per media kind, media item and library first, so an item with several sessions contributes its tags once, not once per session. A music track with no tags of its own contributes the tags of its album, and then the tags of its artist when the album has none. Only items in an accessible library with at least one counted session contribute. A name that appears twice on the same item contributes once. Names are normalized to lowercase, so `Horror` and `horror` share one bucket across media kinds. The rows are ordered by consumed item count, then consumed duration, both descending, with the name ascending as the tiebreaker. An item that no longer exists, or that moved to another library after it was consumed, does not contribute to the breakdown, because its terms cannot be resolved for the recorded library. `consumedItemCount` is the number of distinct items that carry the tag, not the number of sessions. `consumedDurationInSeconds` is the consumed duration of those items, over all of their sessions. @@ -408,7 +408,7 @@ The optional `libraryId`, `mediaKind`, `fromUtc` and `toUtc` filters are the sam ] ``` -The genre breakdown follows the same item level aggregation, lowercase normalization, ordering and availability rules as the tag breakdown. +The genre breakdown follows the same item level aggregation, lowercase normalization, ordering and availability rules as the tag breakdown. A music track with no genres of its own contributes the genres of its album, and then the genres of its artist when the album has none. ### Delete Consumption Record @@ -554,7 +554,7 @@ Every route in this document requires authentication. The statistics and lists never expose the history of another user to a regular user. Display data is resolved per distinct library through the library ownership policy. An item in a library the current user can no longer access keeps its counts but has blank display data, so the history lists reveal no inaccessible title, collection, creator or cover. The service wide totals never include the records of a user that the caller cannot target. -Deleting a record, every record of an item, the whole history, or the resume points belongs to the same access rule. An administrator can delete any user's consumption activity through the per-user routes, and a regular user can delete only their own. +Deleting a record, every record of an item, the whole history, or the resume points belongs to the same access rule. An administrator can delete any user's consumption activity through the per-user routes, and a regular user can delete only their own. Reading a resume point is not part of this surface; it stays owner only, as documented in [Media Consumption](../../media-consumption/Api.MediaConsumption.md). ### Private Responses diff --git a/docs/technical/api/media-consumption/Api.MediaConsumption.md b/docs/technical/api/media-consumption/Api.MediaConsumption.md index 33687bc2..7162d46e 100644 --- a/docs/technical/api/media-consumption/Api.MediaConsumption.md +++ b/docs/technical/api/media-consumption/Api.MediaConsumption.md @@ -243,7 +243,7 @@ A session of a non-page-based kind cannot report consecutive pages above zero. A A book page count of 5 does not count as a session for statistics, while 6 does, but that counting rule belongs to the statistics read model and does not change the stored progress. -The book reader counts spine sections as pages, because the reader exposes no pagination finer than a section. A PDF page is a section of its own, but a reflowable book can put a whole chapter, or several pages, in one section, so the reported page count approximates the pages a reader saw and the threshold counts sections rather than printed or viewport pages. +The book reader counts a page as one visible reader viewport. A PDF page is a section of its own, while a reflowable section can hold several viewport pages, so the reported page count follows the pages the reader actually scrolled through rather than the printed pages of the source book. #### Report Consumption Progress Response @@ -463,6 +463,8 @@ Returns the resume point of the current user for the item named by the route. A When the media item no longer exists, or no longer belongs to the library recorded in the resume point, the resume point is an orphan. It is deleted before the item is reported as not found. A client that reopens the item must therefore fall back to the beginning instead of assuming the stored point still exists. +When the library that recorded the resume point no longer tracks consumption progress, the stored resume point is deleted and reported as `MediaResumePointNotFound`, so turning tracking off takes effect for an existing position as well. + A kind whose catalogue does not exist yet is rejected with `UnsupportedMediaKind`, so a planned kind cannot return a resume point that start would never create. A photo is the exception among the planned kinds: it has no position representation, so it is rejected with `MediaKindCannotResume`. The invalid `None` kind is rejected with `UnsupportedMediaKind`. #### Get Resume Point Response @@ -620,7 +622,7 @@ Errors are returned as problem details. A request without a valid token is rejec | `404` | `TrackNotFound` | The start route names a music track that does not exist, or that does not belong to the route library, or a resume point names a track that no longer exists or no longer belongs to its recorded library. | | `404` | `BookNotFound` | The start route names a book that does not exist, or that does not belong to the route library, or a resume point names a book that no longer exists or no longer belongs to its recorded library. | | `404` | `ConsumptionRecordNotFound` | The record does not exist, or it belongs to another user. | -| `404` | `MediaResumePointNotFound` | The resume point does not exist, or it belongs to another user. | +| `404` | `MediaResumePointNotFound` | The resume point does not exist, belongs to another user, or belongs to a library that no longer tracks consumption progress. | | `409` | `ConsumptionIsNotInProgress` | A progress report targets a session that is already completed or stopped. | | `409` | `ConsumptionIsAlreadyTerminal` | A complete or stop request targets a session that is already completed or stopped. | | `409` | `ConcurrencyConflict` | Another request changed the same row after this request read it, or the storage reported a busy or locked database. Repeating the request is safe when it reports the current values. | diff --git a/docs/technical/architecture/architecture-knowledge-management/architecture-decision-log/architecture-decision-record-0018.md b/docs/technical/architecture/architecture-knowledge-management/architecture-decision-log/architecture-decision-record-0018.md index e43c85c3..b30cfb39 100644 --- a/docs/technical/architecture/architecture-knowledge-management/architecture-decision-log/architecture-decision-record-0018.md +++ b/docs/technical/architecture/architecture-knowledge-management/architecture-decision-log/architecture-decision-record-0018.md @@ -33,8 +33,8 @@ The decision includes these rules: - **Completion is explicit or threshold based.** A session stopped at or after the library completion threshold is recorded as `Completed` and its resume point is deleted. Completion never requires playback to the final second of a media file. A library that tracks progress without a completion threshold completes only when completion is reported explicitly. - **Progress tracking and completion thresholds are per-library settings.** `ShouldTrackConsumptionProgress` and `CompletionThresholdPercentage` live in `LibraryConsumptionSettings` on the library aggregate. Defaults are applied by library type when a library is created, and when progress tracking is enabled later without a threshold. The per-library value always wins once it is set. - **Statistics are derived, never stored.** `ConsumptionStatistics` aggregates the records in the application layer on every request. There is no rollup table, no projection table and no counter aggregate, so deleting a record changes the statistics immediately. The `MediaConsumptionRule` value objects own the counting rules per media kind. -- **Tags and genres are lowercase and shared across kinds.** `Tag` and `Genre` normalize names with `Trim().ToLowerInvariant()`, and the statistics group them by that normalized name across media kinds. The application resolves the terms of each consumed record through the catalogue repository of its media kind, in a per-kind branch, and the photo branch is added when the photo catalogue exists. -- **Access is based on the user and the administrator role.** A regular user reads and deletes only their own history, statistics and resume points. An administrator reads and deletes any user's history, statistics and resume points. There is no per-user permission toggle. Lifecycle writes (`start`, `progress`, `complete`, `stop`) are owner only, so an administrator does not write another user's session. +- **Tags and genres are lowercase and shared across kinds.** `Tag` and `Genre` normalize names with `Trim().ToLowerInvariant()`, and the statistics group them by that normalized name across media kinds. The application resolves the terms of each consumed record through the catalogue repository of its media kind, in a per-kind branch, and the photo branch is added when the photo catalogue exists. For a music track, the terms fall back from the track to its album and then to its artist. +- **Access is based on the user and the administrator role.** A regular user reads and deletes only their own history, statistics and resume points. An administrator reads any user's history and statistics, and deletes any user's history and resume points. A resume point is readable only by its owner. There is no per-user permission toggle. Lifecycle writes (`start`, `progress`, `complete`, `stop`) are owner only, so an administrator does not write another user's session. ### Model @@ -73,7 +73,7 @@ The statistics count a session when the rule of its media kind says so. Duration - **Complete**: loads the record of the current user, makes it terminal as `Completed`, and deletes the resume point for the same user, kind and item. - **Stop**: loads the record and the library settings. It stops the record without a threshold check when tracking is off or no threshold is set. When tracking is on and a threshold is set, a final fraction at or above it completes the record and deletes the resume point; otherwise the record is stopped and the resume point is upserted. - **Statistics**: the statistics repository binds the target user and every optional filter and returns read-only record entities. The application handlers aggregate the records, resolve display data and tags or genres through the catalogue repositories, paginate, and map the DTOs. -- **Deletion**: deleting a record, every record of an item, or the whole history is idempotent and never deletes resume points. Clearing resume points never deletes history. An administrator may delete any user's history through the per-user routes. +- **Deletion**: deleting a record, every record of an item, or the whole history is idempotent and never deletes resume points. Clearing resume points never deletes history. An administrator may delete any user's history or resume points through the per-user routes; reading a resume point stays owner only. ## Consequences diff --git a/src/Lumina.Application/Core/MediaConsumption/Queries/GetGenreConsumption/GetGenreConsumptionQueryHandler.cs b/src/Lumina.Application/Core/MediaConsumption/Queries/GetGenreConsumption/GetGenreConsumptionQueryHandler.cs index 2da2cb9c..b4fefa50 100644 --- a/src/Lumina.Application/Core/MediaConsumption/Queries/GetGenreConsumption/GetGenreConsumptionQueryHandler.cs +++ b/src/Lumina.Application/Core/MediaConsumption/Queries/GetGenreConsumption/GetGenreConsumptionQueryHandler.cs @@ -128,7 +128,7 @@ public class GetGenreConsumptionQueryHandler : IQueryHandler> genreNamesByItem = []; foreach (TrackEntity track in tracks) { - List itemGenres = [.. track.Genres.Select(genre => genre.Name).OfType()]; + List itemGenres = GetTrackGenreNames(track); if (itemGenres.Count > 0) genreNamesByItem[(MediaKind.MusicTrack, track.Id, track.LibraryId)] = itemGenres; } @@ -181,6 +181,21 @@ public class GetGenreConsumptionQueryHandler : IQueryHandler + /// Gets the genre names of , falling back to the genres of its album and then its artist. + /// + /// The track whose genres are resolved. + /// The genre names of the track, its album, or its artist, in the first level that has any. + private static List GetTrackGenreNames(TrackEntity track) + { + List genreNames = [.. track.Genres.Select(genre => genre.Name).OfType()]; + if (genreNames.Count == 0 && track.Album is not null) + genreNames = [.. track.Album.Genres.Select(genre => genre.Name).OfType()]; + if (genreNames.Count == 0 && track.Album is not null && track.Album.Artist is not null) + genreNames = [.. track.Album.Artist.Genres.Select(genre => genre.Name).OfType()]; + return genreNames; + } + /// /// Adds the lowercase of one item to the accumulated . /// diff --git a/src/Lumina.Application/Core/MediaConsumption/Queries/GetResumePoint/GetResumePointQueryHandler.cs b/src/Lumina.Application/Core/MediaConsumption/Queries/GetResumePoint/GetResumePointQueryHandler.cs index af72eb4f..cad4e40f 100644 --- a/src/Lumina.Application/Core/MediaConsumption/Queries/GetResumePoint/GetResumePointQueryHandler.cs +++ b/src/Lumina.Application/Core/MediaConsumption/Queries/GetResumePoint/GetResumePointQueryHandler.cs @@ -2,6 +2,7 @@ using Lumina.Application.Common.CQRS; using Lumina.Application.Common.DataAccess.Entities.MediaConsumption; using Lumina.Application.Common.DataAccess.Entities.MediaLibrary.AudioLibrary.MusicLibrary; +using Lumina.Application.Common.DataAccess.Entities.MediaLibrary.Management; using Lumina.Application.Common.DataAccess.Entities.MediaLibrary.WrittenContentLibrary.BookLibrary; using Lumina.Application.Common.DataAccess.UoW; using Lumina.Application.Common.Infrastructure.Authentication; @@ -89,6 +90,25 @@ public class GetResumePointQueryHandler : IQueryHandler getLibraryResult = await _unitOfWork.LibraryRepository + .GetByIdAsync(getResumePointResult.Value.LibraryId, shouldTrackEntities: false, cancellationToken: cancellationToken).ConfigureAwait(false); + if (getLibraryResult.IsFailure) + return getLibraryResult.Errors; + if (getLibraryResult.Value is not null && !getLibraryResult.Value.ShouldTrackConsumptionProgress) + { + Result deleteStaleResumePointResult = await _unitOfWork.MediaResumePointRepository.DeleteForUserAndMediaItemAsync(userId, mediaKind, mediaItemId, cancellationToken).ConfigureAwait(false); + if (deleteStaleResumePointResult.IsFailure) + return deleteStaleResumePointResult.Errors; + Result saveStaleResumePointDeletionResult = await _unitOfWork.SaveChangesAsync(cancellationToken).ConfigureAwait(false); + // A concurrent deletion of the same stale resume point is the desired outcome, so only other persistence failures are returned. + if (saveStaleResumePointDeletionResult.IsFailure && + !saveStaleResumePointDeletionResult.Errors.Any(error => error == ApplicationErrors.Persistence.ConcurrencyConflict)) + return saveStaleResumePointDeletionResult.Errors; + return DomainErrors.MediaConsumption.MediaResumePointNotFound; + } + // The media item must still exist in the library the resume point was recorded in. A resume point whose item was deleted, or whose item no // longer belongs to that library, is an orphan, so it is removed before the same not-found result as a missing item is returned. if (mediaKind == MediaKind.MusicTrack) diff --git a/src/Lumina.Application/Core/MediaConsumption/Queries/GetTagConsumption/GetTagConsumptionQueryHandler.cs b/src/Lumina.Application/Core/MediaConsumption/Queries/GetTagConsumption/GetTagConsumptionQueryHandler.cs index 66ca2a66..41fa0e7d 100644 --- a/src/Lumina.Application/Core/MediaConsumption/Queries/GetTagConsumption/GetTagConsumptionQueryHandler.cs +++ b/src/Lumina.Application/Core/MediaConsumption/Queries/GetTagConsumption/GetTagConsumptionQueryHandler.cs @@ -128,7 +128,7 @@ public class GetTagConsumptionQueryHandler : IQueryHandler> tagNamesByItem = []; foreach (TrackEntity track in tracks) { - List itemTags = [.. track.Tags.Select(tag => tag.Name).OfType()]; + List itemTags = GetTrackTagNames(track); if (itemTags.Count > 0) tagNamesByItem[(MediaKind.MusicTrack, track.Id, track.LibraryId)] = itemTags; } @@ -181,6 +181,21 @@ public class GetTagConsumptionQueryHandler : IQueryHandler + /// Gets the tag names of , falling back to the tags of its album and then its artist. + /// + /// The track whose tags are resolved. + /// The tag names of the track, its album, or its artist, in the first level that has any. + private static List GetTrackTagNames(TrackEntity track) + { + List tagNames = [.. track.Tags.Select(tag => tag.Name).OfType()]; + if (tagNames.Count == 0 && track.Album is not null) + tagNames = [.. track.Album.Tags.Select(tag => tag.Name).OfType()]; + if (tagNames.Count == 0 && track.Album is not null && track.Album.Artist is not null) + tagNames = [.. track.Album.Artist.Tags.Select(tag => tag.Name).OfType()]; + return tagNames; + } + /// /// Adds the lowercase of one item to the accumulated . /// diff --git a/src/Lumina.DataAccess/Core/Repositories/MusicLibrary/TrackRepository.cs b/src/Lumina.DataAccess/Core/Repositories/MusicLibrary/TrackRepository.cs index 5878f79c..64146407 100644 --- a/src/Lumina.DataAccess/Core/Repositories/MusicLibrary/TrackRepository.cs +++ b/src/Lumina.DataAccess/Core/Repositories/MusicLibrary/TrackRepository.cs @@ -578,7 +578,15 @@ internal sealed class TrackRepository : ITrackRepository { query = query .Include(track => track.Album) - .ThenInclude(album => album!.Artist) + .ThenInclude(album => album!.Tags) + .Include(track => track.Album) + .ThenInclude(album => album!.Genres) + .Include(track => track.Album) + .ThenInclude(album => album!.Artist) + .ThenInclude(artist => artist!.Tags) + .Include(track => track.Album) + .ThenInclude(album => album!.Artist) + .ThenInclude(artist => artist!.Genres) .Include(track => track.Ratings) .Include(track => track.Tags) .Include(track => track.Genres) diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx index 07ff347a..d3c3df28 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ar-SA.resx @@ -1111,7 +1111,7 @@ تنسيق معرف MusicBrainz غير صالح! - لا يوجد قارئ متاح لهذا الكتاب! + لا يوجد قارئ كتب متاح لهذا الكتاب! لم يتم العثور على تنسيق تشغيل مدعوم! @@ -1198,7 +1198,7 @@ نوع قائمة التشغيل غير صالح! - تم تعطيل القارئ لهذه المكتبة! + قارئ الكتب معطل لهذه المكتبة! لا يمكن أن يكون مفتاح المورد فارغًا! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx index ee08ae4b..7acf27db 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.de-DE.resx @@ -1111,7 +1111,7 @@ Das MusicBrainz-Id-Format ist ungültig! - Für dieses Buch ist kein Reader verfügbar! + Für dieses Buch ist kein Buchleser verfügbar! Es wurde kein unterstütztes Wiedergabeformat gefunden! @@ -1198,7 +1198,7 @@ Der Wiedergabelistentyp ist ungültig! - Der Reader ist für diese Bibliothek deaktiviert! + Der Buchleser, der dieses Buch öffnet, ist für diese Bibliothek deaktiviert! Der Ressourcenschlüssel darf nicht leer sein! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx index fbdd9bfb..b36fedaf 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.es-ES.resx @@ -1111,7 +1111,7 @@ ¡El formato de ID de MusicBrainz no es válido! - ¡No hay lectores disponibles para este libro! + ¡No hay ningún lector de libros disponible para este libro! ¡No se encontró ningún formato de reproducción compatible! @@ -1198,7 +1198,7 @@ ¡El tipo de lista de reproducción no es válido! - ¡El lector está deshabilitado para esta biblioteca! + ¡El lector de libros está deshabilitado para esta biblioteca! ¡La clave de recurso no puede estar vacía! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx index 17ea12db..fc764a80 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.fr-FR.resx @@ -1111,7 +1111,7 @@ Le format MusicBrainz Id n’est pas valide ! - Aucun lecteur n'est disponible pour ce livre ! + Aucun lecteur de livres n'est disponible pour ce livre ! Aucun format de lecture pris en charge n'a été trouvé ! @@ -1150,7 +1150,7 @@ Une partie valeur du modèle de chemin doit contenir exactement un espace réservé ! - L'autorisation n'a pas été trouvée ! + La permission n'a pas été trouvée ! La diffusion de la lecture a changé ! @@ -1198,7 +1198,7 @@ Le type de liste de lecture est invalide ! - Le lecteur est désactivé pour cette bibliothèque ! + Le lecteur de livres est désactivé pour cette bibliothèque ! La clé de ressource ne peut pas être vide ! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx index 510d7f15..56c362f1 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.it-IT.resx @@ -1111,7 +1111,7 @@ Il formato dell'ID MusicBrainz non è valido! - Nessun lettore disponibile per questo libro! + Nessun lettore di libri disponibile per questo libro! Non è stato trovato alcun formato di riproduzione supportato! @@ -1198,7 +1198,7 @@ Il tipo di playlist non è valido! - Il lettore è disabilitato per questa libreria! + Il lettore di libri è disabilitato per questa libreria! La chiave della risorsa non può essere vuota! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx index f5c1aaf6..804b2b90 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ja-JP.resx @@ -217,22 +217,22 @@ 完了したスキャンジョブ数は正の値でなければなりません! - 出演者の表示名を空にすることはできません! + 寄稿者の表示名を空にすることはできません。 - 出演者の表示名は最大100文字までです! + 寄稿者の表示名は最大100文字までです! - 出演者の本名は最大100文字までです! + 寄稿者の本名は最大100文字までです! - 出演者名を空にすることはできません! + 寄稿者名を空にすることはできません。 - 出演者の役割をnullにすることはできません! + 寄稿者の役割をnullにすることはできません。 - 出演者リストをnullにすることはできません! + 寄稿者リストをnullにすることはできません。 CORSオリジンが無効です! @@ -1090,7 +1090,7 @@ メディア寄稿者名を空にすることはできません。 - メディア投稿者のロール名を空にすることはできません。 + メディア寄稿者のロール名を空にすることはできません。 メディア項目 Idは空にできません。 @@ -1111,7 +1111,7 @@ MusicBrainz ID の形式が無効です。 - この本にはリーダーがいません! + この本の形式を開けるブックリーダーがありません。 サポートされている再生フォーマットが見つかりませんでした。 @@ -1123,7 +1123,7 @@ トラックの正規化に失敗しました! - 直接再生する場合はノーマライズは必要ありません。 + 直接再生する場合は正規化は必要ありません。 トラックの正規化がタイムアウトになりました。 @@ -1150,7 +1150,7 @@ パス テンプレートの値部分には、プレースホルダーを 1 つだけ含める必要があります。 - 許可が見つかりませんでした! + 権限が見つかりませんでした。 再生配信が変わりました! @@ -1198,7 +1198,7 @@ プレイリストのタイプが無効です。 - このライブラリではリーダーが無効になっています。 + この本を開くブックリーダーは、このライブラリで無効になっています。ライブラリ設定で有効にすると本を読めます。 リソース キーを空にすることはできません。 diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx index fdcef835..ae2450db 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.ro-RO.resx @@ -844,10 +844,10 @@ Calitatea fluxului nu poate fi nulă! - Numărul de piste pentru redare aleatorie trebuie să fie mai mare decât zero! + Numărul de piese pentru redare aleatorie trebuie să fie mai mare decât zero! - Numărul de piste pentru redare aleatorie nu poate depăși 500! + Numărul de piese pentru redare aleatorie nu poate depăși 500! Scăderea vumetrului nu poate fi nulă! @@ -1111,7 +1111,7 @@ Formatul MusicBrainz Id este nevalid! - Niciun cititor nu este disponibil pentru această carte! + Niciun cititor de cărți nu este disponibil pentru această carte! Nu a fost găsit niciun format de redare acceptat! @@ -1120,13 +1120,13 @@ Limita cache-ului de normalizare a fost depășită! - Normalizarea pistei a eșuat! + Normalizarea piesei a eșuat! Normalizarea nu este necesară pentru redarea directă! - Normalizarea pistei a expirat! + Normalizarea piesei a expirat! Normalizarea piesei este indisponibilă momentan! @@ -1198,7 +1198,7 @@ Tipul playlistului este nevalid! - Cititorul este dezactivat pentru această bibliotecă! + Cititorul de cărți este dezactivat pentru această bibliotecă! Cheia de resurse nu poate fi goală! @@ -1249,7 +1249,7 @@ Piesa există deja! - Durata pistei trebuie să fie pozitivă! + Durata piesei trebuie să fie pozitivă! Fișierul piesei nu a fost găsit! @@ -1264,13 +1264,13 @@ Numărul piesei trebuie să fie mai mare decât zero! - Calea pistei nu poate fi goală! + Calea piesei nu poate fi goală! - Calea pistei trebuie să aibă maximum 2048 de caractere! + Calea piesei trebuie să aibă maximum 2048 de caractere! - Calea pistei trebuie să fie în interiorul uneia dintre locațiile conținutului bibliotecii! + Calea piesei trebuie să fie în interiorul uneia dintre locațiile conținutului bibliotecii! Lista de piese nu poate fi nulă! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx index 7c0c3d3e..197e157e 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.uk-UA.resx @@ -934,7 +934,7 @@ Псевдонім виконавця має містити максимум 255 символів! - Артист вже є! + Виконавець уже існує! Ідентифікатор виконавця не може бути порожнім! @@ -949,7 +949,7 @@ Ім'я виконавця має містити максимум 255 символів! - Художника не знайшли! + Виконавця не знайдено! Веб-сайт виконавця має містити максимум 2048 символів! @@ -1111,7 +1111,7 @@ Формат ідентифікатора MusicBrainz недійсний! - Немає читача для цієї книги! + Немає читача книг для цієї книги! Не знайдено жодного підтримуваного формату відтворення! @@ -1198,7 +1198,7 @@ Тип списку відтворення недійсний! - Читач вимкнено для цієї бібліотеки! + Читач книг вимкнено для цієї бібліотеки! Ключ ресурсу не може бути порожнім! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx index cb6b3dc7..cdcf3979 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Common/Middlewares/ExceptionHandlingMiddleware.zh-CN.resx @@ -217,22 +217,22 @@ 已完成扫描任务数量必须为正数! - 参与者显示名称不能为空! + 贡献者显示名称不能为空! - 参与者显示名称最多只能有100个字符! + 贡献者显示名称最多只能有100个字符! - 参与者法定姓名最多只能有100个字符! + 贡献者法定姓名最多只能有100个字符! - 参与者姓名不能为空! + 贡献者姓名不能为空! - 参与者角色不能为空! + 贡献者角色不能为空! - 参与者列表不能为空! + 贡献者列表不能为空! CORS来源无效! @@ -907,7 +907,7 @@ 该专辑已经存在! - 相册ID不能为空! + 专辑ID不能为空! 找不到专辑! @@ -1024,25 +1024,25 @@ 已结束的消费必须有结束时间! - 最喜欢的已经存在了! + 收藏已存在! 收藏的媒体项 ID 不能为空! - 最喜欢的媒体项目 ID 列表不能为空! + 收藏的媒体项 ID 列表不能为空! - 最喜欢的媒体项目 ID 列表超出了最大计数! + 收藏的媒体项 ID 列表超出最大数量! - 最喜欢的媒体类型无效! + 收藏的媒体类型无效! - 不支持最喜欢的媒体类型! + 不支持收藏的媒体类型! - 没有找到最喜欢的! + 找不到收藏! 文件太大! @@ -1084,13 +1084,13 @@ 位置参考不能为空! - 媒体投稿人已经存在! + 媒体贡献者已存在! - 媒体投稿人姓名不能为空! + 媒体贡献者名称不能为空! - 媒体投稿人角色名称不能为空! + 媒体贡献者角色名称不能为空! 媒体项 Id不能为空! @@ -1111,7 +1111,7 @@ MusicBrainz Id 格式无效! - 没有读者可以阅读这本书! + 没有可用的图书阅读器能够打开此图书。 未找到支持的播放格式! @@ -1123,7 +1123,7 @@ 曲目规范化失败! - 直接播放不需要标准化! + 直接播放不需要规范化! 曲目规范化超时! @@ -1198,7 +1198,7 @@ 播放列表类型无效! - 该库的读者已被禁用! + 打开此图书的图书阅读器已在此媒体库中禁用。在媒体库设置中启用它即可阅读该图书。 资源键不能为空! diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ar-SA.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ar-SA.resx index d50c52a5..763d270e 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ar-SA.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ar-SA.resx @@ -294,9 +294,6 @@ نعم - - يوتيوب - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.de-DE.resx index 87164d9c..b8da7f60 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.de-DE.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.de-DE.resx @@ -294,9 +294,6 @@ Ja - - YouTube - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.en-US.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.en-US.resx index 265401de..d108cf96 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.en-US.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.en-US.resx @@ -294,9 +294,6 @@ Yes - - YouTube - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.es-ES.resx index 920c6885..fec23bfe 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.es-ES.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.es-ES.resx @@ -294,9 +294,6 @@ Sí - - YouTube - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.fr-FR.resx index 88c19dba..9d8650d5 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.fr-FR.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.fr-FR.resx @@ -294,9 +294,6 @@ Oui - - YouTube - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.it-IT.resx index 9b392ee3..1e8e8fb1 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.it-IT.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.it-IT.resx @@ -294,9 +294,6 @@ Sì - - YouTube - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ja-JP.resx index 9ff9a89c..82f9c3c6 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ja-JP.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ja-JP.resx @@ -294,9 +294,6 @@ はい - - ユーチューブ - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.resx index 265401de..d108cf96 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.resx @@ -294,9 +294,6 @@ Yes - - YouTube - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ro-RO.resx index 99e0cc97..7c108058 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ro-RO.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.ro-RO.resx @@ -294,9 +294,6 @@ Da - - YouTube - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.uk-UA.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.uk-UA.resx index 70bed038..03dcaa9e 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.uk-UA.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.uk-UA.resx @@ -294,9 +294,6 @@ Так - - Ютуб - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.zh-CN.resx index 49ee84b6..1e58d782 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.zh-CN.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Index.zh-CN.resx @@ -294,9 +294,6 @@ 是 - - 油管 - YouTube diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ar-SA.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ar-SA.resx index b7e3cf51..d3d14645 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ar-SA.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ar-SA.resx @@ -312,9 +312,6 @@ محتوى مكتوب - - YouTube - الاسم diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.de-DE.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.de-DE.resx index 53dc11a6..c6661aa2 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.de-DE.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.de-DE.resx @@ -312,9 +312,6 @@ Schriftliche Inhalte - - YouTube - Name diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.en-US.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.en-US.resx index 654d3568..55cf7fc0 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.en-US.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.en-US.resx @@ -312,9 +312,6 @@ Written Content - - YouTube - Name diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.es-ES.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.es-ES.resx index 0c76cd05..4393c46b 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.es-ES.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.es-ES.resx @@ -312,9 +312,6 @@ Contenido Escrito - - YouTube - Nombre diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.fr-FR.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.fr-FR.resx index d6c71bc9..21012df1 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.fr-FR.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.fr-FR.resx @@ -312,9 +312,6 @@ Contenu Écrit - - YouTube - Nom diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.it-IT.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.it-IT.resx index 834483f5..187f2f32 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.it-IT.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.it-IT.resx @@ -312,9 +312,6 @@ Contenuto Scritto - - YouTube - Nome diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ja-JP.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ja-JP.resx index e5f98bec..14f61cd4 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ja-JP.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ja-JP.resx @@ -312,9 +312,6 @@ 文字コンテンツ - - ユーチューブ - 名前 diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.resx index 654d3568..55cf7fc0 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.resx @@ -312,9 +312,6 @@ Written Content - - YouTube - Name diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ro-RO.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ro-RO.resx index 5aa06194..2543870b 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ro-RO.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.ro-RO.resx @@ -312,9 +312,6 @@ Conținut Scris - - YouTube - Nume diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.uk-UA.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.uk-UA.resx index b01c37d1..5e1c4241 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.uk-UA.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.uk-UA.resx @@ -312,9 +312,6 @@ Письмовий контент - - Ютуб - Ім'я diff --git a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.zh-CN.resx b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.zh-CN.resx index 0c2752f0..ec7ff75a 100644 --- a/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.zh-CN.resx +++ b/src/Lumina.Presentation.Web/Core/Resources/Views/Library/Management/Item.zh-CN.resx @@ -312,9 +312,6 @@ 文字内容 - - 油管 - 名称 diff --git a/src/Lumina.Presentation.Web/Core/Views/Library/WrittenContentLibrary/BookLibrary/Books/Read.cshtml b/src/Lumina.Presentation.Web/Core/Views/Library/WrittenContentLibrary/BookLibrary/Books/Read.cshtml index d65a3cad..abbee563 100644 --- a/src/Lumina.Presentation.Web/Core/Views/Library/WrittenContentLibrary/BookLibrary/Books/Read.cshtml +++ b/src/Lumina.Presentation.Web/Core/Views/Library/WrittenContentLibrary/BookLibrary/Books/Read.cshtml @@ -35,7 +35,7 @@
@section Scripts { - +