Skip to content

Add option to hide results not found in library#2

Open
mrplow wants to merge 1 commit intolbnt:mainfrom
mrplow:hide-non-library-option
Open

Add option to hide results not found in library#2
mrplow wants to merge 1 commit intolbnt:mainfrom
mrplow:hide-non-library-option

Conversation

@mrplow
Copy link

@mrplow mrplow commented Mar 4, 2026

This PR adds a new user setting to hide movies that are not found in the Kodi library.
When enabled, the addon only displays movies present in the library, helping users filter out unavailable content.

@mrplow
Copy link
Author

mrplow commented Mar 4, 2026

Summary:

This update adds a new user setting “Hide movies not in library” that lets users filter out movies not present in their Kodi library. It also bumps the addon version to 0.1.13 and updates the addon.xml news.


Description:

Feature:

  • New boolean setting “Hide movies not in library” in Settings → Options → Library.

  • When enabled, the addon skips any movie that is not found in the local Kodi library when displaying lists.

  • Helps users focus only on movies they already have locally.

Changes Made:

  1. main.py

    • Reads the new setting once per movie list.

    • Checks tmdb_index to see if the movie exists locally.

    • Skips movies not in library if the setting is enabled.

  2. resources/settings.xml & strings.po

    • Added the new toggle setting with proper labels and translations.

  3. addon.xml

    • Bumped version to 0.1.13.

    • Added news entry:

      0.1.13 add option to hide movies not found in local library

Behavior:

Setting Movies Shown in Addon
Hide movies not in library = Off All movies
Hide movies not in library = On Only movies in library

Notes:

  • Uses tmdb_index to detect movies in the library.

  • Future improvement: could extend to TV shows or episodes.

  • Filtering is optional and controlled by the user, so performance impact is minimal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant