You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Seeking with buffer duration 0 causes playback to freeze or restart with error QObject::startTimer: Timers can only be used with threads started with QThread#1302
Closed
3 tasks done
K1aymore opened this issue
Oct 26, 2023
· 0 comments
I have checked the Changelog that the issue is not already fixed.
I believe this issue is a bug, and not a general technical issue, question or feature requests that can be discussed on the forum.
Describe the bug
When buffer duration is set to zero, seeking in a song using the mouse or keyboard sometimes causes playback to freeze with the error QObject::startTimer: Timers can only be used with threads started with QThread.
Seeking close to the end of the song sometimes causes playback to restart from the beginning of the song with the same error, or start playing the next song without updating the cover art or song info.
It seems like playing the same song multiple times seems to mostly solve the issue, which might be since Linux caches the file in RAM for faster access, although the error still shows up.
Setting the buffer duration to even 1 ms fixes these issues.
To Reproduce
Set buffer duration to 0 milliseconds and seek through a song.
Expected behavior
Seeking to part of the song continues playing from that point.
Strawberry Version: Strawberry 1.0.21 Qt "5.15.10" (also happened on 1.0.20)
The text was updated successfully, but these errors were encountered:
K1aymore
changed the title
Seeking with buffer duration 0 causes playback to freeze or restart
Seeking with buffer duration 0 causes playback to freeze or restart with error QObject::startTimer: Timers can only be used with threads started with QThreadOct 26, 2023
Describe the bug
When buffer duration is set to zero, seeking in a song using the mouse or keyboard sometimes causes playback to freeze with the error
QObject::startTimer: Timers can only be used with threads started with QThread
.Seeking close to the end of the song sometimes causes playback to restart from the beginning of the song with the same error, or start playing the next song without updating the cover art or song info.
It seems like playing the same song multiple times seems to mostly solve the issue, which might be since Linux caches the file in RAM for faster access, although the error still shows up.
Setting the buffer duration to even 1 ms fixes these issues.
To Reproduce
Set buffer duration to 0 milliseconds and seek through a song.
Expected behavior
Seeking to part of the song continues playing from that point.
System Information:
The text was updated successfully, but these errors were encountered: