Skip to content

Fix codec URL when Windows Media Player cannot play a file #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
4 changes: 2 additions & 2 deletions AcManager.Tools.Tests/AcManager.Tools.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="AcTools.AcdEncryption, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>..\Output\x86\Debug\AcTools.AcdEncryption.dll</HintPath>
<HintPath>..\Libraries\AcTools\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 AcManager/AcManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<HintPath>..\Libraries\AcTools\AcTools.AcdEncryption.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="AcTools.AcdEncryption, Culture=neutral">
<Reference Include="AcTools.Kn5Tools, Culture=neutral">
<HintPath>..\Libraries\AcTools\AcTools.Kn5Tools.dll</HintPath>
<SpecificVersion>False</SpecificVersion>
</Reference>
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