Page 1 of 1

Unfinished videos are marked as completed bug

Posted: 20 Sep 2020 02:05
by Zoom880
If you close a video when there is 30 seconds left VLC marks it as completed and erases the progrees.

Re: Unfinished videos are marked as completed bug

Posted: 21 Sep 2020 07:02
by Aza
Hi,
This is done on purpose. The medialibrary has a bunch of condition to determine if a media is played.

Re: Unfinished videos are marked as completed bug

Posted: 21 Sep 2020 12:08
by Zoom880
Can you add a feature to mark a video as completed when it is watched completely?

Re: Unfinished videos are marked as completed bug

Posted: 22 Sep 2020 06:09
by Aza
You mean a setting to mark it as watched only if it's played until the end?

Re: Unfinished videos are marked as completed bug

Posted: 22 Sep 2020 12:14
by Zoom880
Yes

Re: Unfinished videos are marked as completed bug

Posted: 23 Sep 2020 09:01
by chouquette
That would be possible, however before doing so I'm interested in knowing how long your media is. Maybe we could add a bit more granularity to the way we detect the end of a media.

Re: Unfinished videos are marked as completed bug

Posted: 23 Sep 2020 12:10
by Zoom880
I watch movies and internet videos with VLC. So my videos can be anywhere from 5 seconds long to 3 hours long.

Re: Unfinished videos are marked as completed bug

Posted: 23 Sep 2020 12:21
by chouquette
I'm not sure what the right approach is. For now what we do is we consider the video has been played up to the end if the playback reaches:
- The last 5% percent of the playback if it's less than 1hours long
- The last 4% if it's between 1 and 2 hours
- And so on until it's more than 4 hours, in which case we consider the playback to have reached the completion when it gets the final 1% of the video.

Forcing the playback to be marked as complete only when the final frame has been displayed seems annoying, that means when you are done watching a movie, it wouldn't be marked as complete until you have watched the entire credits, which isn't what I'd want, and that wasn't the previous behavior as well.
We can always add more settings, but I don't think that's a road we would like to go down.

Having a way to explicitly mark a video as complete through user interaction would also be an option.

If you have a specific example of a media that you felt was wrongly marked as completed, what was its duration, when did you stop the playback, and what should have been the expected result for you?

Re: Unfinished videos are marked as completed bug

Posted: 23 Sep 2020 13:39
by Zoom880
I watched the Iron Man movie from 2008 and closed the video during the last 60 seconds. It is a 2 hour movie but there is a scene that plays in the last 60 seconds.

I closed it during the last 60 seconds then VLC marked it as completed and erased the progress. I wanted VLC to save the progress so I could watch that scene.

Re: Unfinished videos are marked as completed bug

Posted: 24 Sep 2020 06:40
by Aza
Having a way to explicitly mark a video as complete through user interaction would also be an option.
It has been added in the (unreleased) 3.3.1 version BTW.