fix(auto-thumbnail): [PKG-AUTO-THUMB-13] ignore registration after destroy

This commit is contained in:
Harvey Zhao committed 2026-09-15 19:16:22 +08:00
1 parent 9ba3c82f99
commit 876fa4c328
22 files changed
+4084 -11

No files matched your search

@@ -402,6 +402,8 @@ function extract(job, config) {
}
function artplayerPluginAutoThumbnail(option) {
return async (art) => {
if (art.isDestroy)
return { name: "artplayerPluginAutoThumbnail" };
const report = (error) => console.warn("ArtPlayer auto-thumbnail failed:", error);
const session = createSession((config) => {
art.thumbnails = config;