mpv-player / mpv-player/mpv

About "watch_later" function

Open
#16,057 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the watch_later configuration filename generation and the resume-playback handling described in the issue, then compare the behavior with mpv's resume-playback and resume-playback-check-mtime options. Confirm how filename collisions occur and define done as distinct watch_later entries restoring the correct playback position when videos share a folder.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.