mirror of
https://github.com/jellyfin/jellyfin-uwp.git
synced 2024-11-23 05:59:43 +00:00
Merge pull request #28 from Killerherts/mouse
Switch controller to mouse mode
This commit is contained in:
commit
b99c7ea433
@ -58,7 +58,7 @@ namespace Jellyfin.Controls
|
||||
|
||||
private async void JellyfinWebView_NavigationCompleted(Windows.UI.Xaml.Controls.WebView sender, WebViewNavigationCompletedEventArgs args)
|
||||
{
|
||||
await WView.InvokeScriptAsync("eval", new string[] { "navigator.gamepadInputEmulation = 'gamepad';" });
|
||||
await WView.InvokeScriptAsync("eval", new string[] { "navigator.gamepadInputEmulation = 'mouse';" });
|
||||
}
|
||||
|
||||
private void JellyfinWebView_ContainsFullScreenElementChanged(Windows.UI.Xaml.Controls.WebView sender, object args)
|
||||
|
@ -18,7 +18,7 @@
|
||||
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WindowsXamlEnableOverview>true</WindowsXamlEnableOverview>
|
||||
<AppxPackageSigningEnabled>True</AppxPackageSigningEnabled>
|
||||
<PackageCertificateThumbprint></PackageCertificateThumbprint>
|
||||
<PackageCertificateThumbprint>EF81D47F070B368F7DF6C161008658187E2A0BDA</PackageCertificateThumbprint>
|
||||
<PackageCertificateKeyFile>Jellyfin_TemporaryKey.pfx</PackageCertificateKeyFile>
|
||||
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
|
||||
<AppxPackageSigningTimestampDigestAlgorithm>SHA256</AppxPackageSigningTimestampDigestAlgorithm>
|
||||
@ -234,7 +234,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.NETCore.UniversalWindowsPlatform">
|
||||
<Version>6.2.9</Version>
|
||||
<Version>6.2.14</Version>
|
||||
</PackageReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
|
Binary file not shown.
@ -7,9 +7,9 @@
|
||||
IgnorableNamespaces="uap mp">
|
||||
|
||||
<Identity
|
||||
Name="20468Jellyfin.Jellyfin"
|
||||
Name="Jellyfin.Jellyfin"
|
||||
Publisher="CN=3D3639CB-31B4-4125-B529-F73741781F84"
|
||||
Version="0.8.0.0" />
|
||||
Version="0.8.1.0" />
|
||||
|
||||
<mp:PhoneIdentity PhoneProductId="937c0b5e-fd4f-4059-bb35-5f17a6af72ea" PhonePublisherId="00000000-0000-0000-0000-000000000000"/>
|
||||
|
||||
|
@ -45,7 +45,7 @@
|
||||
Foreground="{StaticResource Color100}" FontSize="{StaticResource FontM}" />
|
||||
<TextBox x:Name="txtUrl" Style="{StaticResource PrimaryTextBox}" Margin="0 8 0 8" />
|
||||
<TextBlock FontFamily="{StaticResource JellyfinFamilyFont}"
|
||||
Text="ex: 192.168.1.100:8096 or https://myserver.com"
|
||||
Text="ex: 192.168.1.100:8096 or https://myserver.com. The protocol 'http://' and 'https://' will be automatically added."
|
||||
Foreground="{StaticResource Color90}" FontSize="{StaticResource FontS}"
|
||||
Margin="0 0 0 28 "/>
|
||||
<TextBlock
|
||||
|
@ -82,15 +82,8 @@ namespace Jellyfin.Views
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Uri testUri = new Uri(uriString);
|
||||
|
||||
// check scheme
|
||||
if (testUri.Scheme != "http" && testUri.Scheme != "https")
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
//add scheme to uri if not included
|
||||
Uri testUri = new UriBuilder(uriString).Uri;
|
||||
// check URL exists
|
||||
HttpWebRequest request;
|
||||
HttpWebResponse response;
|
||||
|
Loading…
Reference in New Issue
Block a user