Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Kade-github committed Dec 19, 2023
1 parent 0312746 commit 9009b71
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions BombRushRadio.csproj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net462</TargetFramework>
<TargetFramework>net461</TargetFramework>
<AssemblyName>BombRushRadio</AssemblyName>
<Description>Allows adding custom music tracks to Bomb Rush Cyberfunk.</Description>
<Version>1.6.1</Version>
<Version>1.7</Version>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<LangVersion>11</LangVersion>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion Helpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static string[] GetMetadata(string filePath, bool oldMethod)
songArtist = songArtist.Trim();
}

return [songArtist, songName.Trim()];
return new[]{songArtist, songName.Trim()};
}

public static string FormatMetadata(string[] metadata, string type)
Expand Down
2 changes: 1 addition & 1 deletion Plugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void SanitizeSongs()
Logger.LogInfo("[BRR] Adding " + tr.Title);
}

if (Loaded.FirstOrDefault(l => l == Helpers.FormatMetadata([tr.Artist, tr.Title], "dash")) == null)
if (Loaded.FirstOrDefault(l => l == Helpers.FormatMetadata(new []{tr.Artist, tr.Title}, "dash")) == null)
{
Logger.LogInfo("[BRR] Removing " + tr.Title);
toRemove.Add(tr);
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You can also use folders, like this:
# Config

```
## Settings file was created by plugin Bomb Rush Radio! v1.4
## Settings file was created by plugin Bomb Rush Radio! v1.7
## Plugin GUID: kade.bombrushradio
[Audio]
Expand Down

0 comments on commit 9009b71

Please sign in to comment.