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

Save Position on Quit not always working #944

Open
SnarkySarky opened this issue May 7, 2024 · 4 comments
Open

Save Position on Quit not always working #944

SnarkySarky opened this issue May 7, 2024 · 4 comments
Labels

Comments

@SnarkySarky
Copy link

Overview Description:
Hello, I tried both a mpv.conf file and the build in extra mpv options, on both the position is only saved sometimes.
Steps to Reproduce:
1.add save-position-on-quit=yes to mpv.con or/and mpv extra options
2.open video and skip ahead then quit
3.first try video always saves postion, close video
4.open same video, position is saved or not (random?)

Actual Results: position only saved sometimes

Expected Results:Always remember position

Version:0.26

Additional Information:
mostly after the 3rd or 4th opening the video starts from the beginning not the saved position

@butter-fly04
Copy link

Saving on quit is not working at all for me in version 0.27.

@gnome-mpv
Copy link
Collaborator

I can't reproduce this.

Can you attach a log file? Also, are you using Flatpak?

@butter-fly04
Copy link

I am using Flatpak, and log file generating command doesn't work for flatpak.

@gnome-mpv
Copy link
Collaborator

OK, I can reproduce the problem with Flatpak.

The problem is that Celluloid doesn't have access to the real file path inside Flatpak; it can only access opened files through a FUSE filesystem provided by xdg-desktop-portal. For some reason, the path to the file inside the FUSE filesystem keeps changing if you open it through your file manager, so Celluloid can't figure out if you're opening a file that you've previously opened. This doesn't seem to happen when opening files with the file dialog, so if you only open files that way, Celluloid should be able to resume properly.

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

No branches or pull requests

3 participants