changed air days to checkboxes

This commit is contained in:
Luke Pulverenti 2014-02-09 12:44:25 -05:00
parent aac392f4cd
commit 3111a8a1bc
3 changed files with 19 additions and 4 deletions

View File

@ -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);
}

View File

@ -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

View File

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