Deluan
3b1bd2c265
feat(transcoding): add sourceUpdatedAt to decision and validate transcode parameters
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
0c55c7ce89
fix: address review findings for OpenSubsonic transcoding PR
...
Fix multiple issues identified during code review of the transcoding
extension: add missing return after error in shared stream handler
preventing nil pointer panic, replace dead r.Body nil check with
MaxBytesReader size limit, distinguish not-found from other DB errors,
fix bpsToKbps integer truncation with rounding, add "pcm" to
isLosslessFormat for consistency with model.IsLossless(), add
sampleRate/bitDepth/channels to streaming log, fix outdated test
comment, and add tests for conversion functions and GetTranscodeStream
parameter passing.
2026-02-09 16:46:46 -05:00
Deluan
5107492059
refactor(transcoding): streamline transcoding logic by consolidating stream parameter handling and enhancing alias mapping
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
01b1fc90a9
refactor(transcoding): enhance AAC command handling and support for audio channels in streaming
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
4a50142dd6
refactor(transcoding): add bit depth support for audio transcoding and enhance related logic
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
e843b918b2
refactor(transcoding): enhance transcoding options with sample rate support and improve command handling
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
7ca0eade80
refactor(transcoding): rename TranscodeDecision to Decider and update related methods for clarity
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
2e02e92cc4
refactor(transcoding): enhance logging for transcode decision process and client info conversion
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
216d0c6c6c
refactor(transcoding): rename token methods to CreateTranscodeParams and ParseTranscodeParams for clarity
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
c26cc0f5b9
refactor(transcoding): replace strings.EqualFold with direct comparison for protocol and limitation checks
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
2e00479a8b
feat(transcoding): add enums for protocol, comparison operators, limitations, and codec profiles in transcode decision logic
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
07e2f699da
fix(transcoding): enforce POST method for GetTranscodeDecision and handle non-POST requests
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:46 -05:00
Deluan
0658e1f824
fix(transcoding): update bitrate handling to use kilobits per second (kbps) across transcode decision logic
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:45 -05:00
Deluan
a88ab9f16c
fix(subsonic): update codec limitation structure and decision logic for improved clarity
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:45 -05:00
Deluan
b5621b9784
feat(subsonic): implement transcode decision logic and codec handling for media files
...
Signed-off-by: Deluan <deluan@navidrome.org >
2026-02-09 16:46:45 -05:00