banshee r3417 - in branches/banshee/stable: . src/Plugins/Banshee.Plugins.Audioscrobbler



Author: sdroege
Date: Tue Mar 11 10:58:05 2008
New Revision: 3417
URL: http://svn.gnome.org/viewvc/banshee?rev=3417&view=rev

Log:
* src/Plugins/Banshee.Plugins.Audioscrobbler/Engine.cs: ...and don't
warnings/errors to the user unless really necessary.


Modified:
   branches/banshee/stable/ChangeLog
   branches/banshee/stable/src/Plugins/Banshee.Plugins.Audioscrobbler/Engine.cs

Modified: branches/banshee/stable/src/Plugins/Banshee.Plugins.Audioscrobbler/Engine.cs
==============================================================================
--- branches/banshee/stable/src/Plugins/Banshee.Plugins.Audioscrobbler/Engine.cs	(original)
+++ branches/banshee/stable/src/Plugins/Banshee.Plugins.Audioscrobbler/Engine.cs	Tue Mar 11 10:58:05 2008
@@ -332,7 +332,7 @@
             }
             catch (Exception e) {
                 LogCore.Instance.PushWarning ("Audioscrobbler upload failed", 
-                              String.Format("Failed to get the request stream: {0}", e));
+                              String.Format("Failed to get the request stream: {0}", e, false));
                 state = State.IDLE;
                 next_interval = DateTime.Now + new TimeSpan (0, 0, RETRY_SECONDS);
                 return;
@@ -363,7 +363,7 @@
             }
             catch (Exception e) {
                 LogCore.Instance.PushWarning ("Audioscrobbler upload failed", 
-                              String.Format("Failed to get the response: {0}", e));
+                              String.Format("Failed to get the response: {0}", e, false));
                 state = State.IDLE;
                 next_interval = DateTime.Now + new TimeSpan (0, 0, RETRY_SECONDS);
                 return;
@@ -463,7 +463,7 @@
             }
             catch (Exception e) {
                 LogCore.Instance.PushWarning ("Audioscrobbler init failed", 
-                              String.Format("Failed to handshake: {0}", e));
+                              String.Format("Failed to handshake: {0}", e, false));
 
                 /* back off for a time before trying again */
                 state = State.IDLE;
@@ -583,7 +583,7 @@
             }
             catch (Exception e) {
                 LogCore.Instance.PushWarning ("Audioscrobbler NowPlaying failed", 
-                              String.Format("Failed to post NowPlaying: {0}", e));
+                              String.Format("Failed to post NowPlaying: {0}", e, false));
             }
         }
     }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]