mirror of
https://github.com/cxfksword/jellyfin-plugin-danmu.git
synced 2026-05-12 02:46:53 +08:00
refactor: optimize code
This commit is contained in:
@@ -1,25 +1,20 @@
|
||||
using System.Linq;
|
||||
using System.Net.Mime;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Linq;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using Jellyfin.Plugin.Danmu.Core;
|
||||
using Jellyfin.Plugin.Danmu.Core.Extensions;
|
||||
using Jellyfin.Plugin.Danmu.Model;
|
||||
using Jellyfin.Plugin.Danmu.Scrapers;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Library;
|
||||
using MediaBrowser.Controller.Providers;
|
||||
using MediaBrowser.Controller.Subtitles;
|
||||
using MediaBrowser.Model.Providers;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Jellyfin.Plugin.Danmu.Model;
|
||||
using System.Text.Json;
|
||||
using MediaBrowser.Controller.Entities.Movies;
|
||||
using MediaBrowser.Controller.Entities.TV;
|
||||
using MediaBrowser.Controller.Dto;
|
||||
using Jellyfin.Plugin.Danmu.Core;
|
||||
|
||||
namespace Jellyfin.Plugin.Danmu;
|
||||
|
||||
|
||||
@@ -692,7 +692,7 @@ public class LibraryManagerEventsHelper : IDisposable
|
||||
}
|
||||
|
||||
|
||||
// 强制刷新指定来源弹幕
|
||||
// 强制刷新指定来源弹幕(手动搜索强刷忽略集数不一致处理)
|
||||
if (eventType == EventType.Force)
|
||||
{
|
||||
foreach (var queueItem in episodes)
|
||||
|
||||
Reference in New Issue
Block a user