andy-portmen / open-in-vlc

a browser extension to send media links to VLC media player
https://webextension.org/listing/open-in-vlc.html
Mozilla Public License 2.0
113 stars 54 forks source link

Open using flatpak vlc? #12

Closed mabequinho closed 4 years ago

andy-portmen commented 4 years ago

Is there a terminal command to access this flatpak VLC?

mabequinho commented 4 years ago

flatpak run org.videolan.VLC

andy-portmen commented 4 years ago

pack the command in a batch script and insert the path of this script as the path of VLC on the options page

mabequinho commented 4 years ago

well, since i am running linux(FedoraSilverblue31) ive created the following bash script.

#!/bin/bash
flatpak run org.videolan.VLC

PATH to VLC executable: /var/home/erika/vlc.sh

It didn't work, just open an empty vlc.

mabequinho commented 4 years ago

Maybe it could work by adding flatpak binary to PATH, and using arguments(run org.videolan.VLC) .

Although i understand if u dont wanna support this

mabequinho commented 4 years ago
#!/bin/bash
flatpak run org.videolan.VLC "$@"

worked, thank you for your time