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

Commit

Permalink
Merge pull request #166 from Azure/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
xpouyat authored Apr 4, 2023
2 parents 0efb6da + 3b94940 commit ed4182e
Show file tree
Hide file tree
Showing 27 changed files with 2,764 additions and 2,558 deletions.
2 changes: 1 addition & 1 deletion AMSExplorer/AMSClient/AMSClientV3.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public AMSClientV3(AzureEnvironment myEnvironment, string azureSubscriptionId, C
.WithAuthority(environment.AADSettings.AuthenticationEndpoint + string.Format("{0}", credentialsEntry.AadTenantId ?? "common"))
.WithDefaultRedirectUri()
//.WithRedirectUri("http://localhost")
.WithBrokerPreview(true)
.WithBroker(true)
.Build();
}
else // SP
Expand Down
13 changes: 6 additions & 7 deletions AMSExplorer/AMSExplorer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
<TargetFramework>net7.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<StartupObject>AMSExplorer.Program</StartupObject>
<Version>5.5.2.0</Version>
<Version>5.7.1.0</Version>
<ApplicationIcon>Azure Explorer_ico.ico</ApplicationIcon>
<Description></Description>
<Copyright>Copyright © 2023</Copyright>
<Company>$(Authors)Microsoft</Company>
<AssemblyVersion>5.7.0.0</AssemblyVersion>
<FileVersion>5.7.0.0</FileVersion>
<AssemblyVersion>5.7.1.0</AssemblyVersion>
<FileVersion>5.7.1.0</FileVersion>
<AppDesignerFolder>Properties</AppDesignerFolder>
<PackageIcon>Azure Explorer.png</PackageIcon>
<PackageIconUrl />
Expand Down Expand Up @@ -90,7 +90,7 @@
<ItemGroup>
<PackageReference Include="Azure.Monitor.Query" Version="1.1.0" />
<PackageReference Include="Azure.ResourceManager" Version="1.4.0" />
<PackageReference Include="Azure.ResourceManager.Media" Version="1.1.0" />
<PackageReference Include="Azure.ResourceManager.Media" Version="1.2.0" />
<PackageReference Include="Azure.ResourceManager.Resources" Version="1.4.0" />
<PackageReference Include="Azure.ResourceManager.Storage" Version="1.1.1" />
<PackageReference Include="DocumentFormat.OpenXml" Version="2.19.0" />
Expand All @@ -100,11 +100,10 @@
<PackageReference Include="Microsoft.Azure.Storage.DataMovement" Version="2.0.4" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
<PackageReference Include="Microsoft.Identity.Client.Broker" Version="4.50.0-preview" />
<PackageReference Include="Microsoft.Identity.Client.NativeInterop" Version="0.13.6" />
<PackageReference Include="Microsoft.Identity.Client.Broker" Version="4.52.0" />
<PackageReference Include="Microsoft.Rest.ClientRuntime" Version="2.3.24" />
<PackageReference Include="Microsoft.Rest.ClientRuntime.Azure.Authentication" Version="2.4.1" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1587.40" />
<PackageReference Include="Microsoft.Web.WebView2" Version="1.0.1661.34" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.27.0" />
<PackageReference Include="System.Linq.Async.Queryable" Version="6.0.1" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion AMSExplorer/AssetInformation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2629,7 +2629,7 @@ private async Task DoCreateTexttrackFromBlobAsync()
{
// TODO2023
// this properties should be written but v1 of the SDK has this constraint
//LanguageCode = form.LanguageCode,
// LanguageCode = form.LanguageCode,
DisplayName = form.LanguageDisplayName,
FileName = bl.Name,
PlayerVisibility = form.VisibleInPlayer ? PlayerVisibility.Visible : PlayerVisibility.Hidden,
Expand Down
2 changes: 1 addition & 1 deletion AMSExplorer/BatchUploadFrame2.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion AMSExplorer/BatchUploadFrame2.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public BatchUploadFrame2(string BatchFolderPath, bool BatchProcessFiles, bool Ba
}
}

private async void BathUploadFrame2_LoadAsync(object sender, EventArgs e)
private void BathUploadFrame2_Load(object sender, EventArgs e)
{
// DpiUtils.InitPerMonitorDpi(this);

Expand Down
2 changes: 1 addition & 1 deletion AMSExplorer/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public static class Constants
public const string Webview2Installer = "https://go.microsoft.com/fwlink/p/?LinkId=2124703";
public const string Webview2RegPath64 = "SOFTWARE\\WOW6432Node\\Microsoft\\EdgeUpdate\\Clients\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}";
public const string Webview2RegPath32 = "SOFTWARE\\Microsoft\\EdgeUpdate\\Clients\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}";
public const string Webview2MinVersion = "110.0.1587.40";
public const string Webview2MinVersion = "111.0.1661.34";

public const string GitHubAMSEVersionPrimaryV3 = "https://raw.githubusercontent.com/Azure/Azure-Media-Services-Explorer/main/versionv3.json";
public const string GitHubAMSEVersionSecondaryV3 = "https://amsexplorer.azureedge.net/release/versionv3.json";
Expand Down
5 changes: 0 additions & 5 deletions AMSExplorer/DataGrid/DataGridViewAssets.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
using Azure;
using Azure.ResourceManager.Media;
using Azure.ResourceManager.Media.Models;
using Microsoft.Rest.Azure;
using Microsoft.Rest.Azure.OData;
using System;
using System.Collections.Generic;
Expand Down Expand Up @@ -64,7 +63,6 @@ public class DataGridViewAssets : DataGridView
private static readonly Bitmap Bluestreamimage = Program.MakeBlue(Streaminglocatorimage);
private static readonly Bitmap BitmapCancel = Program.MakeRed(Bitmaps.cancel);
private static BindingList<AssetEntry> _MyObservAssetV3;
private IPage<MediaAssetResource> firstpage;
private SynchronizationContext _syncontext;

public int CurrentPage => _currentPageNumber;
Expand All @@ -83,7 +81,6 @@ public SearchObject SearchInName
set => _searchinname = value;
}


public string StateFilter
{
get => _statefilter;
Expand Down Expand Up @@ -618,8 +615,6 @@ Equals Greater than Less Than Ascending Descending
BeginInvoke(new Action(() => FindForm().Cursor = Cursors.Default));
}



/// <summary>
/// Returns a bitmap for publication
/// </summary>
Expand Down
Loading

0 comments on commit ed4182e

Please sign in to comment.