-
Notifications
You must be signed in to change notification settings - Fork 5
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
Unable to play: install VLC #3
Comments
Is it configurable? You can do (if that works you can make it permanent with |
Sorry, where can I find |
You don't need to find it anywhere, its what you configure inside the application to run. |
The application lets you play videos that use codecs that are not supported by default within WebTorrent using VLC. You can select another executable using an open file dialog. |
https://github.com/flathub/io.github.GnomeMpv/blob/master/io.github.GnomeMpv.json#L49-L158 |
It seems that we can't easily patch the app to use MPV instead of VLC, instead of building the whole MPV within this one, reported upstream so they open files using xdg-open to fix this issue for us. I suppose this can be closed as an upstream issue. |
is there a way to be able to select VLC from the file explorer which opens when you want to select the player to use? I don't really understand, what is the problem actually? from my point of view I think it is missing permissions to access the VLC executable. I'm new to Flatpak so I would take any guidance to make the appropriate changes on my side. |
@Zorrototo Flatpaks are sandboxes, they cannot see or execute anything on the host directly. |
Yep that's what I figured out after posting, that is how flatpacks work so I guess maybe a workaround could be to implement VLC with WebTorrent in the same flatpak, but that seems like complicated. I was using this flatpack version of WebTorrent because it is currently broken on Arch based distros recently and this version here worked instantly but with these issues. |
This is the correct answer. The webtorrent client doesnt have an option to use a custom command for the external player, instead it forces you to select a file, but you can just create a sh file and select it. Just be sure it has +x permission, and it's on the Downloads folder, so the sandbox allow it to access.
Then run WebTorrent, go to Edit > Preferences > Playback > External player. Click on "CHANGE" and select the file ~/Downloads/spawn-vlc.sh It will work after that. |
How would one use flatseal to allow Webtorrent access to specific file paths of video players, using the 'filesystem' permissions? |
What if VLC is also installed as Flatpak? |
I think the sandbox prevents the program from executing /usr/bin/vlc. If it's possible, how can I grant that permission?
The text was updated successfully, but these errors were encountered: