Bug 510243 - Certain videos interrupt playback loop when auto-played from playlist
Summary: Certain videos interrupt playback loop when auto-played from playlist
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: 1.5.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-04 21:42 UTC by Simon Ra
Modified: 2025-10-20 22:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
the offending video (2.06 MB, video/x-matroska)
2025-10-04 21:42 UTC, Simon Ra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Ra 2025-10-04 21:42:54 UTC
Created attachment 185522 [details]
the offending video

SUMMARY
The attached video works fine when it is the first thing Haruna plays after launching, but if encountered through the playlist, it will very often (not always) pause the playback until manually resumed, despite looping playlist settings.

STEPS TO REPRODUCE
1. Place the attached video in a folder with no other files.
2. Play the video in Haruna.
3. Ensure the playlist is in specifically "Repeat Playlist" mode.
4. Let the video loop until it stops.

OBSERVED RESULT
Playback pauses.

EXPECTED RESULT
Playback loops until interrupted by user.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux hostname 6.16.10-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 02 Oct 2025 19:26:36 +0000 x86_64 GNU/Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2

ADDITIONAL INFORMATION
Curiously, the playlist mode "Repeat item" works as expected. I have multiple videos with this characteristic, but they have nothing obvious in common (with/without audio, different codecs, containers, durations... no obvious red flag in ffprobe). The included video is truncated to fit into the 4mb limit and has the audio stream removed, neither of which changed its behaviour.
Comment 1 george fb 2025-10-04 23:47:14 UTC
Is the video the only one in the playlist or are there more?
Comment 2 sadik ugursoy 2025-10-05 01:38:00 UTC
Can you check if this fixes the issue? I have reproduced what you explained and this fixed it for me:
https://invent.kde.org/multimedia/haruna/-/merge_requests/88
Comment 3 george fb 2025-10-05 01:54:06 UTC
Git commit f5ac42e7aa59fc30ad664be0bc901bba21365b18 by George Florea Bănuș.
Committed on 05/10/2025 at 01:53.
Pushed by georgefb into branch 'master'.

mpvitem: fix looping playlist with a single files

M  +12   -2    src/mpv/mpvitem.cpp
M  +0    -1    src/qml/Haruna/PlaylistItems/PlayListItem.qml

https://invent.kde.org/multimedia/haruna/-/commit/f5ac42e7aa59fc30ad664be0bc901bba21365b18
Comment 4 Simon Ra 2025-10-05 09:28:41 UTC
Appears fixed with f5ac42e7aa59f, even for non-single item playlists. Thank you both for your work!