Stuttering at the end of songs with LMS transcoding

App version

Production

Issue description

Hi,

When playing music from my LMS server, playback stutters and slows down near the end of each song before moving to the next one. It takes upwards of 15 to 20 seconds of stuttering before moving onto the next song which also stutters for the first few seconds sometimes.

It happens with all tracks when transcoding FLAC to Ogg/Opus. I normally use 256 kbps, but it also happens at other bitrates.

I’m using Symfonium 15.1.0 and epoupon/lms 3.80.0 (over opensubsonic). Debug log is attached.

Device type

Phone

Media provider

Subsonic (Open)

Steps to reproduce

  1. Play a few tracks from LMS with transcoding enabled (or any downloaded, transcoded songs).
  2. Let a song reach the end.
  3. Playback stutters before the next song starts. Skipping manually works directly.

I searched existing issues first

on

I understand that logs are mandatory

on

Log upload name / description

volumetrique-stutter

Thank you for the logs. I can see repeated playback resets while Symfonium prepares the next track, which looks related to the stuttering.

Could you temporarily set “Pre-cache tracks (Wi-Fi)” and “Pre-cache tracks (Mobile)” to 0 in the playback cache settings, start playback again, and let the same two tracks transition without seeking? Please also confirm whether the downloaded, transcoded versions still stutter with the phone fully offline. Those two results will help me isolate the cause.

Thanks for the quick answer.

Playback cache to 0 does seem to fix it (I’ve cleared the queue and restarted the app to just double check). Setting it back to any other amount does stutter again (not a fluke :stuck_out_tongue: )

Playback cache back to its normal amount, and offline (airplane mode, no connection at all), also does seem to fix it (no stutters). bitrate/format shows ‘Unknown’ in the player when offline FWIW.

Let me know if you need more logs with these two test cases.

Thank you, those results help me narrow this down to the interaction between online pre-caching and next-track preparation. The smooth playback in airplane mode is useful confirmation too.

I don’t need additional logs for those two tests right now. Please leave “Pre-cache tracks (Wi-Fi)” and “Pre-cache tracks (Mobile)” at 0 as a workaround for now.

Please test version 16.

Seems to be fixed, re-enabled my default pre load settings and it works fine on both downloaded and transcoded tracks. Thanks!