webtorrent / webtorrent-desktop

❤️ Streaming torrent app for Mac, Windows, and Linux
https://webtorrent.io/desktop
MIT License
9.67k stars 1k forks source link

Webtorrent does not recognize flatpak installed vlc #2094

Closed kumavis closed 2 years ago

kumavis commented 2 years ago

i can run vlc from the cli as flatpak run org.videolan.VLC

kumavis commented 2 years ago

looks like this case should be covered https://github.com/feross/vlc-command/blob/3a18baefa38b8889709acdf220d9bae3a227f5b8/index.js#L64

kumavis commented 2 years ago

i think the issue might be that webtorrent is also installed via flatpak and has insufficient permissions to run vlc

➜ flatpak info --show-permissions org.videolan.VLC
[Context]
shared=network;ipc;
sockets=x11;pulseaudio;
devices=all;
filesystems=xdg-config/kdeglobals:ro;host;xdg-run/gvfs;

[Session Bus Policy]
org.freedesktop.Notifications=talk
org.kde.kwalletd=talk
org.mpris.MediaPlayer2.vlc=own
org.kde.kwalletd5=talk
org.freedesktop.secrets=talk
org.freedesktop.ScreenSaver=talk
com.canonical.AppMenu.Registrar=talk
org.mpris.MediaPlayer2.Player=talk
github-actions[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

S7venLights commented 1 year ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

https://github.com/flathub/io.webtorrent.WebTorrent/issues/3 is relevant/linked to this issue.