celluloid icon indicating copy to clipboard operation
celluloid copied to clipboard

[Feature Request] Add shortcuts for play previous/next video in folder

Open hyuri opened this issue 3 years ago • 5 comments

Overview Description: Add shortcuts for play previous/next video in folder of the video load/playing now. That's present in at least MPC-HC (Media Player Classic). It's super useful, and I've been missing that a lot since I adopted Celluloid.

In MPC-HC, the shortcut was Page Up/Page Down for Previous/Next respectively -- not sure if that's the default or if I changed it. I know in Celluloid these are for chapter. But in MPC they flicked through the chapters as well if the video had chapters and at the end of the video (after last chapter), pressing Page Down again would go to next video in the same folder normally. If the video didn't have any chapters, Page Down would just open & play the next video in the same folder.

hyuri avatar Dec 30 '21 18:12 hyuri

There's a Lua script that does something similar: autoload.lua. It automatically adds files in the same folder to the playlist so that you can move between them using playlist shortcuts (<, >).

gnome-mpv avatar Dec 31 '21 01:12 gnome-mpv

There's a Lua script that does something similar: autoload.lua. It automatically adds files in the same folder to the playlist so that you can move between them using playlist shortcuts (<, >).

The problem with this approach is that if one reorder the playlist files gets duplicated.

brunolpsousa avatar Feb 24 '22 23:02 brunolpsousa

Could u make this a GUI option like Haruna does?

axel358 avatar Feb 28 '22 21:02 axel358

The problem with this approach is that if one reorder the playlist files gets duplicated.

I just found nextfile.lua which works without adding files to the playlist.

gnome-mpv avatar Mar 01 '22 16:03 gnome-mpv

The problem with this approach is that if one reorder the playlist files gets duplicated.

I just found nextfile.lua which works without adding files to the playlist.

nextfile.lua doesn't change to next file automatically since 2017, only using the shortcuts (shift+arrows) now. So I made a fork that restores that feature if anyone's interested

brunolpsousa avatar Dec 17 '22 16:12 brunolpsousa