Skip to content
This repository has been archived by the owner on Jan 23, 2025. It is now read-only.

Commit

Permalink
Fix an issue with empty name for clear key ck policy
Browse files Browse the repository at this point in the history
  • Loading branch information
xpouyat committed Dec 1, 2023
1 parent d40e2ec commit 3a7d1bc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
11 changes: 8 additions & 3 deletions AMSExplorer.sln
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29215.179
# Visual Studio Version 17
VisualStudioVersion = 17.8.34316.72
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AMSExplorer", "AMSExplorer\AMSExplorer.csproj", "{67573AA5-0316-4C90-8CE4-93A950CD0A86}"
EndProject
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup", "Setup\Setup.vdproj", "{BA871D4E-EAAC-4CC7-8A5D-15F4B5B4BDB4}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A57C3173-7DA2-4A4A-A9EF-D3E688A16BD7}"
ProjectSection(SolutionItems) = preProject
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
CD_ROM|Any CPU = CD_ROM|Any CPU
Expand Down Expand Up @@ -37,7 +42,7 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EnterpriseLibraryConfigurationToolBinariesPath = packages\TransientFaultHandling.Core.5.1.1209.1\lib\NET4
SolutionGuid = {56028331-830B-4377-8919-694B44B54A0F}
EnterpriseLibraryConfigurationToolBinariesPath = packages\TransientFaultHandling.Core.5.1.1209.1\lib\NET4
EndGlobalSection
EndGlobal
3 changes: 3 additions & 0 deletions AMSExplorer/Mainform.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2518,6 +2518,9 @@ private async Task DoCreateLocatorAsync(List<MediaAssetResource> SelectedAssets,
configuration: new Azure.ResourceManager.Media.Models.ContentKeyPolicyClearKeyConfiguration(),
restriction: formClearKeyTokenClaims[0].GetContentKeyPolicyRestriction
)
{
Name = "Clear Key option"
}
);
}

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ The subscription name is also called the resource name and is available in the p

An MK/IO token can be obtained by following the directions contained in this [article](https://support.mediakind.com/portal/en/kb/articles/how-to-use-mkio-apis-step-by-step).

AMSE relies on the MK/IO SDK available [here](https://www.nuget.org/packages/MK.IO).

## Notes

You can force the English or Japanese language by using /language:en-US or /language:ja-JA as a parameter of the AMSExplorer.exe executable.
Expand Down

0 comments on commit 3a7d1bc

Please sign in to comment.