Issue description:
I have playlists with Auto-cache rules, The cache is set to transcode. Once they are cached and I view the cache information for each track, it shows for example, “Details: 128 kbps - 34.2MB”. The bitrate matches what I expect, but the file size is obviously a full size FLAC. Is the size being reported incorrectly, or are the tracks not being transcoded?
Logs:
Log created, adding an album to playlist, waiting for cache completion. Uploaded as Quaraxad, track size
Upload description:
Screenshots:
Additional information:
Tolriq
March 22, 2025, 8:55am
2
The sizes are the correct one, and Symfonium request the transcode in the logs.
Check Navidrome logs, have you properly installed ffmpeg ?
And you are using a very old Navidrome version.
I checked the Navidrome logs, and found that most tracks downloaded look like this:
time="2025-03-22T01:52:52-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1029 originalFormat=flac title=Fighter transcoding=false user=quaraxkad
There’s also one track in the batch I tested like this (debug log wasn’t enabled at this time) :
time="2025-03-22T01:53:05-04:00" level=info msg="Streaming file" artist="April Art" bitRate=128 cached=false format=ogg originalBitRate=1100 originalFormat=flac title=Breakout transcoding=true user=quaraxkad
ffmpeg version N-105793-ga0a2ccd55d-20220228 Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (crosstool-NG 1.24.0.533_681aaef)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --enable-frei0r --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-version=20220228
libavutil 57. 21.100 / 57. 21.100
libavcodec 59. 21.100 / 59. 21.100
libavformat 59. 17.102 / 59. 17.102
libavdevice 59. 5.100 / 59. 5.100
libavfilter 8. 27.100 / 8. 27.100
libswscale 6. 5.100 / 6. 5.100
libswresample 4. 4.100 / 4. 4.100
libpostproc 56. 4.100 / 56. 4.100
Input #0, flac, from 'V:\Music\Sorted\April Art\2021 - Fighter\01 - Breakout.flac':
Metadata:
album : Fighter
Artist : April Art
artistsort : April Art
DATE : 2021
title : Breakout
track : 01
rating : 5
Duration: 00:03:16.30, start: 0.000000, bitrate: 1128 kb/s
Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
Stream #0:1: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 1500x1500, 90k tbr, 90k tbn (attached pic)
Metadata:
comment : Cover (front)
Stream mapping:
Stream #0:0 -> #0:0 (flac (native) -> opus (libopus))
Press [q] to stop, [?] for help
Output #0, opus, to 'pipe:':
Metadata:
album : Fighter
Artist : April Art
artistsort : April Art
DATE : 2021
title : Breakout
track : 01
rating : 5
encoder : Lavf59.17.102
Stream #0:0: Audio: opus, 48000 Hz, stereo, flt, 128 kb/s
Metadata:
encoder : Lavc59.21.100 libopus
album : Fighter
Artist : April Art
artistsort : April Art
DATE : 2021
title : Breakout
TRACKNUMBER : 01
rating : 5
size= 1kB time=00:00:00.00 bitrate=N/A speed= 0x
time="2025-03-22T01:53:06-04:00" level=error msg="Error sending transcoded file" error="write tcp 192.168.1.111:8422->192.168.1.157:36116: wsasend: An existing connection was forcibly closed by the remote host." id=0c686f5d20d3a6d8276d6d64ad548361 requestId=File-Server/LXg5arcuVD-033608
av_interleaved_write_frame(): Invalid argument
Error writing trailer of pipe:: Invalid argument
size= 197kB time=00:00:14.99 bitrate= 107.5kbits/s speed=32.9x
video:0kB audio:224kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Error closing file pipe:: Invalid argument
Conversion failed!
Tracks cached with DSub are always transcoded.
Tolriq
March 22, 2025, 2:45pm
4
This is just a small extract you need to check before why it does that.
From your logs:
2025-03-22 01:35:33.303 Verbose DownloaderService Download (0BB96E8C3C58B5397B24DC5C0CDB3706): http://192.168.1.111:8422/rest/stream.view?id=c1d7dabd98cc15b0982a6b3547d408a1&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/0/0BB96E8C3C58B5397B24DC5C0CDB3706.flac [null]
2025-03-22 01:35:33.331 Verbose DownloaderService Download (7D23D22F5B943AB02EE492E3E4717980): http://192.168.1.111:8422/rest/stream.view?id=a834fc2059d4a116476a8d6a1d1c3dd2&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/7/7D23D22F5B943AB02EE492E3E4717980.flac [null]
2025-03-22 01:35:33.333 Verbose DownloaderService Download (C1BEE113DCFE69167CBF1FFFAD42BB6D): http://192.168.1.111:8422/rest/stream.view?id=fabc673ccff84a83c93b1d37c31aadf6&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/C/C1BEE113DCFE69167CBF1FFFAD42BB6D.flac [null]
2025-03-22 01:35:34.022 Verbose DownloaderService Download (ABCFFF2DC96C04126863E86A80FC8B4D): http://192.168.1.111:8422/rest/stream.view?id=e6cfdbc3b37f2b7870f9f43f3cf959e3&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/A/ABCFFF2DC96C04126863E86A80FC8B4D.flac [null]
2025-03-22 01:35:34.679 Verbose DownloaderService Download (6C8220357ED39A3A96D5F2E4AF88003D): http://192.168.1.111:8422/rest/stream.view?id=30178a1299f8621796eacedabe3acb49&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/6/6C8220357ED39A3A96D5F2E4AF88003D.flac [null]
2025-03-22 01:35:34.828 Verbose DownloaderService Download (631282E2E73353531EED253AA0F3F729): http://192.168.1.111:8422/rest/stream.view?id=e3e28520b7071f6be794adb4799ffead&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/6/631282E2E73353531EED253AA0F3F729.flac [null]
2025-03-22 01:35:34.979 Verbose DownloaderService Download (F953C1FF6AA1DE8AC4D83BBAD4FADF99): http://192.168.1.111:8422/rest/stream.view?id=c79f994085575578ecc60a93dee686f5&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/F/F953C1FF6AA1DE8AC4D83BBAD4FADF99.flac [null]
2025-03-22 01:35:35.481 Verbose DownloaderService Download (8E58D1A8F83EB4889858B53DB9879471): http://192.168.1.111:8422/rest/stream.view?id=4a62a99fa3b8345d25d6b46168cf3bec&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/8/8E58D1A8F83EB4889858B53DB9879471.flac [null]
2025-03-22 01:35:36.028 Verbose DownloaderService Download (0A06F895BABB7AB0B3FDF65926E6056E): http://192.168.1.111:8422/rest/stream.view?id=52fb446bf0b6f55d0e1e2203023047a6&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/0/0A06F895BABB7AB0B3FDF65926E6056E.flac [null]
2025-03-22 01:35:36.186 Verbose DownloaderService Download (0F8B50D3C9BE5E7F083559328A7DF33F): http://192.168.1.111:8422/rest/stream.view?id=2aefffa31e3262228face5e468b4094e&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/0/0F8B50D3C9BE5E7F083559328A7DF33F.flac [null]
2025-03-22 01:35:36.625 Verbose DownloaderService Download (0FACA7DBA36615ED87C5DF8AE0E98BAF): http://192.168.1.111:8422/rest/stream.view?id=90e8760ecf30d1653996144b29e67855&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/0/0FACA7DBA36615ED87C5DF8AE0E98BAF.flac [null]
2025-03-22 01:35:36.985 Verbose DownloaderService Download (82DAFB2779072C1776355C95C058BF72): http://192.168.1.111:8422/rest/stream.view?id=7676149f98dd5f0b7723b78813b918fc&maxBitRate=131&format=opus -> /storage/emulated/0/Android/data/app.symfonik.music.player/files/OfflineMedias/8/82DAFB2779072C1776355C95C058BF72.flac [null]
All the requests have &maxBitRate=131&format=opus
if Navidrome does not respect the parameters there should be something in logs.
@deluan Can this case require more logs enabled or something to identify why there’s no transcoding ?
I tried caching a few more albums with debug enabled and I cant replicate the previous instance where Navidrome tries to transcode but fails. All I get in the Navidrome logs are a single line per track.
time="2025-03-22T10:47:03-04:00" level=info msg="Loading translations" languages="[bg ca cs da de eo es fa fi fr it ja nl pl pt ru sl sv th tr uk zh-Hans zh-Hant]"
time="2025-03-22T10:47:08-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1053 originalFormat=flac title=Rodeo transcoding=false user=quaraxkad
time="2025-03-22T10:47:09-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1102 originalFormat=flac title=Burn transcoding=false user=quaraxkad
time="2025-03-22T10:47:09-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1050 originalFormat=flac title="Who I Never Meant To Be" transcoding=false user=quaraxkad
time="2025-03-22T10:47:10-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1081 originalFormat=flac title="Not Sorry" transcoding=false user=quaraxkad
time="2025-03-22T10:47:10-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1057 originalFormat=flac title="On Your Side" transcoding=false user=quaraxkad
time="2025-03-22T10:47:11-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1078 originalFormat=flac title=Jackhammer transcoding=false user=quaraxkad
time="2025-03-22T10:47:11-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1140 originalFormat=flac title="Let Em Go" transcoding=false user=quaraxkad
time="2025-03-22T10:47:12-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1072 originalFormat=flac title="Head Up High" transcoding=false user=quaraxkad
time="2025-03-22T10:47:12-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1085 originalFormat=flac title="Not Afraid" transcoding=false user=quaraxkad
time="2025-03-22T10:47:13-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=977 originalFormat=flac title="Not Sorry [Acoustic]" transcoding=false user=quaraxkad
time="2025-03-22T10:47:13-04:00" level=info msg="Streaming file" artist="April Art" bitRate=0 cached=false format=raw originalBitRate=1075 originalFormat=flac title="Change Part II" transcoding=false user=quaraxkad
time="2025-03-22T10:50:36-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=929 originalFormat=flac title="Hawk for the Dove" transcoding=false user=quaraxkad
time="2025-03-22T10:50:36-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=921 originalFormat=flac title="Take It Like a Man" transcoding=false user=quaraxkad
time="2025-03-22T10:50:37-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=918 originalFormat=flac title="Empty Cups" transcoding=false user=quaraxkad
time="2025-03-22T10:50:38-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=812 originalFormat=flac title="Don't Be Alarmed" transcoding=false user=quaraxkad
time="2025-03-22T10:50:38-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=856 originalFormat=flac title="Fault Lines" transcoding=false user=quaraxkad
time="2025-03-22T10:50:39-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=996 originalFormat=flac title="Here He Comes" transcoding=false user=quaraxkad
time="2025-03-22T10:50:39-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=928 originalFormat=flac title="Bad Behavior" transcoding=false user=quaraxkad
time="2025-03-22T10:50:40-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=911 originalFormat=flac title="Stupid Love" transcoding=false user=quaraxkad
time="2025-03-22T10:50:41-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=860 originalFormat=flac title="Lonely at Night" transcoding=false user=quaraxkad
time="2025-03-22T10:50:41-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=890 originalFormat=flac title="Everything Has Its Time" transcoding=false user=quaraxkad
time="2025-03-22T10:50:42-04:00" level=info msg="Streaming file" artist="Amanda Shires" bitRate=0 cached=false format=raw originalBitRate=967 originalFormat=flac title="My Own Galaxy" transcoding=false user=quaraxkad
time="2025-03-22T10:55:12-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=1010 originalFormat=flac title="Heart Song" transcoding=false user=quaraxkad
time="2025-03-22T10:55:13-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=976 originalFormat=flac title="Don't Let Me Down" transcoding=false user=quaraxkad
time="2025-03-22T10:55:14-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=903 originalFormat=flac title="Fade Away" transcoding=false user=quaraxkad
time="2025-03-22T10:55:14-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=960 originalFormat=flac title=Hush transcoding=false user=quaraxkad
time="2025-03-22T10:55:15-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=1027 originalFormat=flac title="Story of My Life" transcoding=false user=quaraxkad
time="2025-03-22T10:55:16-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=982 originalFormat=flac title="The Day That Saved Us" transcoding=false user=quaraxkad
time="2025-03-22T10:55:16-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=946 originalFormat=flac title="To Die For" transcoding=false user=quaraxkad
time="2025-03-22T10:55:17-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=976 originalFormat=flac title="Let It Ride" transcoding=false user=quaraxkad
time="2025-03-22T10:55:17-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=966 originalFormat=flac title="Eyes on You" transcoding=false user=quaraxkad
time="2025-03-22T10:55:18-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=970 originalFormat=flac title="My Goodbye" transcoding=false user=quaraxkad
time="2025-03-22T10:55:19-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=1028 originalFormat=flac title=Butterflies transcoding=false user=quaraxkad
time="2025-03-22T10:55:19-04:00" level=info msg="Streaming file" artist="Automatic Loveletter" bitRate=0 cached=false format=raw originalBitRate=974 originalFormat=flac title="Back to Life" transcoding=false user=quaraxkad
Tolriq
March 22, 2025, 2:58pm
6
Then you need to enable verbose debug in Navidrome and see with Deluan.
But again: “And you are using a very old Navidrome version.” So he will probably ask you to update first.
I have updated and enabled debug logging.
time="2025-03-22T11:14:59-04:00" level=debug msg="HTTP: GET http://192.168.1.111:8422/rest/stream.view?id=307af0f7c1c40c024bc2fd8ad2637484&maxBitRate=131&format=opus&u=quaraxkad&t=[REDACTED]&s=[REDACTED]&v=1.13.0&c=Symfonium&f=json" elapsedTime=471.6ms httpStatus=200 remoteAddr="192.168.1.157:36692" requestId=File-Server/hhq6oeL1FE-000024 responseSize=34244065 userAgent="Symfonium/12.1.0 (Linux;Android 13)"
time="2025-03-22T11:15:00-04:00" level=debug msg="API: New request /rest/getSong.view" client=Symfonium requestId=File-Server/hhq6oeL1FE-000025 username=quaraxkad version=1.13.0
time="2025-03-22T11:15:00-04:00" level=debug msg="Found matching player" client=Symfonium id=72e3b561-38ae-435d-a08a-346b15a4f250 requestId=File-Server/hhq6oeL1FE-000025 type=Symfonium/Android username=quaraxkad
time="2025-03-22T11:15:00-04:00" level=debug msg="API: Successful response" endpoint=/rest/getSong.view requestId=File-Server/hhq6oeL1FE-000025 status=OK
time="2025-03-22T11:15:00-04:00" level=debug msg="HTTP: GET http://192.168.1.111:8422/rest/getSong.view?id=e7699e773f30e53b7538a239ba18620c&u=quaraxkad&t=[REDACTED]&s=[REDACTED]&v=1.13.0&c=Symfonium&f=json" elapsedTime=1ms httpStatus=200 remoteAddr="192.168.1.157:36694" requestId=File-Server/hhq6oeL1FE-000025 responseSize=1181 userAgent="Symfonium/12.1.0 (Linux;Android 13)"
time="2025-03-22T11:15:00-04:00" level=debug msg="API: New request /rest/stream.view" client=Symfonium requestId=File-Server/hhq6oeL1FE-000026 username=quaraxkad version=1.13.0
time="2025-03-22T11:15:00-04:00" level=debug msg="Found matching player" client=Symfonium id=72e3b561-38ae-435d-a08a-346b15a4f250 requestId=File-Server/hhq6oeL1FE-000026 type=Symfonium/Android username=quaraxkad
time="2025-03-22T11:15:00-04:00" level=debug msg="Streaming RAW file" id=e7699e773f30e53b7538a239ba18620c originalBitrate=1038 originalFormat=flac path="V:\\Music\\Sorted\\32 Leaves\\2005 - Welcome to the Fall\\06 - Waiting.flac" requestBitrate=131 requestFormat=opus requestId=File-Server/hhq6oeL1FE-000026 requestOffset=0 selectedBitrate=0 selectedFormat=raw
time="2025-03-22T11:15:00-04:00" level=info msg="Streaming file" artist="32 Leaves" bitRate=0 cached=false format=raw originalBitRate=1038 originalFormat=flac requestId=File-Server/hhq6oeL1FE-000026 title=Waiting transcoding=false user=quaraxkad
And the same file cached using DSub
time="2025-03-22T11:24:52-04:00" level=debug msg="API: New request /rest/stream.view" client=DSub requestId=File-Server/hhq6oeL1FE-000122 username=quaraxkad version=1.2.0
time="2025-03-22T11:24:52-04:00" level=debug msg="Found matching player" client=DSub id=fffae655-b1e0-4c2d-ba3f-385ddbfa0075 requestId=File-Server/hhq6oeL1FE-000122 type=DSub username=quaraxkad
time="2025-03-22T11:24:52-04:00" level=debug msg="Cache not initialized yet. Reading data directly from reader" cache=Transcoding requestId=File-Server/hhq6oeL1FE-000122
time="2025-03-22T11:24:52-04:00" level=debug msg="Streaming TRANSCODED file" cached=false id=e7699e773f30e53b7538a239ba18620c originalBitrate=1038 originalFormat=flac path="V:\\Music\\Sorted\\32 Leaves\\2005 - Welcome to the Fall\\06 - Waiting.flac" requestBitrate=128 requestFormat= requestId=File-Server/hhq6oeL1FE-000122 requestOffset=0 seekable=false selectedBitrate=128 selectedFormat=ogg
time="2025-03-22T11:24:52-04:00" level=info msg="Streaming file" artist="32 Leaves" bitRate=128 cached=false format=ogg originalBitRate=1038 originalFormat=flac requestId=File-Server/hhq6oeL1FE-000122 title=Waiting transcoding=true user=quaraxkad
time="2025-03-22T11:24:54-04:00" level=debug msg="HTTP: GET http://104.10.134.178:8422/rest/stream.view?u=quaraxkad&s=[REDACTED]&t=[REDACTED]&v=1.2.0&c=DSub&id=e7699e773f30e53b7538a239ba18620c&maxBitRate=128" elapsedTime=2.38s httpStatus=200 remoteAddr="192.168.1.254:8422" requestId=File-Server/hhq6oeL1FE-000122 responseSize=3097591 userAgent=DSub
time="2025-03-22T11:24:57-04:00" level=debug msg="API: New request /rest/ping.view" client=Symfonium requestId=File-Server/hhq6oeL1FE-000123 username=quaraxkad version=1.13.0
time="2025-03-22T11:24:57-04:00" level=debug msg="Found matching player" client=Symfonium id=72e3b561-38ae-435d-a08a-346b15a4f250 requestId=File-Server/hhq6oeL1FE-000123 type=Symfonium/Android username=quaraxkad
time="2025-03-22T11:24:57-04:00" level=debug msg="API: Successful response" endpoint=/rest/ping.view requestId=File-Server/hhq6oeL1FE-000123 status=OK
time="2025-03-22T11:24:57-04:00" level=debug msg="HTTP: GET http://192.168.1.111:8422/rest/ping.view?u=quaraxkad&t=[REDACTED]&s=[REDACTED]&v=1.13.0&c=Symfonium&f=json" elapsedTime="511.4µs" httpStatus=200 remoteAddr="192.168.1.157:36708" requestId=File-Server/hhq6oeL1FE-000123 responseSize=131 userAgent="Symfonium/12.1.0 (Linux;Android 13)"
Tolriq
March 22, 2025, 3:53pm
8
As I said this is for Deluan. As you can see Symfonium request the proper things …
The only explanation I would have is that you changed some settings on Navidrome side on the Symfonium player seen there to force raw files.
I figured out part of the problem. Symfonium is explicitly asking for a format and bitrate in the request. If there’s no “exact” match for that format set up in Navidrome Transcoding settings, it returns the original file.
DSub does not explicitly request a format, and therefore it gets sent what Navidrome is configured to provide to that client by default.
I don’t see any way in Symfonium settings to change anything other than bitrate of the transcode.
Tolriq
March 22, 2025, 5:00pm
10
Navidrome have opus by default, and you can force mp3 in the provider settings;
@deluan This is a discussion I had with Gonic earlier, but a server must never return original file if there’s a maxBitrate set and you can’t transcode for any reason, you could explode mobile data usage of users and cost them a lot of dollars.
My Navidrome transcode settings were set for “ogg vorbis”, so it wasn’t matching “opus”. Making a new transcode called opus solved the problem.
deluan
March 22, 2025, 5:31pm
12
Sorry for being late. If it does not return any file, it will fail the play. Not sure if this is the expected behaviour. For me personally I don’t like this approach. There should be a way to let the user know what is going on. Maybe we could add an OS extension, that in this case we return a 400 with an error code and message?
Or just finalize the new stream endpoint
Tolriq
March 22, 2025, 6:09pm
13
@deluan This is not about liking or not, but about avoid your users to pay hundreds in phone bill because they think they transcode and they are not without any error or way to know. It’s better to fail and fix, than getting 300$ bill a month later without understanding.
This is also valid for all legacy users, if they remove or tweak the profiles.
For the new API it’s ready since a long time, waiting for your answer on OS to build the documentation part.
deluan
March 22, 2025, 6:32pm
14
Well, I think it is . You see, I work on this project to have some fun and good conversations with my community. I don’t get any (significant) monetary compensation for this. Once this project stops being fun, I may pass it to someone else.
Anyway, I keep discussing any advances and the future of Navidrome with my community, and this is not a concern that was raised by anyone, so I’m assuming this is not a priority.
No, it is not? I’m not the only one that can answer/work on that. We have a bunch of people there, I already have a lot on my plate. Please don’t frame this as if I’m the one blocking it.
Tolriq
March 22, 2025, 6:43pm
15
I answer with the same tone as your sentence, not framing anyone on my side, so if you see it maybe it was on the initial one ?
Anyway yes others do not answer either.
And yes it’s a not priority until a users says I had 300$ bill and ask you why.