Skip to content

Commit

Permalink
Merge pull request #27 from SuchByte/feature/fix-websocket5
Browse files Browse the repository at this point in the history
Feature/fix websocket5
  • Loading branch information
RecklessBoon authored Oct 6, 2022
2 parents 648a6db + 4312bf4 commit 84967a4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ExtensionManifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"author": "Macro Deck",
"repository": "https://github.com/SuchByte/Macro-Deck-OBS-WebSocket-Plugin",
"packageId": "SuchByte.OBS-WebSocketPlugin",
"version": "1.4.0",
"version": "1.4.1",
"target-plugin-api-version": 32,
"dll": "OBS-WebSocket Plugin.dll"
}
4 changes: 2 additions & 2 deletions Macro-Deck-OBS-WebSocket.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Authors>Macro Deck</Authors>
<Company>Macro Deck</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<Version>1.4.0</Version>
<Version>1.4.1</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
<NeutralLanguage>en</NeutralLanguage>
<PackageProjectUrl>https://github.com/SuchByte/Macro-Deck-OBS-WebSocket-Plugin</PackageProjectUrl>
Expand All @@ -32,7 +32,7 @@

<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="OBSWebSocket5" Version="0.0.1" />
<PackageReference Include="OBSWebSocket5" Version="0.0.2" />
<PackageReference Include="System.Drawing.Common" Version="5.0.2" />
</ItemGroup>

Expand Down
2 changes: 1 addition & 1 deletion Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ private void Obs_SceneItemVisibilityChanged5(object sender, OBSWebSocket5.Events
string sceneItemName = args.SceneItemId.ToString();
foreach(JObject item in sceneItems.SceneItems)
{
if (item["sceneItemId"].Equals(args.SceneItemId) && item["sourceName"] != null)
if (item["sceneItemId"].ToString().Equals(args.SceneItemId.ToString()) && item["sourceName"] != null)
{
sceneItemName = item["sourceName"].ToString();
break;
Expand Down

0 comments on commit 84967a4

Please sign in to comment.