socket in client, new set of icons

This commit is contained in:
michalcourson
2026-02-28 11:17:37 -05:00
parent 69c9d80a82
commit ab57d8ef22
43 changed files with 114 additions and 81 deletions

View File

@ -53,6 +53,8 @@ namespace ClipTrimDotNet.Client
var response = ctx.GetValue<List<CollectionMetaData>>(0);
Logger.Instance.LogMessage(TracingLevel.INFO, $"full_data event {JsonConvert.SerializeObject(response)}");
Collections = response!;
Player.TickAll();
PageNavigator.TickAll();
//Logger.Instance.LogMessage(TracingLevel.INFO, $"Collections {JsonConvert.SerializeObject(Collections)}");
}
catch (Exception ex)
@ -71,6 +73,8 @@ namespace ClipTrimDotNet.Client
if (index != -1)
{
Collections[index] = response;
Player.TickAll();
PageNavigator.TickAll();
}
}
catch

View File

@ -20,6 +20,20 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<OutputPath>bin\Release\ClipTrimDotNet.sdPlugin\</OutputPath>
</PropertyGroup>
<ItemGroup>
<None Remove="Images\app_icon.png" />
<None Remove="Images\back.png" />
<None Remove="Images\category_icon.png" />
<None Remove="Images\collection.png" />
<None Remove="Images\collection_icon.png" />
<None Remove="Images\page_nav.png" />
<None Remove="Images\page_nav_icon.png" />
<None Remove="Images\player.png" />
<None Remove="Images\player_icon.png" />
<None Remove="Images\record.png" />
<None Remove="Images\record_icon.png" />
<None Remove="manifest.json" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="CommandLineParser" Version="2.9.1" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0" />
@ -54,34 +68,43 @@
<None Update="DialLayout.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="manifest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<Content Include="!!README!!.txt" />
<Content Include="Images\categoryIcon%402x.png">
<Content Include="Images\app_icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\categoryIcon.png">
<Content Include="Images\back.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\icon%402x.png">
<Content Include="Images\category_icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\icon.png">
<Content Include="Images\collection.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\pluginAction%402x.png">
<Content Include="Images\collection_icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\pluginAction.png">
<Content Include="Images\page_nav.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\pluginIcon%402x.png">
<Content Include="Images\page_nav_icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\pluginIcon.png">
<Content Include="Images\player_icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\record.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\player.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="Images\record_icon.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="manifest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="package.json" />

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@ -60,7 +60,7 @@ namespace ClipTrimDotNet.Keys
private async void SetTitle()
{
await Connection.SetTitleAsync(settings.ProfileName + " B");
await Connection.SetTitleAsync(settings.ProfileName);
}
private async void Connection_OnSendToPlugin(object? sender, SDEventReceivedEventArgs<BarRaider.SdTools.Events.SendToPlugin> e)

View File

@ -2,11 +2,11 @@
"Actions": [
{
"Icon": "Images/icon",
"Icon": "Images/player_icon",
"Name": "Player",
"States": [
{
"Image": "Images/pluginAction",
"Image": "Images/player",
"TitleAlignment": "middle",
"FontSize": 11
}
@ -17,26 +17,26 @@
"PropertyInspectorPath": "PropertyInspector/file_player.html"
},
{
"Icon": "Images/icon",
"Name": "Profile Switcher",
"Icon": "Images/collection_icon",
"Name": "Collection Selector",
"States": [
{
"Image": "Images/pluginAction",
"Image": "Images/collection",
"TitleAlignment": "middle",
"FontSize": 11
}
],
"SupportedInMultiActions": false,
"Tooltip": "Selects which sub folder to use and opens effect profile",
"Tooltip": "Selects which collection to use",
"UUID": "com.michal-courson.cliptrim.profile-switcher",
"PropertyInspectorPath": "PropertyInspector/profile_swticher.html"
},
{
"Icon": "Images/icon",
"Icon": "Images/page_nav_icon",
"Name": "Page Navigator",
"States": [
{
"Image": "Images/pluginAction",
"Image": "Images/page_nav",
"TitleAlignment": "middle",
"FontSize": 16
}
@ -47,11 +47,11 @@
"PropertyInspectorPath": "PropertyInspector/file_player.html"
},
{
"Icon": "Images/icon",
"Icon": "Images/record_icon",
"Name": "Save Clip",
"States": [
{
"Image": "Images/pluginAction",
"Image": "Images/record",
"TitleAlignment": "middle",
"FontSize": 16
}
@ -65,11 +65,11 @@
"Author": "Michal Courson",
"Name": "ClipTrimDotNet",
"Description": "Pairs with cliptrim for easy voice recording and trimming",
"Icon": "Images/pluginIcon",
"Icon": "Images/app_icon",
"Version": "0.1.0.0",
"CodePath": "ClipTrimDotNet.exe",
"Category": "ClipTrimDotNet",
"CategoryIcon": "Images/categoryIcon",
"Category": "ClipTrim",
"CategoryIcon": "Images/category_icon",
"UUID": "com.michal-courson.cliptrim",
"OS": [
{