celluloid
celluloid copied to clipboard
Celluloid ( Flatpak ) is unable to save current playback position when pressing Shift + Q
Overview Description: Celluloid ( Flatpak ) is unable to save current playback position when pressing Shift + Q
Steps to Reproduce:
- Open Celluloid
- Press Shift + Q
Actual Results: It doesn't save the last playback position
Expected Results: Celluloid saves the current playback position
Version: 0.16
Additional Information: This error was mentioned on GitHub, hopefully it's fixable.
The non-flatpak version of Celluloid does not have the problem above I removed the Flatpak version of Celluloid and reinstalled it with "sudo apt install celluloid" and now Shift+Q works. I'm using Pop!_OS 19.10
The flatpak version probably doesn't have permission to access the watch_later
directory (it's usually under $XDG_CONFIG_HOME/celluloid
).
/cc @TingPing
You have complete and total access to $XDG_CONFIG_HOME
. If it is configured elsewhere that could fail.
In testing it works fine here.
I haven't changed anything on Pop!_OS 19.10 Flatpak was installed by following the official guide: _https://flatpak.org/setup/Pop!OS/
I'm not excluding that it can be an error from my side, sometimes even a clean installation can have errors. Hopefully it was an isolated error, thank you for your time.
I've just tested with Pop!_OS 19.10 and it seems to work fine for me as well.
Did you perhaps launched Totem by mistake? If you didn't explicitly set Celluloid as the default application and tried opening a video file by double clicking on it, Totem will be used instead of Celluloid.
Totem was "sudo apt purge'd" from my system when I tested Celluloid "Flatpak", so I doubt that Totem was running.
I'm also facing the same issue while using the flatpak in clear-linux.
Had the same issue Flatpak + Pop_OS! 20.10
just installed via apt
Still getting this issue on the latest flatpak version (v0.25).
But here's what I have observed:
Whenever the file is closed, celluloid does indeed write a proper file into the watch_later directory. When you repeat this process you will find that a new file, with a fresh hash, is being created every time instead of modifying the same file.
Now, after setting write-filename-in-watch-later-config
in mpv.conf one thing became clear:
/run/user/1000/doc/169e5aff/Code Europe 2022 Keynote by Walter Bright.webm
/run/user/1000/doc/47ebe505/Code Europe 2022 Keynote by Walter Bright.webm
It seems the same video file gets a different path due to the (desktop?) portal. And since MPV is creating the hash based on the filename and not the actual file, celluloid can't find the proper hash in the watch_later directory when resuming.
EDIT, workaround:
If you set ignore-path-in-watch-later-config
in mpv.conf, celluloid seems to be able to resume files in the flatpak version.