mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-08 10:44:23 -04:00
changed air days to checkboxes
This commit is contained in:
parent
aac392f4cd
commit
3111a8a1bc
@ -111,9 +111,9 @@ namespace MediaBrowser.Api.WebSocket
|
|||||||
{
|
{
|
||||||
var line = await reader.ReadLineAsync().ConfigureAwait(false);
|
var line = await reader.ReadLineAsync().ConfigureAwait(false);
|
||||||
|
|
||||||
if (line.IndexOf("Info", StringComparison.OrdinalIgnoreCase) != -1 ||
|
if (line.IndexOf("Info -", StringComparison.OrdinalIgnoreCase) != -1 ||
|
||||||
line.IndexOf("Warn", StringComparison.OrdinalIgnoreCase) != -1 ||
|
line.IndexOf("Warn -", StringComparison.OrdinalIgnoreCase) != -1 ||
|
||||||
line.IndexOf("Error", StringComparison.OrdinalIgnoreCase) != -1)
|
line.IndexOf("Error -", StringComparison.OrdinalIgnoreCase) != -1)
|
||||||
{
|
{
|
||||||
lines.Add(line);
|
lines.Add(line);
|
||||||
}
|
}
|
||||||
|
@ -39,6 +39,19 @@ namespace MediaBrowser.Providers.Music
|
|||||||
|
|
||||||
public static void SaveImageInfo(IApplicationPaths appPaths, ILogger logger, string musicBrainzId, string url, string size)
|
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");
|
var cachePath = Path.Combine(appPaths.CachePath, "lastfm", musicBrainzId, "image.txt");
|
||||||
|
|
||||||
try
|
try
|
||||||
|
@ -47,7 +47,9 @@ namespace MediaBrowser.Providers.Savers
|
|||||||
"Format3D",
|
"Format3D",
|
||||||
"Metascore",
|
"Metascore",
|
||||||
"MPAARating",
|
"MPAARating",
|
||||||
"MusicbrainzId",
|
"MusicBrainzArtistId",
|
||||||
|
"MusicBrainzAlbumArtistId",
|
||||||
|
"MusicBrainzAlbumId",
|
||||||
"MusicBrainzReleaseGroupId",
|
"MusicBrainzReleaseGroupId",
|
||||||
"Overview",
|
"Overview",
|
||||||
"Persons",
|
"Persons",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user