From 41b2795111ed8b4caa09642cae2977c18a91b4ad Mon Sep 17 00:00:00 2001 From: zkhcohen Date: Sun, 11 Apr 2021 22:12:31 -0700 Subject: [PATCH] Release 8: Fixed placeholder. --- CHANGLOG.txt | 4 +++- Plugins/mb_Spectrogram-Display.dll | Bin 74752 -> 74752 bytes Source Files/Properties/AssemblyInfo.cs | 6 +++--- Source Files/Spectrogram-Display.cs | 6 +++--- Source Files/SpectrogramPlugin.csproj | 3 ++- 5 files changed, 11 insertions(+), 8 deletions(-) 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 14bafdb4b65dd6959d97b271262aa44b152efef7..c02eda3cdfa3a62fdc9148b76b4e6af6aa57f3c2 100644 GIT binary patch delta 918 zcmXw&TSydP6vzK(Z_aFco7L>NC0$HXh@}W) zmkpQzqijRD3EE#J zhe)fyHr^K4al0KzeFlsu;8LqBV}iSUSR~jiLtemEsy=nDx6zdP)3cAFCxTJHaat6R z3I+gYv0btU>-iAcVL4qW;%JO@$-X3bL{lA-Be%#`sgC&)%P6D%TywwT@}scU!61fFX*1ntcDzZh4qDwY1-_>pr*WrOq>7{F$9N2(4Q#%fgF4Y;C z=XAQSQyNRd+gY2sY@%Do7bZn?`e0H(r*8)FD|}p7$rsn!Zf%mzxmM%sc-s_acV9bFS&TrMq(+HN1iZL{( zA3Iw+Dt1d@^q`sTLER>hSnFa1r+O#Cp!=-u@Eihr1pRdF=6TMGy1eT_ljZ z#+*B?Y_mchT0wHY%tK#E@%U(9@e>=6;W@5h|9{meSsz8bf;pU~S6=(5kFF?n5(Ox( z?3L(cT@)fGwc!-{kwPB^Z~@)y`*BQv*hT(ONhDZLa%2Ed4*2Puy#Zm!`8R&LN5)wh jE}?q29@ZqToy|{|P|Tf`1+mijxpr;JOVw1MtX%XDTn)NK delta 940 zcmXw&ZAepL6vzK(Z@RI~dzYD&*4Bt_HMXUjVk#(3XZA)}M)e`57K56}a@cyIq!@)o z8QiqJ5hPOhp*{$md+)mN{GanX|8wqr9ys^>3)A@* zrtBr-L_Y&;PGaCq1a?U}%{C-+T+w!BVq5Kr> z^GH5YJJ89?05h^tVE8MbX91JqF#N6Zj#^NU7QVSkC;4dg z_!H7eVQRoaSf^V|jTo-e=`vF@KCQ{$?pm?&o|b%uhKi+V!z+z4NJT7&;8=&+kbzV& zYK_3BeD7-Avbsm~qZ`ev2Q}?Sg5#q&#d-phN_6}It^F;w*iK{C(5vZeSssGx3v0kd zLLPfvv)(bJl$F=#$yfrj;<#}rCiD)>J8v6<+s8h3jQrgEZbCWpw@q}o2#y1>{&*~z zcDKpTZR9o9`@@Af8?7SQZl@U^&ttE8P6Mwh9-B!h)Sj$yHSxLA9+;jomp<1xbaqPWnN)V5#gBXmII_3CQwb`*{EV_~e{GfwB^9 zTFof#@>_vobVc4Il9%H0UXfllG{MP5Z8(kuh7iLb(%8X!0*AGi9pJbhan>X|ZmlxT z-k`k8MI+{V_z^C=cF`TuV>wk$wGJ)KmO5px3XjSu;;_2)U#_#MAg-Z#K7YwS)eFAT 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"