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



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

Log:
* src/Plugins/Banshee.Plugins.Audioscrobbler/Engine.cs: Convert some
errors to warnings as they're not fatal and will be corrected next
time it is possible (BGO #501405).


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:28:25 2008
@@ -331,7 +331,7 @@
                 stream = current_web_req.EndGetRequestStream (ar);
             }
             catch (Exception e) {
-                LogCore.Instance.PushError ("Audioscrobbler upload failed", 
+                LogCore.Instance.PushWarning ("Audioscrobbler upload failed", 
                               String.Format("Failed to get the request stream: {0}", e));
                 state = State.IDLE;
                 next_interval = DateTime.Now + new TimeSpan (0, 0, RETRY_SECONDS);
@@ -362,7 +362,7 @@
                 resp = current_web_req.EndGetResponse (ar);
             }
             catch (Exception e) {
-                LogCore.Instance.PushError ("Audioscrobbler upload failed", 
+                LogCore.Instance.PushWarning ("Audioscrobbler upload failed", 
                               String.Format("Failed to get the response: {0}", e));
                 state = State.IDLE;
                 next_interval = DateTime.Now + new TimeSpan (0, 0, RETRY_SECONDS);
@@ -462,7 +462,7 @@
                 resp = current_web_req.EndGetResponse (ar);
             }
             catch (Exception e) {
-                LogCore.Instance.PushError ("Audioscrobbler init failed", 
+                LogCore.Instance.PushWarning ("Audioscrobbler init failed", 
                               String.Format("Failed to handshake: {0}", e));
 
                 /* back off for a time before trying again */
@@ -582,7 +582,7 @@
                 }
             }
             catch (Exception e) {
-                LogCore.Instance.PushError ("Audioscrobbler NowPlaying failed", 
+                LogCore.Instance.PushWarning ("Audioscrobbler NowPlaying failed", 
                               String.Format("Failed to post NowPlaying: {0}", e));
             }
         }



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