diff --git a/src/Misc/Misc.cs b/src/Misc/Misc.cs index bfe1913..f8c3072 100644 --- a/src/Misc/Misc.cs +++ b/src/Misc/Misc.cs @@ -83,6 +83,8 @@ namespace mpvnet RegistryHelp.SetValue(@"HKCU\Software\Microsoft\Windows\CurrentVersion\App Paths\" + ExeFilename, null, ExePath); RegistryHelp.SetValue(@"HKCR\ytdl", "URL Protocol", ""); RegistryHelp.SetValue(@"HKCR\ytdl\shell\open\command", null, $"\"{ExePath}\" \"%1\""); + RegistryHelp.SetValue(@"HKCR\rtsp", "URL Protocol", ""); + RegistryHelp.SetValue(@"HKCR\rtsp\shell\open\command", null, $"\"{ExePath}\" \"%1\""); RegistryHelp.SetValue(@"HKCR\Applications\" + ExeFilename, "FriendlyAppName", "mpv.net media player"); RegistryHelp.SetValue(@"HKCR\Applications\" + ExeFilename + @"\shell\open\command", null, $"\"{ExePath}\" \"%1\""); RegistryHelp.SetValue(@"HKCR\SystemFileAssociations\video\OpenWithList\" + ExeFilename, null, ""); diff --git a/src/Package/Package.appxmanifest b/src/Package/Package.appxmanifest index c1401d6..707d3eb 100644 --- a/src/Package/Package.appxmanifest +++ b/src/Package/Package.appxmanifest @@ -113,6 +113,10 @@ + + + +