mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 20:01:10 +00:00
Adds a segmented spectrum VU meter to the condensed player bar, fed by an analyser tapped after ReplayGain and before the volume, so the meter does not depend on the output volume. Adds per-user VU meter settings (orientation, segment count and gap, thresholds, peak marker, hold and falloff rates) across the domain, persistence, API contracts, validation and the settings page, with a migration and localized resources. Sizes the meter cells in whole pixels and keeps the frame clock steady on browsers that round timers. Updates the theming guide, API documentation, request samples and the user manual.
28 lines
827 B
HTTP
28 lines
827 B
HTTP
PUT {{host}}/api/v1/users/me/settings
|
|
Authorization: Bearer {{ACCESS_TOKEN}}
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"isPaginationEnabled": true,
|
|
"itemsPerPage": 50,
|
|
"shouldIgnoreThePrefixForAlphaPicker": true,
|
|
"isThemeCachingEnabled": true,
|
|
"shouldAggregateMetadataWhenMissing": true,
|
|
"shouldRenderPdfAsImages": false,
|
|
"shouldPreserveBookStyles": true,
|
|
"shouldKeepDownloadingWhilePaused": true,
|
|
"shouldAutoplay": true,
|
|
"isGaplessPlaybackEnabled": true,
|
|
"replayGainMode": "Off",
|
|
"streamingQuality": "Auto",
|
|
"vuMeterOrientation": "Vertical",
|
|
"vuMeterSegmentCount": 12,
|
|
"vuMeterSegmentGap": 1,
|
|
"vuMeterMediumThreshold": 0.6,
|
|
"vuMeterHighThreshold": 0.8,
|
|
"vuMeterShowPeak": true,
|
|
"vuMeterPeakHoldDurationInMilliseconds": 650,
|
|
"vuMeterReleasePerSecond": 3,
|
|
"vuMeterPeakReleasePerSecond": 0.65
|
|
}
|