Skip to content

Commit

Permalink
Update SubUtil.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda committed May 13, 2022
1 parent f2fee11 commit 711fc61
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BBDown.Core/Util/SubUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ public static async Task<List<Subtitle>> GetSubtitlesAsync(string aid, string ci
subtitles.Add(subtitle);
}
//无字幕片源 但是字幕没上导致的空列表,尝试从国际接口获取
if (subtitles.Count == 0 && !string.IsNullOrEmpty(epId))
{
return await GetSubtitlesAsync(aid, cid, epId, true);
}
//if (subtitles.Count == 0 && !string.IsNullOrEmpty(epId))
//{
// return await GetSubtitlesAsync(aid, cid, epId, true);
//}
return subtitles;
}
catch (Exception)
Expand Down

0 comments on commit 711fc61

Please sign in to comment.