Bug 507597

Summary: When tuning into Twitch streams via browser, the media player widget shows invalid seek position and length
Product: [Plasma] plasmashell Reporter: kimimaru
Component: Media Player widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, kdedev, nate, sanmaycjoshi
Priority: NOR    
Version First Reported In: 6.4.3   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Shows how the Media Player widget looks when tuned into a stream

Description kimimaru 2025-07-28 16:04:57 UTC
Created attachment 183604 [details]
Shows how the Media Player widget looks when tuned into a stream

SUMMARY
The media player widget shows an invalid length for the stream as a really high number. Furthermore, the seek position shown is misleading, since it's showing the time from when you started watching the stream. The UI indicates the stream is running on an absolute position and length, like with an audio file, when it can't. As a result I feel the UI needs to be tweaked for streams.

STEPS TO REPRODUCE
1. Tune into any Twitch stream (Ex. www.twitch.tv/type2play) via web browser with audio on.
2. Open up the Media Player Widget.

OBSERVED RESULT
The Media Player widget shows a placeholder image of the stream with a really high number as the duration. Trying to seek does nothing. The only relevant information is the pause/play button and the stream information.

EXPECTED RESULT
A more appropriate UI for streams. Currently the pause/play button works, but the rest shown there doesn't make much from a UI perspective. The seek position can't be accurate for a stream and it can't be used to adjust the position of the stream. Likewise with the duration being unavailable, so I propose removing the whole playback bar during streams.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS, kernel 6.15.8-arch1-1 (64-bit)
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1

ADDITIONAL INFORMATION
Tested the issue on Mozilla Firefox and Librewolf, both on version 141.0.
Comment 1 TraceyC 2025-07-28 22:31:52 UTC
I can reproduce this on git-master
Comment 2 Nate Graham 2025-09-23 17:50:31 UTC
Me too, but this is a client issue, unfortunately. It sends complete garbage in a way that's very difficult to filter out.
Comment 3 Nate Graham 2025-09-29 22:30:45 UTC
*** Bug 509987 has been marked as a duplicate of this bug. ***