Bug 453710 - Video keeps pausing for every new video in playlist.
Summary: Video keeps pausing for every new video in playlist.
Status: RESOLVED NOT A BUG
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: 0.8.0
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-12 16:52 UTC by nilsocket
Modified: 2022-06-04 13:16 UTC (History)
0 users

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


Attachments
attachment-24977-0.html (1.65 KB, text/html)
2022-05-12 17:20 UTC, nilsocket
Details
attachment-27158-0.html (1.49 KB, text/html)
2022-05-12 17:29 UTC, nilsocket
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nilsocket 2022-05-12 16:52:38 UTC
Under Playback->Startup section, when `Resume playback` option is selected.

Haruna keeps pausing the video for every new video in playlist.
When `Resume  playback` is un-selected.
It continues to play new videos normally.

OBSERVED RESULT
Every new video is paused.

EXPECTED RESULT
Keep playing new videos.

`Resume playback` option is only meant for videos which were opened before.

Operating System: Manjaro Linux
KDE Plasma Version: 5.24.4
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.3
Kernel Version: 5.15.32-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620

Thank you.
Comment 1 george fb 2022-05-12 17:08:34 UTC
I can't reproduce. For me the video plays unless I opened it before.

Are you sure you didn't open the files previously?
Just to make sure rename haruna's config folder, this way everything is reset. You can open the config folder from settings window > top right "open config... > folder" button.
Comment 2 nilsocket 2022-05-12 17:20:08 UTC
Created attachment 148770 [details]
attachment-24977-0.html

I'm extremely sorry, i think it's my fault.

I have selected all files in a folder to play.
Since i don't known, it auto plays videos in a folder.

Then multiple windows were opened, by the time i closed them, it took some
time.

Sorry for the wrong bug report.

But then shouldn't it play from where it left, rather than pause.

Thank you.

On Thu, 12 May, 2022, 10:38 pm george fb, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=453710
>
> --- Comment #1 from george fb <georgefb899@gmail.com> ---
> I can't reproduce. For me the video plays unless I opened it before.
>
> Are you sure you didn't open the files previously?
> Just to make sure rename haruna's config folder, this way everything is
> reset.
> You can open the config folder from settings window > top right "open
> config...
> > folder" button.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 3 george fb 2022-05-12 17:25:52 UTC
(In reply to nilsocket from comment #2)
> But then shouldn't it play from where it left, rather than pause.

I prefer not to autoplay when resuming a file, but I'll probably add an option as it came up a few times.
Comment 4 nilsocket 2022-05-12 17:29:17 UTC
Created attachment 148771 [details]
attachment-27158-0.html

Awesome, thanks!

On Thu, 12 May, 2022, 10:55 pm george fb, <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=453710
>
> george fb <georgefb899@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>              Status|REPORTED                    |RESOLVED
>          Resolution|---                         |NOT A BUG
>
> --- Comment #3 from george fb <georgefb899@gmail.com> ---
> (In reply to nilsocket from comment #2)
> > But then shouldn't it play from where it left, rather than pause.
>
> I prefer not to autoplay when resuming a file, but I'll probably add an
> option
> as it came up a few times.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 5 george fb 2022-06-04 13:16:14 UTC
Git commit 3d1ec4b33ed7c5f020a5f9064213e94a4bedbb06 by George Florea Bănuș.
Committed on 04/06/2022 at 13:15.
Pushed by georgefb into branch 'master'.

feat: add setting to start playback when resuming a file and some other things

Renamed the resumePlayback setting to "seekToLastPosition" to be more clear about what it does
New setting only works when the "seekToLastPosition" setting is enabled
Removed the "Startup" label as it only applied to one setting and was causing confusion about other settings
Related: bug 444539

M  +3    -4    src/qml/MpvVideo.qml
M  +26   -10   src/qml/Settings/PlaybackSettings.qml
M  +4    -1    src/settings/playbacksettings.kcfg

https://invent.kde.org/multimedia/haruna/commit/3d1ec4b33ed7c5f020a5f9064213e94a4bedbb06