stefansundin / vlc-protocol

Open vlc:// links directly from your web browser.
https://tinyurl.com/hv8d778
GNU General Public License v3.0
194 stars 41 forks source link

Simple and efficient - Love it ! #5

Open lc-thomas opened 6 years ago

lc-thomas commented 6 years ago

Hey, just passing by and saying thanks, this works great on Fedora.

Kudos !

stefansundin commented 6 years ago

Great to hear! :)

We can leave this issue open as an appreciation thread. 🎉

Write whatever you want in here.

psociety commented 4 years ago

Thank you for creating this!

robertyung001 commented 2 years ago

I totally love this! I was trying to find a way so that when I browse to a video link on my nas, the link will automatically open in vlc without me having to manually trigger it. This totally helps to achieve that!

Brief of how I did it:

  1. Install chrome extension 'Open with VLC'
  2. Install chrome extension REDIRECTOR
  3. Add redirect rule to add vlc:// to url matching one to NAS
  4. Install the vlc:// handler (easy version with batch file)
  5. The default batch file will truncate a url if it encounters a &, so I had to modify the batch as such:

    Setlocal EnableDelayedExpansion set url=%1 start "VLC" "%~dp0vlc.exe" "%url:~7%"

My browser would originally popup a window asking me if it's ok that this site is trying to open the vlc handler batch file. I've found ways to disable that popup so now everything works automatically.