Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

About "watch_later" function #16057

Open
NeilTohno opened this issue Mar 16, 2025 · 2 comments
Open

About "watch_later" function #16057

NeilTohno opened this issue Mar 16, 2025 · 2 comments

Comments

@NeilTohno
Copy link

NeilTohno commented Mar 16, 2025

Expected behavior of the wanted feature

Hi, current 'watch_later' function suffers from filename collisions because the watch_later configuration files are generated with video filename. This results in incorrect restore playback when new videos are added to the same folder. I suggest adding duration and bitrate to the watch_later configuration filename, ensuring unique filenames.

Image

Alternative behavior of the wanted feature

https://mpv.io/manual/master/#options-resume-playback
https://mpv.io/manual/master/#options-resume-playback-check-mtime

Log File

No response

Sample Files

No response

@kasper93
Copy link
Contributor

This results in incorrect restore playback when new videos are added to the same folder.

Could you provide steps to reproduce the collision you are talking about?

@NeilTohno
Copy link
Author

This results in incorrect restore playback when new videos are added to the same folder.

Could you provide steps to reproduce the collision you are talking about?

--resume-playback-check-mtime=<yes|no> Only restore the playback position from the watch_later configuration subdirectory (usually ~/.config/mpv/watch_later/) if the file's modification time is the same as at the time of saving. This may prevent skipping forward in files with the same name which have different content. (Default: no)

Default: no

I get it, I just need add "resume-playback-check-mtime=yes" to the mpv config file,
But in my test, when I open new video file, the old "watch later" files is nowhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants