Stuck after a track is finished
I've had this happened several times. I'm playing a playlist (local files), and when some track is finished, the player gets kind of stuck:
- The track that just played does not get its playcount increased
- The track that just played is still highlighted in the playilst
- The player shows the "stop" button, not "play"
- The progress bar is at 0:00
- Nothing is playing
If I click on stop and then play, the same track plays again, and when it finishes playback continues normally with the next track.
This happens for different tracks from different sources, so I don't think it's file-related. It's a bit random, but lately I think I've noticed it tends to happen after I've paused the playback (not every time I pause it happens, but every time it happens I have paused). The tracks are all in an USB hard drive, so that could be related.
Is this something someone else has noticed? Is it a known issue? Could there be an easy-to-identify and fix bug in the buffering?
I'm running Strawberry 1.0.17 on Kubuntu 22.04 (KDE desktop).
For the record, I've been running Strawberry from command line for a while now (a few weeks), to see if there's any message when this happens. As anyone could expect, it hasn't happened since. I'm just writing this in the hope that by doing so, the problem will appear again immediately after I post it
Well, not immediately, but sure enough it happened now. Once again, it happened after I had paused a track, but I don't see anything strange in the terminal:
12:02:12.923 DEBUG MainWindow:1366 Song changed to "John Coltrane" "The Complete 1961 Village Vanguard Recordings" "Impressions (C)" 12:02:12.925 DEBUG Player:733 Playing song "Impressions (C)" QUrl("file:///media/user/FREEAGENT/Jazz/John Coltrane - The Complete 1961 Village Vanguard Recordings/17 - Impressions (C).mp3") position 0 12:02:12.925 DEBUG GstEnginePipeline:751 1 event latency 12:02:13.815 DEBUG PlaylistBackend:330 Saving playlist 1 12:11:25.654 DEBUG GlobalShortcutsBackendKDE:216 Key QKeySequence("Media Play") pressed. 12:29:06.436 DEBUG GlobalShortcutsBackendKDE:216 Key QKeySequence("Media Play") pressed. 12:29:06.437 DEBUG GstEnginePipeline:751 1 event latency
The track in question is 15 minutes long. The first "Media Play" is the pause event, which happened not near the beginning or end of the track. The second "Media Play" is the resume event. Some minutes after that, the track ended, and the player is stuck without advancing to the next track in the playlist or showing anything else in the terminal. The time it was paused was enough to trigger "screen energy saving", but I'm not sure that has anything to do.