1
This commit is contained in:
@@ -88,8 +88,6 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
|||||||
}
|
}
|
||||||
|
|
||||||
await SetTvInfo(tvShowFile, tvXml, tmdbId);
|
await SetTvInfo(tvShowFile, tvXml, tmdbId);
|
||||||
|
|
||||||
await Task.Delay(10000);
|
|
||||||
|
|
||||||
// 获取 tvShowFile 的文件夹
|
// 获取 tvShowFile 的文件夹
|
||||||
var folderPath = Path.GetDirectoryName(tvShowFile);
|
var folderPath = Path.GetDirectoryName(tvShowFile);
|
||||||
@@ -108,8 +106,6 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
|||||||
foreach (var episodeFile in seasonFiles)
|
foreach (var episodeFile in seasonFiles)
|
||||||
{
|
{
|
||||||
await SetEpisodeInfo(episodeFile, tmdbId);
|
await SetEpisodeInfo(episodeFile, tmdbId);
|
||||||
|
|
||||||
await Task.Delay(10000);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -431,6 +427,9 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var response = await _client.GetAsync(requestUrl);
|
var response = await _client.GetAsync(requestUrl);
|
||||||
|
|
||||||
|
await Task.Delay(10000);
|
||||||
|
|
||||||
if (!response.IsSuccessStatusCode)
|
if (!response.IsSuccessStatusCode)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"{requestUrl} & {path} & {response.StatusCode}");
|
Console.WriteLine($"{requestUrl} & {path} & {response.StatusCode}");
|
||||||
@@ -460,6 +459,9 @@ public class ChineseNfoRegistry : Registry, IChineseNfoRegistry
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
var response = await _client.GetAsync(requestUrl);
|
var response = await _client.GetAsync(requestUrl);
|
||||||
|
|
||||||
|
await Task.Delay(10000);
|
||||||
|
|
||||||
if (!response.IsSuccessStatusCode)
|
if (!response.IsSuccessStatusCode)
|
||||||
{
|
{
|
||||||
Console.WriteLine($"{requestUrl} & {path} & {response.StatusCode}");
|
Console.WriteLine($"{requestUrl} & {path} & {response.StatusCode}");
|
||||||
|
|||||||
Reference in New Issue
Block a user