fengymi / emby-plugin-danmu

emby弹幕插件
131 stars 3 forks source link

出现相同key错误 #5

Closed edhnt455 closed 4 months ago

edhnt455 commented 4 months ago

我用的amilys/emby镜像,把Emby.Plugin.Danmu文件放到/config/plugins文件夹内,插件设置是这样的。 image 手动执行计划任务后报错,日志: An item with the same key has already been added. Key: DandanID at System.Collections.Generic.Dictionary2.TryInsert(TKey key, TValue value, InsertionBehavior behavior) at System.Collections.Generic.Dictionary2.Add(TKey key, TValue value) at Emby.Plugin.Danmu.ScheduledTasks.AbstractDanmuTask.GetScraperFilter(ReadOnlyCollection1 scrapers) at Emby.Plugin.Danmu.ScheduledTasks.RefreshDanmuTask.Execute(CancellationToken cancellationToken, IProgress1 progress) at Emby.Server.Implementations.ScheduledTasks.ScheduledTaskWorker.ExecuteInternal(TaskOptions options)

fengymi commented 4 months ago

知道怎么操作出现的吗。

https://github.com/fengymi/emby-plugin-danmu/releases/tag/1.0.1 用这个新版的,我临时加了保存的时候去重,重新保存下就可以

可能需要清下浏览器缓存,或者重新开个无痕模式

edhnt455 commented 4 months ago

用了最新的已经可以正常运行啦,感谢作者大大😀