mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 20:24:21 -04:00
Merge reading from file and parsing
This commit is contained in:
parent
8d7e4229ca
commit
a773b43a81
@ -115,8 +115,7 @@ namespace Emby.Server.Implementations.ScheduledTasks.Tasks
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var failHistoryText = await File.ReadAllTextAsync(failHistoryPath, cancellationToken).ConfigureAwait(false);
|
previouslyFailedImages = (await File.ReadAllTextAsync(failHistoryPath, cancellationToken).ConfigureAwait(false))
|
||||||
previouslyFailedImages = failHistoryText
|
|
||||||
.Split('|', StringSplitOptions.RemoveEmptyEntries)
|
.Split('|', StringSplitOptions.RemoveEmptyEntries)
|
||||||
.ToList();
|
.ToList();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user