Skip to content

Commit

Permalink
Fix URL when WMP cannot play a file
Browse files Browse the repository at this point in the history
  • Loading branch information
KarboniteKream committed Jan 23, 2022
1 parent fb5217b commit 3770693
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions AcManager.Controls/Video/WindowsMediaPlayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ private void UpdateErrorMessage(string filename) {
string url;
var extension = Path.GetExtension(filename)?.Replace(@".", "").ToLowerInvariant();
switch (extension) {
case ".ogv":
case "ogv":
url = @"https://xiph.org/dshow/";
break;

case ".webm":
case "webm":
url = @"https://tools.google.com/dlpage/webmmf/";
break;

Expand Down
2 changes: 1 addition & 1 deletion AcManager.Tools.Tests/AcManager.Tools.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<HintPath>..\Output\x86\Debug\AcTools.AcdEncryption.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\Output\x86\Debug\Newtonsoft.Json.dll</HintPath>
<HintPath>..\Libraries\Newtonsoft.Json\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=3.7.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb">
<HintPath>..\packages\NUnit.3.7.1\lib\net45\nunit.framework.dll</HintPath>
Expand Down
2 changes: 1 addition & 1 deletion AcTools.ExtraKn5Utils/AcTools.ExtraKn5Utils.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<HintPath>..\packages\JetBrains.Annotations.10.4.0\lib\net\JetBrains.Annotations.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\Output\x86\Debug\Newtonsoft.Json.dll</HintPath>
<HintPath>..\Libraries\Newtonsoft.Json\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="SlimDX, Culture=neutral, processorArchitecture=$(ActualPlatform)">
<HintPath>..\Libraries\SlimDX-$(ActualPlatform)\SlimDX.dll</HintPath>
Expand Down

0 comments on commit 3770693

Please sign in to comment.