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

Flatpak Verion has no access to network shares #396

Open
Slomo17 opened this issue Nov 19, 2018 · 7 comments
Open

Flatpak Verion has no access to network shares #396

Slomo17 opened this issue Nov 19, 2018 · 7 comments
Labels

Comments

@Slomo17
Copy link

Slomo17 commented Nov 19, 2018

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

@gnome-mpv
Copy link
Collaborator

/cc @TingPing

@TingPing
Copy link
Contributor

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.

@saivert
Copy link

saivert commented May 21, 2019

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.

@aindriu80
Copy link

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

@gnome-mpv
Copy link
Collaborator

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

@aindriu80
Copy link

aindriu80 commented Oct 27, 2020

@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.

@aplatypus
Copy link

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

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

6 participants