diff --git a/CHANGLOG.txt b/CHANGLOG.txt index 28c66c5..8a80432 100644 --- a/CHANGLOG.txt +++ b/CHANGLOG.txt @@ -44,4 +44,6 @@ Update 7.3: Fixed an issue which caused a System.OverflowException when listenin Update 7.4: Re-fixed the issue using a Bind. -Update 7.5: Now using file hashes to name images. Created rounding to reduce the number of images created. Fixed scaling on images. \ No newline at end of file +Update 7.5: Now using file hashes to name images. Created rounding to reduce the number of images created. Fixed scaling on images. + +Update 8: Fixed placeholder. \ No newline at end of file diff --git a/Plugins/mb_Spectrogram-Display.dll b/Plugins/mb_Spectrogram-Display.dll index 14bafdb..c02eda3 100644 Binary files a/Plugins/mb_Spectrogram-Display.dll and b/Plugins/mb_Spectrogram-Display.dll differ diff --git a/Source Files/Properties/AssemblyInfo.cs b/Source Files/Properties/AssemblyInfo.cs index 4d022b2..1936c6a 100644 --- a/Source Files/Properties/AssemblyInfo.cs +++ b/Source Files/Properties/AssemblyInfo.cs @@ -5,13 +5,13 @@ [assembly: AssemblyTitle("Spectrogram-Display")] [assembly: AssemblyDescription("This MusicBee Add-in generates a spectrogram for the currently playing song.")] [assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Zachary Cohen")] +[assembly: AssemblyCompany("zkhcohen")] [assembly: AssemblyProduct("Spectrogram-Display")] [assembly: AssemblyCopyright("Copyright © 2021")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] [assembly: ComVisible(false)] -[assembly: AssemblyVersion("1.7.5.0")] -[assembly: AssemblyFileVersion("1.7.5.0")] +[assembly: AssemblyVersion("1.8.0.0")] +[assembly: AssemblyFileVersion("1.8.0.0")] [assembly: Guid("8CF1147C-B290-4A4B-9F0E-50B064C35866")] diff --git a/Source Files/Spectrogram-Display.cs b/Source Files/Spectrogram-Display.cs index 11e0efc..ba2d3ba 100644 --- a/Source Files/Spectrogram-Display.cs +++ b/Source Files/Spectrogram-Display.cs @@ -304,8 +304,8 @@ public PluginInfo Initialise(IntPtr apiInterfacePtr) about.Author = "zkhcohen"; about.Type = PluginType.PanelView; about.VersionMajor = 1; - about.VersionMinor = 7; - about.Revision = 5; + about.VersionMinor = 8; + about.Revision = 0; about.MinInterfaceVersion = MinInterfaceVersion; about.MinApiRevision = MinApiRevision; about.ReceiveNotifications = ReceiveNotificationFlags.PlayerEvents | ReceiveNotificationFlags.TagEvents; @@ -586,7 +586,7 @@ private void DrawPanel(object sender, PaintEventArgs e) LogMessageToFile("Image found."); var image = Image.FromFile(Placeholder, true); - image = new Bitmap(image, new Size(_spectWidth, _spectHeight)); + image = new Bitmap(image, new Size(panel.Width, panel.Height)); e.Graphics.DrawImage(image, new Point(0, 0)); diff --git a/Source Files/SpectrogramPlugin.csproj b/Source Files/SpectrogramPlugin.csproj index 4ec51dd..57d20b2 100644 --- a/Source Files/SpectrogramPlugin.csproj +++ b/Source Files/SpectrogramPlugin.csproj @@ -133,7 +133,8 @@ - copy /Y "C:\Users\zacha\Desktop\Local Files\MusicBee Plugin Development\DEVELOPMENT\mb_Spectrogram-Display\Source Files\bin\Release\mb_Spectrogram-Display.dll" "C:\Users\zacha\Desktop\Local Files\MusicBee\Plugins\mb_Spectrogram-Display.dll" + copy /Y "C:\Users\zacha\Desktop\Local Files\MusicBee Plugin Development\DEVELOPMENT\mb_Spectrogram-Display\Source Files\bin\Release\mb_Spectrogram-Display.dll" "C:\Users\zacha\Desktop\Local Files\MusicBee\Plugins\mb_Spectrogram-Display.dll" +copy /Y "C:\Users\zacha\Desktop\Local Files\MusicBee Plugin Development\DEVELOPMENT\mb_Spectrogram-Display\Source Files\bin\Release\mb_Spectrogram-Display.dll" "C:\Users\zacha\Desktop\Local Files\MusicBee Plugin Development\DEVELOPMENT\mb_Spectrogram-Display\Plugins\mb_Spectrogram-Display.dll"