xenodium / ready-player

GNU General Public License v3.0
129 stars 5 forks source link

Feature request: seeking in files #11

Closed Bodertz closed 1 day ago

Bodertz commented 1 month ago

Currently, ready-player can play a file from the beginning, but there is no obvious way to skip forward to a section the user may be looking for, or to skip back to replay a section they didn't quite catch.

For videos, this is less of a problem, as a dedicated video player will pop up which will likely support seeking. For audio files, though, the program playing the files is not shown to the user, and the user relies on Emacs commands to control playback. Presently, there are no commands to seek in the file, but this would be useful for both audio and video.

Perhaps [1] and [2] could be used for inspiration.

[1] https://github.com/sachac/subed [2] https://github.com/kljohann/mpv.el

xenodium commented 1 month ago

Thanks for filing! It'll need some investigation. Thanks for the suggested packages!

xenodium commented 1 week ago

Ok, maybe it's coming... ;) Need to experiment more.

2024-08-30-17:06:22-Emacs_optimized

xenodium commented 1 week ago

As of https://github.com/xenodium/ready-player/commit/d51ef92c62011c2826117552c6cd07efde5fcdee we have experimental seek for mpv

2024-08-31-12:24:06-Emacs_optimized

xenodium commented 1 day ago

The feature's in place now. Gonna go ahead and close the feature request.

Please consider supporting the project to make feature requests, improvements, and maintenance sustainable.