Browse Source

changed air days to checkboxes

Luke Pulverenti 11 years ago
parent
commit
3111a8a1bc

+ 3 - 3
MediaBrowser.Api/WebSocket/LogFileWebSocketListener.cs

@@ -111,9 +111,9 @@ namespace MediaBrowser.Api.WebSocket
                     {
                         var line = await reader.ReadLineAsync().ConfigureAwait(false);
 
-                        if (line.IndexOf("Info", StringComparison.OrdinalIgnoreCase) != -1 ||
-                            line.IndexOf("Warn", StringComparison.OrdinalIgnoreCase) != -1 ||
-                            line.IndexOf("Error", StringComparison.OrdinalIgnoreCase) != -1)
+                        if (line.IndexOf("Info -", StringComparison.OrdinalIgnoreCase) != -1 ||
+                            line.IndexOf("Warn -", StringComparison.OrdinalIgnoreCase) != -1 ||
+                            line.IndexOf("Error -", StringComparison.OrdinalIgnoreCase) != -1)
                         {
                             lines.Add(line);
                         }

+ 13 - 0
MediaBrowser.Providers/Music/LastfmHelper.cs

@@ -39,6 +39,19 @@ namespace MediaBrowser.Providers.Music
 
         public static void SaveImageInfo(IApplicationPaths appPaths, ILogger logger, string musicBrainzId, string url, string size)
         {
+            if (appPaths == null)
+            {
+                throw new ArgumentNullException("appPaths");
+            }
+            if (string.IsNullOrEmpty(musicBrainzId))
+            {
+                throw new ArgumentNullException("musicBrainzId");
+            }
+            if (string.IsNullOrEmpty(url))
+            {
+                throw new ArgumentNullException("url");
+            }
+
             var cachePath = Path.Combine(appPaths.CachePath, "lastfm", musicBrainzId, "image.txt");
 
             try

+ 3 - 1
MediaBrowser.Providers/Savers/XmlSaverHelpers.cs

@@ -47,7 +47,9 @@ namespace MediaBrowser.Providers.Savers
                     "Format3D",
                     "Metascore",
                     "MPAARating",
-                    "MusicbrainzId",
+                    "MusicBrainzArtistId",
+                    "MusicBrainzAlbumArtistId",
+                    "MusicBrainzAlbumId",
                     "MusicBrainzReleaseGroupId",
                     "Overview",
                     "Persons",