mpv-player / mpv-player/mpv

try to reaquire file pointer when lost

Open
#14,348 0 comments 0 reactions 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,

i use mpv a lot over fuse based file systems (mostly sshfs, sometimes gvfs and other) but all the time i change wifi networks use standby or the ip adresses change do to zwangstrennung (sshfs's ServerAlive... options are doing a grate job reconnecting) or such i can keep watching what is still cached but when it ends it skips to the next track in the list and i have to skip back and find back the right place in the video. Normally its not a big problem but only a a bit annoying. The thing is when i stream stuff using http i dont have this issue but when using some network file system i have. So please could you just do the dame when using file access and first try to reconnect before skipping? thanks in advance

Alternative behavior of the wanted feature

No response

Log File

Screenshot from 2024-06-13 20-00-05
(you actually dont see any error like unexpected end of file but it acts like it)

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

The issue names no source files, tests, or entry points. Start by reproducing playback from an sshfs or other FUSE-mounted file after the connection is interrupted and restored, then trace the file-access failure that causes mpv to advance tracks. Done means a recoverable lost file connection is retried before playback skips, with regression coverage for the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.