Skip to content

[BUG] Ignore Media That Already Has Segments has no effect #5

@v1rusnl

Description

@v1rusnl

Describe the bug
Even "Ignore Media That Already Has Segments" is enabled, the plugin seems to always perform a full scan (at least regarding the duration of the task -> appr. 1h on my library).

To Reproduce
Steps to reproduce the behavior:

  1. Enable "Ignore Media That Already Has Segments"
  2. Perform initital IntroDB scanning task -> takes longer depending on library size
  3. Perform another scan after this -> should take no time since all item IDs present should be in segments.db, but it takes as long as the initital scan everytime

Expected behavior

  1. Perform initital IntroDB scanning task -> takes longer depending on library size
  2. Any further scan should have a very short duration since just new item IDs since last scan need to be imported into segments.db

Screenshots
I'm running the Plugin since 27.05.2026 and I set up the task everyday at 08:00. Initiial scan took around 50 Min. This is from todays scan:

Image
2026-05-30 08:00:00.897 Info TheIntroDB: Starting TheIntroDB media segment scan (assembly 1.0.2.2)
2026-05-30 08:00:00.897 Info TheIntroDB: TheIntroDB settings: Intro=True, Recap=True, Credits=True, Preview=True, IgnoreExisting=True
2026-05-30 08:00:00.897 Info TheIntroDB: Starting library scan for TheIntroDB segments
2026-05-30 08:00:01.283 Info TheIntroDB: TheIntroDB scan: 11750 items to process
2026-05-30 08:57:53.615 Info TheIntroDB: Library scan completed. Found 4651 total segments in 11750 items
2026-05-30 08:57:53.615 Info TheIntroDB: TheIntroDB media segment scan completed successfully. Found 4651 segments.
...
2026-05-31 08:00:01.407 Info TheIntroDB: Starting TheIntroDB media segment scan (assembly 1.0.2.2)
2026-05-31 08:00:01.407 Info TheIntroDB: TheIntroDB settings: Intro=True, Recap=True, Credits=True, Preview=True, IgnoreExisting=True
2026-05-31 08:00:01.407 Info TheIntroDB: Starting library scan for TheIntroDB segments
2026-05-31 08:00:01.744 Info TheIntroDB: TheIntroDB scan: 11750 items to process
2026-05-31 08:55:02.300 Info TheIntroDB: Library scan completed. Found 4655 total segments in 11750 items
2026-05-31 08:55:02.300 Info TheIntroDB: TheIntroDB media segment scan completed successfully. Found 4655 segments.
...
2026-06-01 08:00:00.254 Info TheIntroDB: Starting TheIntroDB media segment scan (assembly 1.0.2.2)
2026-06-01 08:00:00.254 Info TheIntroDB: TheIntroDB settings: Intro=True, Recap=True, Credits=True, Preview=True, IgnoreExisting=True
2026-06-01 08:00:00.257 Info TheIntroDB: Starting library scan for TheIntroDB segments
2026-06-01 08:00:00.650 Info TheIntroDB: TheIntroDB scan: 11750 items to process
2026-06-01 08:50:10.488 Info TheIntroDB: Library scan completed. Found 4663 total segments in 11750 items
2026-06-01 08:50:10.488 Info TheIntroDB: TheIntroDB media segment scan completed successfully. Found 4663 segments.

System Information (please complete the following information):

  • OS: Windows 11
  • Emby Version: 4.9.5.0
  • Plugin Version: 1.0.2.2
  • Browser: Chrome, Brave, Emby Theater

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions