Skip to content
This repository has been archived by the owner on Mar 16, 2022. It is now read-only.

Commit

Permalink
Release 8: Fixed placeholder.
Browse files Browse the repository at this point in the history
  • Loading branch information
zkhcohen committed Apr 12, 2021
1 parent 356bc74 commit 41b2795
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
4 changes: 3 additions & 1 deletion CHANGLOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
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.
Binary file modified Plugins/mb_Spectrogram-Display.dll
Binary file not shown.
6 changes: 3 additions & 3 deletions Source Files/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]

6 changes: 3 additions & 3 deletions Source Files/Spectrogram-Display.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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));


Expand Down
3 changes: 2 additions & 1 deletion Source Files/SpectrogramPlugin.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>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"</PostBuildEvent>
<PostBuildEvent>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"</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

0 comments on commit 41b2795

Please sign in to comment.