Skip to content

片头探测 ‐ 原生增强

sjtuross edited this page Jan 2, 2025 · 11 revisions

功能介绍

  1. 扫片头分成两部分,第一,提取片头声纹,第二,按季组装分析。插件通过计划任务实现多线程提取片头声纹,为原生扫片头提前准备好素材。
  2. 自定义片头声纹探测时长。这是Emby未开放设置的剧集媒体库隐藏参数,内部固定为10分钟。自定义范围为2至20分钟。比如国产剧,可以设置为5分钟,将节约一半处理时间。
  3. 为原生片头探测解锁Strm支持
  4. 媒体库范围同时作用于原生片头探测计划任务
  5. 媒体库范围支持最爱,仅可单选且最爱所在的媒体库设置需启用片头标记
  6. 支持黑名单,屏蔽指定电视节目或播出季

注意:3,4,5,6属于魔改功能,暂不支持ARM平台。

image

操作说明

  1. 剧集媒体库设置启用片头标记,选择"作为计划任务",不要选"作为计划任务及添加媒体时"
  2. 运行计划任务Extract Intro Fingerprint多线程提取片头声纹(自动按需提取媒体信息)

image

  1. (自动)插件会自动启动原生片头探测计划任务,导入所有的声纹文件 (title_*.fp)

image

  1. (可选)安装Chapter API插件查看确认片头信息

日志

比如这个片头声纹文件,C:\Users\admin\AppData\Roaming\Emby-Server\programdata\metadata\library\cf\cf79ffdd0d7d6635e581d275d5bf1ea3\title_6_638641265310000000.fp,其中_6_代表片头声纹探测时长,所以不同时长的片头声纹是不通用的。

2024-11-15 16:11:05.295 Info Strm Assistant: IntroFingerprintExtract - Scheduled Task Execute
2024-11-15 16:11:05.295 Info Strm Assistant: Max Concurrent Count: 5
2024-11-15 16:11:05.295 Info Strm Assistant: Intro Detection Fingerprint Length (Minutes): 6
2024-11-15 16:11:05.296 Info Strm Assistant: MarkerEnabledLibraryScope: 测试剧集-片头
2024-11-15 16:11:05.305 Info Strm Assistant: IntroFingerprintExtract- Number of items: 28
2024-11-15 16:11:10.234 Info Strm Assistant: CreateTitleFingerprint completed for M:\115\test\tvshow\人鬼情缘 (2000) {tmdb-122419}\Season 1\人鬼情缘.2000.S01E05.第5集.mp4 to C:\Users\admin\AppData\Roaming\Emby-Server\programdata\cache\temp\24a3e09bcb5b44de934290a9d8d44874
2024-11-15 16:11:10.234 Info Strm Assistant: Moving fingerprint file from C:\Users\admin\AppData\Roaming\Emby-Server\programdata\cache\temp\24a3e09bcb5b44de934290a9d8d44874 to C:\Users\admin\AppData\Roaming\Emby-Server\programdata\metadata\library\cf\cf79ffdd0d7d6635e581d275d5bf1ea3\title_6_638641265310000000.fp
2024-11-15 16:11:10.236 Info Strm Assistant: IntroFingerprintExtract - Progress 1/28 - Task 5: D:\Media\tvshow6\人鬼情缘 (2000) {tmdb-122419}\Season 1\人鬼情缘.2000.S01E05.第5集.strm
2024-11-15 16:11:12.960 Info Strm Assistant: CreateTitleFingerprint completed for M:\115\test\tvshow\人鬼情缘 (2000) {tmdb-122419}\Season 1\人鬼情缘.2000.S01E02.第2集.mp4 to C:\Users\admin\AppData\Roaming\Emby-Server\programdata\cache\temp\32edfc6bc1944692a1f6733e4db5ed65
2024-11-15 16:11:12.960 Info Strm Assistant: Moving fingerprint file from C:\Users\admin\AppData\Roaming\Emby-Server\programdata\cache\temp\32edfc6bc1944692a1f6733e4db5ed65 to C:\Users\admin\AppData\Roaming\Emby-Server\programdata\metadata\library\13\13a1c437dcecde3e139b1bedb89cd1fd\title_6_638641265310000000.fp
2024-11-15 16:11:12.961 Info Strm Assistant: IntroFingerprintExtract - Progress 2/28 - Task 2: D:\Media\tvshow6\人鬼情缘 (2000) {tmdb-122419}\Season 1\人鬼情缘.2000.S01E02.第2集.strm
2024-11-15 16:11:15.570 Info Strm Assistant: CreateTitleFingerprint completed for M:\115\test\tvshow\人鬼情缘 (2000) {tmdb-122419}\Season 1\人鬼情缘.2000.S01E03.第3集.mp4 to C:\Users\admin\AppData\Roaming\Emby-Server\programdata\cache\temp\02aeb3e7c4e041fcaf098b66ceab7f07
2024-11-15 16:11:15.570 Info Strm Assistant: Moving fingerprint file from C:\Users\admin\AppData\Roaming\Emby-Server\programdata\cache\temp\02aeb3e7c4e041fcaf098b66ceab7f07 to C:\Users\admin\AppData\Roaming\Emby-Server\programdata\metadata\library\e3\e351feb5e900328135ee7c787b7cfc2a\title_6_638641265310000000.fp
2024-11-15 16:11:15.571 Info Strm Assistant: IntroFingerprintExtract - Progress 3/28 - Task 3: D:\Media\tvshow6\人鬼情缘 (2000) {tmdb-122419}\Season 1\人鬼情缘.2000.S01E03.第3集.strm