celluloid icon indicating copy to clipboard operation
celluloid copied to clipboard

Flatpak Verion has no access to network shares

Open Slomo17 opened this issue 6 years ago • 7 comments

Overview Description: Flatpak Verion has no access to files on network shares Trying to play a file on a network share like samba or ssh fails with an error message Steps to Reproduce:

  1. Open Network share (samba or sftp)
  2. try to play file with gnome-mpv

Actual Results: Error message: Playback was terminated abnormally. Reason: loading failed.

Expected Results: Gnome-mpv should be able to access network shares

Version: 0.15

Additional Information: only flatpak version seems to be affected, probably because of the sandbox. Gnome-mpv installed from other sources works fine

Slomo17 avatar Nov 19 '18 22:11 Slomo17

/cc @TingPing

gnome-mpv avatar Nov 20 '18 06:11 gnome-mpv

Normally that probably works over GVFS but mpv doesn't use that. It is probably worth opening an issue on https://github.com/flatpak/xdg-desktop-portal saying that selecting a file on an sftp mount does not work.

TingPing avatar Nov 21 '18 02:11 TingPing

Workaround until the portal access is solved:

flatpak override --filesystem=xdg-run/gvfs io.github.GnomeMpv

--filesystem=host does not include any of the stuff in the xdg-run directory.

saivert avatar May 21 '19 12:05 saivert

I just upgrade from Ubuntu 20.04 to 20.10 and get the same error:

Playback was terminated abnormally. Reason: loading failed.

I tried sudo flatpak override --filesystem=xdg-run/gvfs io.github.GnomeMpv but can't play videos over LAN. Any fix ? I tried both Flatpak and apt repository

aindriu80 avatar Oct 23 '20 21:10 aindriu80

@aindriu80: Try running the command again with the current app ID: sudo flatpak override --filesystem=xdg-run/gvfs io.github.celluloid_player.Celluloid.

gnome-mpv avatar Oct 25 '20 15:10 gnome-mpv

@aindriu80: Try running the command again with the current app ID: sudo flatpak override --filesystem=xdg-run/gvfs io.github.celluloid_player.Celluloid.

no luck. I've tried reinstalled it with:

sudo add-apt-repository ppa:xuzhen666/gnome-mpv sudo apt update sudo apt install celluloid

I noticed that I can play videos on the network by going into Celluloid, clicking on the + on the top right hand side and selecting a file to play. I was trying to play a video through Dolphin file explorer when I got the error

Playback was terminated abmormally. Reason loading failed.

aindriu80 avatar Oct 27 '20 08:10 aindriu80

Yes i found this on ubuntu 21.10 today too. It is only the flatpak version. It worked with the PPA install yesterday. Be fort i installed the flatpak version

aplatypus avatar Feb 10 '22 08:02 aplatypus