Closed raziel711 closed 4 weeks ago
the progress indicator does not appear on the taskbar until the video reaches ~0.5% of its total duration.
Yes, that's correct assessment. The position send to taskbar is rounded to integer % value and 0 is interpreted as no progress by Windows, so only after 0.5% it starts showing anything. There is no reason to do that, ITaskbarList3 api takes ULONGLONG, so the progress can be more fine grained. I will update that when I have time.
EDIT: Will be fixed by https://github.com/mpv-player/mpv/pull/14283
mpv Information
Other Information
Reproduction Steps
When using![mpv_FiR97HZTgh](https://github.com/mpv-player/mpv/assets/75226602/63ddb6c6-2894-4645-bddb-8192a49fc05e)
taskbar-progress
, the taskbar progress indicator does not appear at the very start of video playback. For example, when using a video with a duration of 23:41 played withmpv --no-config
, at six seconds the progress indicator is not visible on the taskbar:It only appears starting at seven seconds:![mpv_qX64fZPxRm](https://github.com/mpv-player/mpv/assets/75226602/bc8d9f00-e187-4943-9a16-492ca98e15f5)
For reference, this is at the six second mark with MPC-HC; the indicator shows up from the start of the video:![mpc-hc64_bPmxDzaKPi](https://github.com/mpv-player/mpv/assets/75226602/a26a3401-ccbf-4831-817b-8ce078b0cba1)
I've tested videos with various lengths, and it seems like the progress indicator does not appear until the video reaches around 0.5% of the total duration. I'm sure that behavior is probably a part of Windows itself and can't be changed; however, when mpv is paused, the indicator is visible even at the very beginning of the video.
For instance, here is an example from the same video at two seconds:![mpv_nujMHWZMja](https://github.com/mpv-player/mpv/assets/75226602/2a04e76d-e7cd-4c4d-b68c-a18c8db307fc)
Would it be possible to make it so that the behavior for the progress indicator matches when the video is playing and when it is paused?
Expected Behavior
The taskbar progress indicator should appear from the start of the video while it is playing.
Actual Behavior
While the video is playing, the progress indicator does not appear on the taskbar until the video reaches ~0.5% of its total duration. The indicator only appears before the 0.5% point if the video is paused.
Log File
log.txt
Sample Files
Any sufficiently long video file should work.
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.