From 494d40858351bbe4a83c98758440621d3fcdc5c9 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 7 Sep 2013 15:37:02 +0200 Subject: macosx_application: handle mpv:// links Pretty useful for people writing userscripts for web browsers. Links starting with 'mpv://' are forwarded to the mpv OSX bundle. The leading 'mpv://' is stripped from the recived url and the rest of the string is inserted as is in the playlist. --- TOOLS/osxbundle/mpv.app/Contents/Info.plist | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'TOOLS') diff --git a/TOOLS/osxbundle/mpv.app/Contents/Info.plist b/TOOLS/osxbundle/mpv.app/Contents/Info.plist index 4c9340d808..152e118416 100644 --- a/TOOLS/osxbundle/mpv.app/Contents/Info.plist +++ b/TOOLS/osxbundle/mpv.app/Contents/Info.plist @@ -186,6 +186,16 @@ CFBundleURLTypes + + CFBundleTypeRole + Viewer + CFBundleURLName + mpv Custom Protocol + CFBundleURLSchemes + + mpv + + CFBundleTypeRole Viewer -- cgit v1.2.3