Thank you for the details. Since local file playback works normally and only KKBOX streams fail, we need to confirm whether the issue affects all KKBOX tracks or only specific albums/artists.
Could you please confirm:
Does this happen with every KKBOX track you try to play?
Or only with certain albums / playlists?
Your Roon Server is running on a Synology DS920+, so we will also check the KKBOX stream authorization in the logs.
To do that, we need a timestamp of the failed playback:
Please try to play any track from KKBOX again.
When it stops/does not play, note the exact local time (example: 19:42 local time).
Reply here with that timestamp.
Once we have the time, we will enable diagnostics on your account and review the logs from your DS920+ to see why the stream authorization is failing.
Thank you for the update. Roon ARC directly communicates with the streaming services without a direct connection to your Roon server.
I have gone ahead and enabled diagnostics mode for your account and what this action will do is next time your Roon Server is active, a set of logs will automatically be generated and uploaded to our servers for analysis.
For some reason your server is not reaching our servers, even after I tried re-enabling diagnostics on your account. I also ran a quick test and I was able to submit a similar report from my setup here, so something else is going on.
So we can move forward, I was hoping for now you could use the directions found here and send them to our Logs Uploader Service and let us know after, thanks!
We were able to review the time stamp you’ve shared above - each KKBOX track begins to “play,” but it only plays for about one second, then Roon logs:
StoppedEndOfMediaNatural
That means Roon thought it reached the end of the track; it didn’t error, it just saw no more data to play.
However, right before that - we see:
Debug: [prebuffer] short read: 0 / 9600 fill=0
“short read: 0 / 9600 fill=0” means the audio pipeline requested audio samples from the KKBOX stream but got nothing. Roon then assumed playback was complete and gracefully ended the stream.
So the file exists, and KKBOX is returning a 200 OK. But then - the KKBOX CDN connection or authorization link expired / got cut off after the first data block.
Do you have any issues playing from KKBOX directly?
Check KKBOX account region / token validity
Try logging out and back into KKBOX in Roon → Settings → Services → KKBOX → Log Out → Log In.
I tried logging in and out multiple times; initially everything was normal, but then it stopped working properly (all other functions work normally except for playing music).
Does this issue only happen when you use the Synology as the Roon Server? If you use another PC as the Roon Server (by going to Roon Settings → General → Disconnect → Use this PC), does the KKBOX issue still happen? If so, I wonder if the issue could be with missing codecs:
Appendix: Adding support for additional audio codecs (like AAC…)
Roon Server relies on ffmpeg for different audio codecs. Synology has a preinstalled ffmpeg binary already preinstalled on their system. Unfortunately it does not cover all audio codecs, that are required for Roon Server and due to licensing uncertainty, I am not able to have it bundled in the installation.
However I have implemented a way to provide it manually. Binaries of ffmpeg can be downloaded from JohnVanSickles website. You’ll need the amd64 version for Roon Server on the diskstation.
Extract the tar.xz archive and copy the ffmpeg from the extracted files folder into
<< Your selected database location >> / RoonOnNAS / bin