Adds playback preferences and auto-persisted playback state to user settings

This commit is contained in:
BinaryAlley committed 2026-10-15 21:09:38 +03:00
1 parent aab36dcd29
commit dd76309ded
81 files changed
+6102 -173

No files matched your search

@@ -0,0 +1,53 @@
#region ========================================================================= USING =====================================================================================
using FastEndpoints;
using Lumina.Presentation.Web.Common.Api;
using Lumina.Presentation.Web.Common.DTO.UsersManagement;
using Lumina.Presentation.Web.Common.Routes;
using Lumina.Presentation.Web.Core.Endpoints.Common;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using System.Threading;
using System.Threading.Tasks;
#endregion
namespace Lumina.Presentation.Web.Core.Endpoints.Tools.Settings.GetPlaybackState;
/// <summary>
/// API endpoint for the <c>/{culture}/tools/settings/api-get-playback-state</c> route.
/// </summary>
public class GetPlaybackStateEndpoint : BaseEndpoint<EmptyRequest, IResult>
{
private readonly IApiHttpClient _apiHttpClient;
/// <summary>
/// Initializes a new instance of the <see cref="GetPlaybackStateEndpoint"/> class.
/// </summary>
/// <param name="apiHttpClient">Injected service for interactions with the API.</param>
public GetPlaybackStateEndpoint(IApiHttpClient apiHttpClient)
{
_apiHttpClient = apiHttpClient;
}
/// <summary>
/// Configures the endpoint.
/// </summary>
public override void Configure()
{
base.Configure();
Verbs(Http.GET);
Routes(WebRoutes.Settings.GET_PLAYBACK_STATE);
DontAutoTag();
Options(options => options.WithTags("Settings"));
}
/// <summary>
/// Retrieves the playback state the player reported for the current user automatically.
/// </summary>
/// <param name="request">The request object.</param>
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
public override async Task<IResult> ExecuteAsync(EmptyRequest request, CancellationToken cancellationToken)
{
PlaybackStateDto response = await _apiHttpClient.GetAsync<PlaybackStateDto>(ApiRoutes.Users.GET_PLAYBACK_STATE, cancellationToken).ConfigureAwait(false);
return JsonSuccess(response);
}
}
@@ -0,0 +1,26 @@
#region ========================================================================= USING =====================================================================================
using FastEndpoints;
using Lumina.Presentation.Web.Common.DTO.Common;
using Lumina.Presentation.Web.Common.DTO.UsersManagement;
using System.Diagnostics.CodeAnalysis;
#endregion
namespace Lumina.Presentation.Web.Core.Endpoints.Tools.Settings.GetPlaybackState;
/// <summary>
/// Class used for providing a textual description for the <see cref="GetPlaybackStateEndpoint"/> endpoint, for OpenAPI.
/// </summary>
[ExcludeFromCodeCoverage]
public class GetPlaybackStateEndpointSummary : Summary<GetPlaybackStateEndpoint, EmptyRequest>
{
/// <summary>
/// Initializes a new instance of the <see cref="GetPlaybackStateEndpointSummary"/> class.
/// </summary>
public GetPlaybackStateEndpointSummary()
{
Summary = "Retrieves the playback state the player reported for the current user.";
Description = "Retrieves the last volume and mute state the player reported for the current user. These values are not part of the settings the user edits.";
Response(200, "The playback state of the current user is returned.", example: new SuccessResponse<PlaybackStateDto>(true, default));
}
}
@@ -0,0 +1,54 @@
#region ========================================================================= USING =====================================================================================
using FastEndpoints;
using Lumina.Presentation.Web.Common.Api;
using Lumina.Presentation.Web.Common.DTO.UsersManagement;
using Lumina.Presentation.Web.Common.Routes;
using Lumina.Presentation.Web.Core.Endpoints.Common;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using System.Threading;
using System.Threading.Tasks;
#endregion
namespace Lumina.Presentation.Web.Core.Endpoints.Tools.Settings.UpdatePlaybackState;
/// <summary>
/// API endpoint for the <c>/{culture}/tools/settings/api-update-playback-state</c> route.
/// </summary>
public class UpdatePlaybackStateEndpoint : BaseEndpoint<PlaybackStateDto, IResult>
{
private readonly IApiHttpClient _apiHttpClient;
/// <summary>
/// Initializes a new instance of the <see cref="UpdatePlaybackStateEndpoint"/> class.
/// </summary>
/// <param name="apiHttpClient">Injected service for interactions with the API.</param>
public UpdatePlaybackStateEndpoint(IApiHttpClient apiHttpClient)
{
_apiHttpClient = apiHttpClient;
}
/// <summary>
/// Configures the endpoint.
/// </summary>
public override void Configure()
{
base.Configure();
Verbs(Http.POST);
Routes(WebRoutes.Settings.UPDATE_PLAYBACK_STATE);
DontAutoTag();
Options(options => options.WithTags("Settings"));
EnableAntiforgery();
}
/// <summary>
/// Updates the playback state the player reported for the current user automatically.
/// </summary>
/// <param name="request">The request containing the latest playback state of the current user.</param>
/// <param name="cancellationToken">Cancellation token that can be used to stop the execution.</param>
public override async Task<IResult> ExecuteAsync(PlaybackStateDto request, CancellationToken cancellationToken)
{
await _apiHttpClient.PutAsync<Web.Common.Requests.Common.EmptyRequest, PlaybackStateDto>(ApiRoutes.Users.UPDATE_PLAYBACK_STATE, request, cancellationToken).ConfigureAwait(false);
return JsonSuccess(new { isUpdated = true });
}
}
@@ -0,0 +1,30 @@
#region ========================================================================= USING =====================================================================================
using FastEndpoints;
using Lumina.Presentation.Web.Common.DTO.UsersManagement;
using System.Diagnostics.CodeAnalysis;
#endregion
namespace Lumina.Presentation.Web.Core.Endpoints.Tools.Settings.UpdatePlaybackState;
/// <summary>
/// Class used for providing a textual description for the <see cref="UpdatePlaybackStateEndpoint"/> endpoint, for OpenAPI.
/// </summary>
[ExcludeFromCodeCoverage]
public class UpdatePlaybackStateEndpointSummary : Summary<UpdatePlaybackStateEndpoint, PlaybackStateDto>
{
/// <summary>
/// Initializes a new instance of the <see cref="UpdatePlaybackStateEndpointSummary"/> class.
/// </summary>
public UpdatePlaybackStateEndpointSummary()
{
Summary = "Updates the playback state the player reported for the current user.";
Description = "Updates the last volume and mute state the player reported for the current user. This is written automatically by the player and is not part of the settings the user edits.";
RequestParam(r => r.Volume, "The last volume the player reported, as a value between 0 and 1. Required.");
RequestParam(r => r.IsMuted, "The last mute state the player reported. Required.");
ExampleRequest = new PlaybackStateDto { Volume = 1.0, IsMuted = false };
Response(200, "The playback state of the current user is updated.", example: new { success = true, data = new { isUpdated = true } });
}
}
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>نوع الجدول غير صالح!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>وضع ReplayGain غير صالح!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>جودة البث غير صالحة!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>لا يمكن أن تكون حالة الكتم فارغة!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون مستوى الصوت فارغًا!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>يجب أن يكون مستوى الصوت بين 0 و 1!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون إعداد متابعة التنزيل أثناء الإيقاف المؤقت فارغًا!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون إعداد التشغيل التلقائي فارغًا!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون إعداد التشغيل دون فواصل فارغًا!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>لا يمكن أن يكون وضع ReplayGain فارغًا!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>لا يمكن أن تكون جودة البث فارغة!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>Der Zeitplantyp ist ungültig!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>Ungültiger ReplayGain-Modus!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>Ungültige Streaming-Qualität!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>Der Stummschaltungsstatus darf nicht null sein!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>Die Lautstärke darf nicht null sein!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Die Lautstärke muss zwischen 0 und 1 liegen!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>Die Einstellung zum Weiterherunterladen beim Pausieren darf nicht null sein!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>Die Einstellung für die automatische Wiedergabe darf nicht null sein!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>Die Einstellung für die lückenlose Wiedergabe darf nicht null sein!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>Der ReplayGain-Modus darf nicht null sein!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>Die Streaming-Qualität darf nicht null sein!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>The schedule type is invalid!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>Invalid ReplayGain mode!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>Invalid streaming quality!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>The mute state cannot be null!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>The volume cannot be null!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>The volume must be between 0 and 1!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>The keep-downloading-while-paused preference cannot be null!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>The autoplay preference cannot be null!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>The gapless playback preference cannot be null!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>The ReplayGain mode cannot be null!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>The streaming quality cannot be null!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>El tipo de programación no es válido!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>¡Modo ReplayGain no válido!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>¡Calidad de transmisión no válida!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>¡El estado de silencio no puede ser nulo!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>¡El volumen no puede ser nulo!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>¡El volumen debe estar entre 0 y 1!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>¡La preferencia de seguir descargando en pausa no puede ser nula!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>¡La preferencia de reproducción automática no puede ser nula!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>¡La preferencia de reproducción sin pausas no puede ser nula!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>¡El modo ReplayGain no puede ser nulo!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>¡La calidad de transmisión no puede ser nula!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>Le type de planification n'est pas valide !</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>Mode ReplayGain non valide !</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>Qualité de diffusion non valide !</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>L'état de sourdine ne peut pas être nul !</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>Le volume ne peut pas être nul !</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Le volume doit être compris entre 0 et 1 !</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>La préférence de téléchargement en pause ne peut pas être nulle !</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>La préférence de lecture automatique ne peut pas être nulle !</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>La préférence de lecture sans interruption ne peut pas être nulle !</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>Le mode ReplayGain ne peut pas être nul !</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>La qualité de diffusion ne peut pas être nulle !</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>Il tipo di pianificazione non è valido!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>Modalità ReplayGain non valida!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>Qualità dello streaming non valida!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>Lo stato di silenziamento non può essere nullo!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>Il volume non può essere nullo!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Il volume deve essere compreso tra 0 e 1!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>La preferenza di continuare il download in pausa non può essere nulla!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>La preferenza di riproduzione automatica non può essere nulla!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>La preferenza di riproduzione senza interruzioni non può essere nulla!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>La modalità ReplayGain non può essere nulla!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>La qualità dello streaming non può essere nulla!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>スケジュールタイプが無効です!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>ReplayGain モードが無効です。</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>ストリーミング品質が無効です。</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>ミュート状態は null にできません。</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>音量は null にできません。</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>音量は 0 から 1 の間でなければなりません。</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>一時停止中のダウンロード継続の設定は null にできません。</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>自動再生の設定は null にできません。</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>ギャップレス再生の設定は null にできません。</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>ReplayGain モードは null にできません。</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>ストリーミング品質は null にできません。</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>The schedule type is invalid!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>Invalid ReplayGain mode!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>Invalid streaming quality!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>The mute state cannot be null!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>The volume cannot be null!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>The volume must be between 0 and 1!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>The keep-downloading-while-paused preference cannot be null!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>The autoplay preference cannot be null!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>The gapless playback preference cannot be null!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>The ReplayGain mode cannot be null!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>The streaming quality cannot be null!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>Tipul de programare este invalid!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>Mod ReplayGain invalid!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>Calitate de streaming invalidă!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>Starea de mut nu poate fi nulă!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>Volumul nu poate fi nul!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Volumul trebuie să fie între 0 și 1!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>Preferința de a continua descărcarea în pauză nu poate fi nulă!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>Preferința de redare automată nu poate fi nulă!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>Preferința de redare fără întreruperi nu poate fi nulă!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>Modul ReplayGain nu poate fi nul!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>Calitatea fluxului nu poate fi nulă!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>Тип розкладу недійсний!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>Неприпустимий режим ReplayGain!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>Неприпустима якість потокового передавання!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>Стан без звуку не може бути порожнім!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>Гучність не може бути порожньою!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>Гучність має бути між 0 і 1!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>Налаштування продовження завантаження на паузі не може бути порожнім!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>Налаштування автовідтворення не може бути порожнім!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>Налаштування відтворення без пауз не може бути порожнім!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>Режим ReplayGain не може бути порожнім!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>Якість потокового передавання не може бути порожньою!</value>
</data>
</root>
@@ -813,4 +813,34 @@
<data name="InvalidScheduleType" xml:space="preserve">
<value>调度类型无效!</value>
</data>
<data name="InvalidReplayGainMode" xml:space="preserve">
<value>无效的 ReplayGain 模式!</value>
</data>
<data name="InvalidStreamingQuality" xml:space="preserve">
<value>无效的流媒体质量!</value>
</data>
<data name="IsMutedCannotBeNull" xml:space="preserve">
<value>静音状态不能为空!</value>
</data>
<data name="VolumeCannotBeNull" xml:space="preserve">
<value>音量不能为空!</value>
</data>
<data name="VolumeMustBeBetweenZeroAndOne" xml:space="preserve">
<value>音量必须介于 0 和 1 之间!</value>
</data>
<data name="ShouldKeepDownloadingWhilePausedCannotBeNull" xml:space="preserve">
<value>暂停时继续下载的偏好设置不能为空!</value>
</data>
<data name="ShouldAutoplayCannotBeNull" xml:space="preserve">
<value>自动播放的偏好设置不能为空!</value>
</data>
<data name="IsGaplessPlaybackEnabledCannotBeNull" xml:space="preserve">
<value>无缝播放的偏好设置不能为空!</value>
</data>
<data name="ReplayGainModeCannotBeNull" xml:space="preserve">
<value>ReplayGain 模式不能为空!</value>
</data>
<data name="StreamingQualityCannotBeNull" xml:space="preserve">
<value>流媒体质量不能为空!</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>عند التفعيل، تُستكمل الأعمال الفنية لعناصر المكتبة التي لا يوفرها مزود الأعمال الفنية الأول من المزودين التاليين.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>التشغيل</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>متابعة التنزيل أثناء الإيقاف المؤقت</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>ما إذا كان المشغل يواصل تنزيل المقطع أثناء إيقاف التشغيل مؤقتًا، حتى الملف كاملاً، بحيث لا ينتظر الاستئناف البيانات أبدًا.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>التشغيل التلقائي</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>ما إذا كان التشغيل يستمر تلقائيًا بالمقاطع التالية عند انتهاء الألبوم أو الفنان.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>تشغيل دون فواصل</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>ما إذا كانت المقاطع المتتالية تُشغَّل دون صمت بينها.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>كيفية تطبيق تسوية ReplayGain على المقاطع التي تشغّلها.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>إيقاف</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>لكل مقطع</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>لكل ألبوم</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>جودة البث</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>حد الجودة الذي يُطبَّق عندما يضطر الخادم إلى تسوية مقطع للتشغيل. لا يتغير التشغيل المباشر أبدًا.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>تلقائي</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>منخفضة (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>متوسطة (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>عالية (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>Wenn aktiviert, wird das Artwork von Bibliothekselementen, das der erste Artwork-Anbieter nicht liefert, aus den nachfolgenden Anbietern ergänzt.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Wiedergabe</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Beim Pausieren weiter herunterladen</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Ob der Player den Titel auch bei pausierter Wiedergabe weiter herunterlädt, bis zur gesamten Datei, damit die Fortsetzung nie auf Daten warten muss.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Automatische Wiedergabe</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Ob die Wiedergabe am Ende eines Albums oder Interpreten automatisch mit den folgenden Titeln fortgesetzt wird.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Lückenlose Wiedergabe</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Ob aufeinanderfolgende Titel ohne stille Lücke zwischen ihnen abgespielt werden.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>Wie die ReplayGain-Normalisierung auf die abgespielten Titel angewendet wird.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Aus</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Pro Titel</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Pro Album</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Streaming-Qualität</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>Die Qualitätsobergrenze, die angewendet wird, wenn der Server einen Titel für die Wiedergabe normalisieren muss. Die direkte Wiedergabe wird nie verändert.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Automatisch</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Niedrig (96 kbit/s)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Mittel (160 kbit/s)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Hoch (320 kbit/s)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>When enabled, the artwork of library items that the first artwork provider does not supply is filled in from the following providers.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Playback</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Keep downloading while paused</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Whether the player keeps downloading the track while playback is paused, up to the entire file, so resuming never waits for data.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Autoplay</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Whether playback continues automatically with the following tracks when an album or artist finishes.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Gapless playback</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Whether consecutive tracks play without a silent gap between them.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>How ReplayGain normalization is applied to the tracks you play.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Off</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Per track</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Per album</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Streaming quality</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>The quality cap applied when the server has to normalize a track for playback. Direct playback is never changed.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Automatic</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Low (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Medium (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>High (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>Cuando está habilitado, las ilustraciones de los elementos de la biblioteca que el primer proveedor de ilustraciones no proporciona se completan desde los proveedores siguientes.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Reproducción</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Seguir descargando en pausa</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Indica si el reproductor sigue descargando la pista mientras la reproducción está en pausa, hasta el archivo completo, para que reanudar nunca espere datos.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Reproducción automática</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Indica si la reproducción continúa automáticamente con las pistas siguientes al terminar un álbum o un artista.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Reproducción sin pausas</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Indica si las pistas consecutivas se reproducen sin un silencio entre ellas.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>Cómo se aplica la normalización ReplayGain a las pistas que reproduces.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Desactivado</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Por pista</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Por álbum</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Calidad de transmisión</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>El límite de calidad que se aplica cuando el servidor tiene que normalizar una pista para reproducirla. La reproducción directa nunca se modifica.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Automática</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Baja (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Media (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Alta (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>Lorsque cette option est activée, les illustrations des éléments de la bibliothèque que le premier fournisseur d'illustrations ne fournit pas sont complétées par les fournisseurs suivants.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Lecture</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Continuer le téléchargement en pause</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Indique si le lecteur continue de télécharger le morceau lorsque la lecture est en pause, jusqu'au fichier entier, afin que la reprise n'attende jamais les données.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Lecture automatique</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Indique si la lecture se poursuit automatiquement avec les morceaux suivants à la fin d'un album ou d'un artiste.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Lecture sans interruption</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Indique si les morceaux consécutifs sont lus sans silence entre eux.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>La manière dont la normalisation ReplayGain est appliquée aux morceaux que vous écoutez.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Désactivé</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Par morceau</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Par album</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Qualité de diffusion</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>Le plafond de qualité appliqué lorsque le serveur doit normaliser un morceau pour la lecture. La lecture directe n'est jamais modifiée.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Automatique</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Basse (96 kbit/s)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Moyenne (160 kbit/s)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Élevée (320 kbit/s)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>Se abilitato, le illustrazioni degli elementi della libreria che il primo provider di illustrazioni non fornisce vengono integrate dai provider successivi.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Riproduzione</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Continua il download in pausa</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Indica se il lettore continua a scaricare il brano mentre la riproduzione è in pausa, fino all'intero file, così che la ripresa non debba mai attendere i dati.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Riproduzione automatica</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Indica se la riproduzione continua automaticamente con i brani successivi al termine di un album o di un artista.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Riproduzione senza interruzioni</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Indica se i brani consecutivi vengono riprodotti senza un silenzio tra loro.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>Come la normalizzazione ReplayGain viene applicata ai brani che riproduci.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Disattivato</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Per brano</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Per album</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Qualità dello streaming</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>Il limite di qualità applicato quando il server deve normalizzare un brano per la riproduzione. La riproduzione diretta non viene mai modificata.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Automatica</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Bassa (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Media (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Alta (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>有効にすると、最初のアートワークプロバイダーが提供しないライブラリ項目のアートワークが、後続のプロバイダーから補完されます。</value>
</data>
<data name="Playback" xml:space="preserve">
<value>再生</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>一時停止中もダウンロードを続ける</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>再生を一時停止している間もプレーヤーがトラックのダウンロードをファイル全体まで続けるかどうか。再開時にデータを待たずに済みます。</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>自動再生</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>アルバムまたはアーティストの再生が終わったときに、続くトラックを自動的に再生するかどうか。</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>ギャップレス再生</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>連続するトラックを間に無音を挟まずに再生するかどうか。</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>再生するトラックに ReplayGain の正規化をどのように適用するか。</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>オフ</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>トラックごと</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>アルバムごと</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>ストリーミング品質</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>サーバーが再生のためにトラックを正規化する必要がある場合に適用される品質の上限。直接再生は決して変更されません。</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>自動</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>低 (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>中 (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>高 (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>When enabled, the artwork of library items that the first artwork provider does not supply is filled in from the following providers.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Playback</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Keep downloading while paused</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Whether the player keeps downloading the track while playback is paused, up to the entire file, so resuming never waits for data.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Autoplay</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Whether playback continues automatically with the following tracks when an album or artist finishes.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Gapless playback</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Whether consecutive tracks play without a silent gap between them.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>How ReplayGain normalization is applied to the tracks you play.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Off</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Per track</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Per album</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Streaming quality</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>The quality cap applied when the server has to normalize a track for playback. Direct playback is never changed.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Automatic</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Low (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Medium (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>High (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>Când este activat, ilustrațiile elementelor din bibliotecă pe care primul furnizor de ilustrații nu le oferă sunt completate de la furnizorii următori.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Redare</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Continuă descărcarea în pauză</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Dacă playerul continuă să descarce piesa în timp ce redarea este în pauză, până la întregul fișier, astfel încât reluarea să nu aștepte niciodată datele.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Redare automată</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Dacă redarea continuă automat cu piesele următoare la sfârșitul unui album sau al unui artist.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Redare fără întreruperi</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Dacă piesele consecutive sunt redate fără o pauză de sunet între ele.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>Modul în care normalizarea ReplayGain este aplicată pieselor pe care le redai.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Dezactivat</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Per piesă</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Per album</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Calitatea fluxului</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>Limita de calitate aplicată atunci când serverul trebuie să normalizeze o piesă pentru redare. Redarea directă nu este niciodată modificată.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Automată</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Redusă (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Medie (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Ridicată (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>Коли ввімкнено, ілюстрації елементів бібліотеки, які не надає перший постачальник ілюстрацій, доповнюються від наступних постачальників.</value>
</data>
<data name="Playback" xml:space="preserve">
<value>Відтворення</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Продовжувати завантаження на паузі</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>Чи продовжує програвач завантажувати трек, поки відтворення призупинено, аж до всього файлу, щоб відновлення ніколи не чекало на дані.</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>Автовідтворення</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>Чи продовжується відтворення автоматично наступними треками після завершення альбому або виконавця.</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>Відтворення без пауз</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>Чи відтворюються послідовні треки без тихої паузи між ними.</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>Як нормалізація ReplayGain застосовується до треків, які ви відтворюєте.</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>Вимкнено</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>Для кожного треку</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>Для кожного альбому</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>Якість потокового передавання</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>Обмеження якості, що застосовується, коли сервер має нормалізувати трек для відтворення. Пряме відтворення ніколи не змінюється.</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>Автоматично</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>Низька (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>Середня (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>Висока (320 kbps)</value>
</data>
</root>
@@ -69,4 +69,58 @@
<data name="DescriptionShouldAggregateArtworkWhenMissing" xml:space="preserve">
<value>启用后,首个图片提供程序未提供的媒体库项目图片将由后续提供程序补齐。</value>
</data>
<data name="Playback" xml:space="preserve">
<value>播放</value>
</data>
<data name="ShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>暂停时继续下载</value>
</data>
<data name="DescriptionShouldKeepDownloadingWhilePaused" xml:space="preserve">
<value>播放暂停时播放器是否继续下载曲目直到整个文件,这样恢复播放时无需等待数据。</value>
</data>
<data name="ShouldAutoplay" xml:space="preserve">
<value>自动播放</value>
</data>
<data name="DescriptionShouldAutoplay" xml:space="preserve">
<value>专辑或艺术家播放结束后是否自动继续播放后续曲目。</value>
</data>
<data name="IsGaplessPlaybackEnabled" xml:space="preserve">
<value>无缝播放</value>
</data>
<data name="DescriptionIsGaplessPlaybackEnabled" xml:space="preserve">
<value>连续曲目之间是否无静默间隔地播放。</value>
</data>
<data name="ReplayGainMode" xml:space="preserve">
<value>ReplayGain</value>
</data>
<data name="DescriptionReplayGainMode" xml:space="preserve">
<value>如何对您播放的曲目应用 ReplayGain 音量标准化。</value>
</data>
<data name="ReplayGainModeOff" xml:space="preserve">
<value>关闭</value>
</data>
<data name="ReplayGainModeTrack" xml:space="preserve">
<value>按曲目</value>
</data>
<data name="ReplayGainModeAlbum" xml:space="preserve">
<value>按专辑</value>
</data>
<data name="StreamingQuality" xml:space="preserve">
<value>流媒体质量</value>
</data>
<data name="DescriptionStreamingQuality" xml:space="preserve">
<value>当服务器需要为播放对曲目进行标准化时应用的质量上限。直接播放永远不会被更改。</value>
</data>
<data name="StreamingQualityAuto" xml:space="preserve">
<value>自动</value>
</data>
<data name="StreamingQualityLow" xml:space="preserve">
<value>低 (96 kbps)</value>
</data>
<data name="StreamingQualityMedium" xml:space="preserve">
<value>中 (160 kbps)</value>
</data>
<data name="StreamingQualityHigh" xml:space="preserve">
<value>高 (320 kbps)</value>
</data>
</root>
@@ -130,6 +130,78 @@
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionShouldAggregateArtworkWhenMissing"]</small>
</div>
<!-- Playback. -->
<div class="form-row">
<h4 class="text-light-two w-100">@_localizer["Playback"]</h4>
</div>
<!-- Keep downloading while paused. -->
<div class="form-row">
<div class="form-label">
<label for="ShouldKeepDownloadingWhilePaused">@_localizer["ShouldKeepDownloadingWhilePaused"]</label>:
</div>
<div class="form-field">
<label class="enlightenment-checkbox-label">
<input type="checkbox" id="ShouldKeepDownloadingWhilePaused" class="enlightenment-checkbox-hidden" />
<span class="enlightenment-checkbox"></span>
</label>
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionShouldKeepDownloadingWhilePaused"]</small>
</div>
<!-- Autoplay. -->
<div class="form-row">
<div class="form-label">
<label for="ShouldAutoplay">@_localizer["ShouldAutoplay"]</label>:
</div>
<div class="form-field">
<label class="enlightenment-checkbox-label">
<input type="checkbox" id="ShouldAutoplay" class="enlightenment-checkbox-hidden" />
<span class="enlightenment-checkbox"></span>
</label>
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionShouldAutoplay"]</small>
</div>
<!-- Gapless playback. -->
<div class="form-row">
<div class="form-label">
<label for="IsGaplessPlaybackEnabled">@_localizer["IsGaplessPlaybackEnabled"]</label>:
</div>
<div class="form-field">
<label class="enlightenment-checkbox-label">
<input type="checkbox" id="IsGaplessPlaybackEnabled" class="enlightenment-checkbox-hidden" />
<span class="enlightenment-checkbox"></span>
</label>
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionIsGaplessPlaybackEnabled"]</small>
</div>
<!-- ReplayGain mode. -->
<div class="form-row">
<div class="form-label">
<label asp-for="ReplayGainMode">@_localizer["ReplayGainMode"]</label>:
</div>
<div class="form-field">
<select asp-for="ReplayGainMode" class="enlightenment-input">
<option value="Off">@_localizer["ReplayGainModeOff"]</option>
<option value="Track">@_localizer["ReplayGainModeTrack"]</option>
<option value="Album">@_localizer["ReplayGainModeAlbum"]</option>
</select>
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionReplayGainMode"]</small>
</div>
<!-- Streaming quality. -->
<div class="form-row">
<div class="form-label">
<label asp-for="StreamingQuality">@_localizer["StreamingQuality"]</label>:
</div>
<div class="form-field">
<select asp-for="StreamingQuality" class="enlightenment-input">
<option value="Auto">@_localizer["StreamingQualityAuto"]</option>
<option value="Low">@_localizer["StreamingQualityLow"]</option>
<option value="Medium">@_localizer["StreamingQualityMedium"]</option>
<option value="High">@_localizer["StreamingQualityHigh"]</option>
</select>
</div>
<small class="form-label text-disabled form-description">@_localizer["DescriptionStreamingQuality"]</small>
</div>
<div class="form-row" style="justify-content: center;">
<button type="submit" class="confirm-button h-22px">@_localizer["Save"]</button>
</div>
@@ -154,6 +226,11 @@
const checkboxShouldPreserveBookStyles = document.getElementById('ShouldPreserveBookStyles');
const checkboxShouldAggregateMetadataWhenMissing = document.getElementById('ShouldAggregateMetadataWhenMissing');
const checkboxShouldAggregateArtworkWhenMissing = document.getElementById('ShouldAggregateArtworkWhenMissing');
const checkboxShouldKeepDownloadingWhilePaused = document.getElementById('ShouldKeepDownloadingWhilePaused');
const checkboxShouldAutoplay = document.getElementById('ShouldAutoplay');
const checkboxIsGaplessPlaybackEnabled = document.getElementById('IsGaplessPlaybackEnabled');
const selectReplayGainMode = document.getElementById('ReplayGainMode');
const selectStreamingQuality = document.getElementById('StreamingQuality');
// Toggle the enabled state of the items per page input based on the pagination checkbox.
function updateItemsPerPageEnabledState() {
@@ -172,6 +249,11 @@
checkboxShouldPreserveBookStyles.checked = data.shouldPreserveBookStyles === true;
checkboxShouldAggregateMetadataWhenMissing.checked = data.shouldAggregateMetadataWhenMissing === true;
checkboxShouldAggregateArtworkWhenMissing.checked = data.shouldAggregateArtworkWhenMissing === true;
checkboxShouldKeepDownloadingWhilePaused.checked = data.shouldKeepDownloadingWhilePaused === true;
checkboxShouldAutoplay.checked = data.shouldAutoplay === true;
checkboxIsGaplessPlaybackEnabled.checked = data.isGaplessPlaybackEnabled === true;
selectReplayGainMode.value = data.replayGainMode ?? 'Off';
selectStreamingQuality.value = data.streamingQuality ?? 'Auto';
updateItemsPerPageEnabledState();
}
}
@@ -186,7 +268,12 @@
ShouldAggregateMetadataWhenMissing: checkboxShouldAggregateMetadataWhenMissing.checked,
ShouldAggregateArtworkWhenMissing: checkboxShouldAggregateArtworkWhenMissing.checked,
ShouldRenderPdfAsImages: checkboxShouldRenderPdfAsImages.checked,
ShouldPreserveBookStyles: checkboxShouldPreserveBookStyles.checked
ShouldPreserveBookStyles: checkboxShouldPreserveBookStyles.checked,
ShouldKeepDownloadingWhilePaused: checkboxShouldKeepDownloadingWhilePaused.checked,
ShouldAutoplay: checkboxShouldAutoplay.checked,
IsGaplessPlaybackEnabled: checkboxIsGaplessPlaybackEnabled.checked,
ReplayGainMode: selectReplayGainMode.value,
StreamingQuality: selectStreamingQuality.value
};
const data = await callApiPostAsync('@_urlService.GetAbsoluteUrl(WebRoutes.Settings.UPDATE_USER_SETTINGS)', formData);
if (data && data.isUpdated === true)