From e752e7f35d3a3d81013ed84ab3bf4b13fab09aab Mon Sep 17 00:00:00 2001 From: Frank Riley Date: Thu, 7 Aug 2014 22:18:22 -0700 Subject: [PATCH] Fixed several issues in GrowlService: 1) Calls to the growl SDK were not made in a thread safe manner 2) Loading the icon from a URL did not work in mono, and it made the GrowlService calls take exceptionally long 3) The result of the growl SDK calls was not checked 4) A bug in the growl for windows SDK caused the mono version on unix platforms to not work. A fixed version of the SDK is now included in the build (do not use the NuGet version, it's broken on unix). The bug was reported to growl for windows here: https://code.google.com/p/growl-for-windows/issues/detail?id=48 use var for locals made requested changes from code review Gave state class a better name --- src/Libraries/Growl.Connector.dll | Bin 0 -> 50688 bytes src/Libraries/Growl.CoreLibrary.dll | Bin 0 -> 17408 bytes .../Notifications/Growl/GrowlService.cs | 112 +++++++++++++--- src/NzbDrone.Core/NzbDrone.Core.csproj | 27 +++- .../Properties/Resources.Designer.cs | 73 +++++++++++ src/NzbDrone.Core/Properties/Resources.resx | 124 ++++++++++++++++++ src/NzbDrone.Core/Resources/64.png | Bin 0 -> 3582 bytes src/NzbDrone.Core/packages.config | 1 - 8 files changed, 314 insertions(+), 23 deletions(-) create mode 100644 src/Libraries/Growl.Connector.dll create mode 100644 src/Libraries/Growl.CoreLibrary.dll create mode 100644 src/NzbDrone.Core/Properties/Resources.Designer.cs create mode 100644 src/NzbDrone.Core/Properties/Resources.resx create mode 100644 src/NzbDrone.Core/Resources/64.png diff --git a/src/Libraries/Growl.Connector.dll b/src/Libraries/Growl.Connector.dll new file mode 100644 index 0000000000000000000000000000000000000000..ba848ae440a489b7b6c8eae8af9a1f9551269e9a GIT binary patch literal 50688 zcmdSC3wT^r)i=J*nVBuG)ddoG)a@RrBGXb6+!rZYwdI9k~Vnx-sk^3 z|Fl_WueJAHd+oK?UVH7m&rH^wc{RC+$c^6*J|KDkPySgZ@Wa6vvh$~XGoSAFJyrgI z*8Eg?XK!CJI+U=sC%Oir-Ccu&)^K!dJen98jP?yi8(KS}16EJGHZRX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S06{?EhPKQTk+wH6J$4O&a< z&~)2s4PtATt&eD-r~=KD$|jT*);0$f=rgQdYYEcqbBwwc6j58yhzlXO|6p9T-@PiW ze`X)~pT|wB(rw26-7d2$oehTu!TQ_^G>4W~m6%WsL$Sxp*uP&yIk1TRU%4Cs2A|Ry z?uCeBQb9!J;c%vF;`jb9N-gjlF}@bk*or_#_9E<1Uxwh!yKv3J!u5Ih=ka_4ZeBZ? z-~N)V0?s8JSV*>`ItOtkdx3f+mYCxpaMGEB$B649phV^onUQ3=@H(cLYZ0-Q5oC2M zVzCoRv7On*v~$p=v1~a-o%WV=OVZQ;x4i?fr+@>n+7BTw4+(fI&pNgMk(KXb@u8GM zrjzBckUK|S&q$=;W4Os%=G6qoodk+G#Eec3#*8(lI|pd2R!23~sTgtl$P8oOU_YId zv-fO+`RiakQK#V)ejq`pw}|u)a(l;6{Cj;>z(eL6EXBjhx&w@mVM!(!vC;=VcnSz> zkOJkyVFq6}GRQ-GKN(L3t!EGL)5;6d?%iibtaa3P*w#9Or)!`(xZI$iA|l8t7$m;6A~KvZ@=8%VYIW0MOIAe!${{vd^4; NS{3|X?z4=6e*igmpELjf literal 0 HcmV?d00001 diff --git a/src/Libraries/Growl.CoreLibrary.dll b/src/Libraries/Growl.CoreLibrary.dll new file mode 100644 index 0000000000000000000000000000000000000000..5e67e08f40c03cb8e76163e4d0824db30faa2486 GIT binary patch literal 17408 zcmeHueRLGpk#F_wnVt`gMw$@_FanRvhX)}E3B-r6!3asf*a&1KFvK`8l3LQ3(X`w> z0t5jIu)V?9CQf2<$a4Igwd2H2)(QE*@n*d*_Dje*8}G*CWZ&9xNE|!w#c{k&cKxzR z*4eyYRrg54N1Wum{ITzxZJ6p?b?e?+w{BJ4y4|gg_k4hKBJ$z)+uss>33t9$34C`j zhU(~*e-))Kgr2YdlD7W&>h8gelNh$G0XsdE=uPKxRzA^VChU=1B9lwBZR|=6S$$@G zX=!-2*L7z*(RxiMtL3$>!e~DrRb8T$5M2w3;ZhI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HG^Jh}yW?Fl+3|M1=JHbEF4v29RTSq%MbFZu>BYT^mozpnYBC#^HILn^ zb#K1?kCS9gHa+ks6~fOwI{46uym05k+UV@KI!qctED-QT^%*+*So~0mT^do0m%W1* zBHqDv*AWK-(v1RdDGLPRDeP}-H=E;!w&DHZ74;k1yT_ld)fRNeU%zV99i22@#phzY z7vQwJoZBSEYZ6VB$YL*f6Nisxd5@xL8co8xETmMu#6*DY!6O)p#0Z}v1cF2l#W z8U+?&;hXCl@$IWdenIdDGMe{B5(RvVi)$u_y7&m^L!lNB)k0Zk4qharF zO*x`hffm_@-!&ZC+q&j;T~&Gf&Qy}$?e)MigRJ{i_GnKLc1N0#5llQT3bKd*TYlz&v|v? zFFOiXj?0MxcHzD7_oNfl9e9=7md$qXiB3G)H06yhbNqG=`r%KY|Lgisp#lD?7vHrb zyT4Ez_A0^&_)(ZW12~Pv&?fz@RaThwkL3c9R@-cY`2Q?mJ6f<%U zF5JH<67eyHPh@<8vT*$5Lydc^yA|bL)bO<)-^XaK)d=HmE8(zWRudf7Vz$?LjzR@kRZ}j@- z6=c~9Ygjl&Qqgmn-=(*SIkd@IxX0Q)98Yx0(-n>QX%@S}u69~ZC0#5xeZ u#o;w;!8-8)7_aFt3w{9cyV~&ju?_you1@TI=xl8HpRC9K>gfL?4g6nSg>ohU literal 0 HcmV?d00001 diff --git a/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs b/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs index 88fd7a337..b14991721 100644 --- a/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs +++ b/src/NzbDrone.Core/Notifications/Growl/GrowlService.cs @@ -2,11 +2,16 @@ using System.Collections.Generic; using System.Linq; using System.Threading; +using System.Drawing; +using System.Drawing.Imaging; using FluentValidation.Results; +using Growl.CoreLibrary; using Growl.Connector; using NLog; using NzbDrone.Common.Instrumentation; using GrowlNotification = Growl.Connector.Notification; +using System.Reflection; +using System.IO; namespace NzbDrone.Core.Notifications.Growl { @@ -21,42 +26,121 @@ public class GrowlService : IGrowlService private readonly Logger _logger; private readonly Application _growlApplication = new Application("NzbDrone"); - private GrowlConnector _growlConnector; - private readonly List _notificationTypes; + private readonly NotificationType[] _notificationTypes; + + private class GrowlRequestState + { + private AutoResetEvent _autoEvent = new AutoResetEvent(false); + private bool _isError = false; + private int _code; + private string _description; + + public void Wait(int timeoutMs) + { + try + { + if (!_autoEvent.WaitOne(timeoutMs)) + { + throw new GrowlException(ErrorCode.TIMED_OUT, ErrorDescription.TIMED_OUT, null); + } + if (_isError) + { + throw new GrowlException(_code, _description, null); + } + } + finally + { + _autoEvent.Reset(); + _isError = false; + _code = 0; + _description = null; + } + } + + public void Update() + { + _autoEvent.Set(); + } + + public void Update(int code, string description) + { + _code = code; + _description = description; + _isError = true; + _autoEvent.Set(); + } + } public GrowlService(Logger logger) { _logger = logger; _notificationTypes = GetNotificationTypes(); - _growlApplication.Icon = "https://raw.github.com/NzbDrone/NzbDrone/master/Logo/64.png"; + + var icon = Properties.Resources.Icon64; + var stream = new MemoryStream(); + icon.Save(stream, ImageFormat.Bmp); + _growlApplication.Icon = new BinaryData(stream.ToArray()); + } + + private GrowlConnector GetGrowlConnector(string hostname, int port, string password) + { + var growlConnector = new GrowlConnector(password, hostname, port); + growlConnector.OKResponse += GrowlOKResponse; + growlConnector.ErrorResponse += GrowlErrorResponse; + return growlConnector; } public void SendNotification(string title, string message, string notificationTypeName, string hostname, int port, string password) { - var notificationType = _notificationTypes.Single(n => n.Name == notificationTypeName); - var notification = new GrowlNotification("NzbDrone", notificationType.Name, DateTime.Now.Ticks.ToString(), title, message); - - _growlConnector = new GrowlConnector(password, hostname, port); - _logger.Debug("Sending Notification to: {0}:{1}", hostname, port); - _growlConnector.Notify(notification); + + var notificationType = _notificationTypes.Single(n => n.Name == notificationTypeName); + var notification = new GrowlNotification(_growlApplication.Name, notificationType.Name, DateTime.Now.Ticks.ToString(), title, message); + + var growlConnector = GetGrowlConnector(hostname, port, password); + + var requestState = new GrowlRequestState(); + growlConnector.Notify(notification, requestState); + requestState.Wait(5000); } private void Register(string host, int port, string password) { _logger.Debug("Registering NzbDrone with Growl host: {0}:{1}", host, port); - _growlConnector = new GrowlConnector(password, host, port); - _growlConnector.Register(_growlApplication, _notificationTypes.ToArray()); + + var growlConnector = GetGrowlConnector(host, port, password); + + var requestState = new GrowlRequestState(); + growlConnector.Register(_growlApplication, _notificationTypes, requestState); + requestState.Wait(5000); } - private List GetNotificationTypes() + private void GrowlErrorResponse(Response response, object state) + { + var requestState = state as GrowlRequestState; + if (requestState != null) + { + requestState.Update(response.ErrorCode, response.ErrorDescription); + } + } + + private void GrowlOKResponse(Response response, object state) + { + var requestState = state as GrowlRequestState; + if (requestState != null) + { + requestState.Update(); + } + } + + private NotificationType[] GetNotificationTypes() { var notificationTypes = new List(); notificationTypes.Add(new NotificationType("TEST", "Test")); notificationTypes.Add(new NotificationType("GRAB", "Episode Grabbed")); notificationTypes.Add(new NotificationType("DOWNLOAD", "Episode Complete")); - return notificationTypes; + return notificationTypes.ToArray(); } public ValidationFailure Test(GrowlSettings settings) @@ -68,8 +152,6 @@ public ValidationFailure Test(GrowlSettings settings) const string title = "Test Notification"; const string body = "This is a test message from NzbDrone"; - Thread.Sleep(5000); - SendNotification(title, body, "TEST", settings.Host, settings.Port, settings.Password); } catch (Exception ex) diff --git a/src/NzbDrone.Core/NzbDrone.Core.csproj b/src/NzbDrone.Core/NzbDrone.Core.csproj index 88d5299eb..399c6735a 100644 --- a/src/NzbDrone.Core/NzbDrone.Core.csproj +++ b/src/NzbDrone.Core/NzbDrone.Core.csproj @@ -52,6 +52,14 @@ 4 + + False + ..\Libraries\Growl.Connector.dll + + + False + ..\Libraries\Growl.CoreLibrary.dll + @@ -70,12 +78,6 @@ ..\packages\FluentValidation.5.0.0.1\lib\Net40\FluentValidation.dll - - ..\packages\Growl.0.6\lib\Growl.Connector.dll - - - ..\packages\Growl.0.6\lib\Growl.CoreLibrary.dll - ..\packages\MediaInfoNet.0.3\lib\MediaInfoDotNet.dll @@ -661,6 +663,11 @@ + + True + True + Resources.resx + @@ -795,8 +802,14 @@ Always + + + + + ResXFileCodeGenerator + Resources.Designer.cs + - diff --git a/src/NzbDrone.Core/Properties/Resources.Designer.cs b/src/NzbDrone.Core/Properties/Resources.Designer.cs new file mode 100644 index 000000000..a995b6ddd --- /dev/null +++ b/src/NzbDrone.Core/Properties/Resources.Designer.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.18444 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace NzbDrone.Core.Properties { + using System; + + + /// + /// A strongly-typed resource class, for looking up localized strings, etc. + /// + // This class was auto-generated by the StronglyTypedResourceBuilder + // class via a tool like ResGen or Visual Studio. + // To add or remove a member, edit your .ResX file then rerun ResGen + // with the /str option, or rebuild your VS project. + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// Returns the cached ResourceManager instance used by this class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NzbDrone.Core.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// Overrides the current thread's CurrentUICulture property for all + /// resource lookups using this strongly typed resource class. + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap Icon64 { + get { + object obj = ResourceManager.GetObject("Icon64", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/src/NzbDrone.Core/Properties/Resources.resx b/src/NzbDrone.Core/Properties/Resources.resx new file mode 100644 index 000000000..d22523afe --- /dev/null +++ b/src/NzbDrone.Core/Properties/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\64.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/src/NzbDrone.Core/Resources/64.png b/src/NzbDrone.Core/Resources/64.png new file mode 100644 index 0000000000000000000000000000000000000000..33387d7f9372b0951d676da70a366cf594312de4 GIT binary patch literal 3582 zcmVTbCem6VE_Do_KvSwY?P+AWiK0-gy5 zMMX4G1QbvsB18n#z-)ib-~awI3@|hQpuDQC>FNLP;~o9p>(}qsP%A@aWo0n?LGfc{ zgw%}xo+e(;kbZMmDZ+mb509MIT%V?ukd9(Mk*q{Dfv6==ArWRjEBhEhD%vCg7}DVI zd{(B}0O{r+g_RAqk_?TF5MM4K{wx7fu|O>$G%Ar_AtC=fVLdA=t=$?LD-nkhOO}*b zTL2(Gju9cl(vEgkAP-SL--eJUN#~@qwXJJa0ywmHN}eAVm;ChUQ)-JaFE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/NzbDrone.Core/packages.config +++ b/src/NzbDrone.Core/packages.config @@ -2,7 +2,6 @@ -