celluloid icon indicating copy to clipboard operation
celluloid copied to clipboard

Position slider should be disabled when viewing streamed content

Open jp7677 opened this issue 7 years ago • 2 comments

Overview Description: I'm using Gnome-MPV to view DVB channels. This works perfectly. A small glitch though is the position slider, that one jumps a lot because the total duration of the stream gets constantly updated.

Steps to Reproduce:

  1. Open a dvb-stream in Gnome-MPV, e.g. dvb://Eurosport 1. I guess any other streamed content would work to reproduce this behavior too.
  2. Observe the position slider and the total duration.

Actual Results: The total duration is constantly updated, obviously the current position too. The position of the slider is calculated based on the total and current duration. Since both values keep changing the slider is heavily jumpy when starting to watch a stream and moves over time to nearly 100% but keeps jumping quite little bit.

Expected Results: I would expect the slider to be disabled. Furthermore I would expect that the total duration is not visible since mpv cannot know how long the stream actually is.

Version: Gnome-MPV 0.15 with mpv 0.29.1

Additional Information: My initial workaround was to just toggle the controls off. That state however won't be remembered. Toggle full screen on and off automatically shows the controls again.

Thanks a lot for your beautiful software!

jp7677 avatar Dec 08 '18 15:12 jp7677

I would expect the slider to be disabled. Furthermore I would expect that the total duration is not visible since mpv cannot know how long the stream actually is.

I'm not sure if there's a good way to fix this from gnome-mpv side. There doesn't seem to to be anything exposed by mpv's API that can be reliably used to detect if the stream is finite.

My initial workaround was to just toggle the controls off. That state however won't be remembered. Toggle full screen on and off automatically shows the controls again.

This is actually a bug. ~~I'm working on it.~~ 21c50df5161ee85467db3cc679e2ae2a9dcceeb6

gnome-mpv avatar Dec 09 '18 17:12 gnome-mpv

Related: https://github.com/mpv-player/mpv/issues/16737

jp7677 avatar Aug 28 '25 04:08 jp7677