Skip to content

馃悰 Filter the games library by type instead of excluding anime - #27

Open
coltons-qa wants to merge 1 commit into
Murchi1k:mainfrom
coltons-qa:fix/game-view-media-type-filter
Open

coltons-qa wants to merge 1 commit into
Murchi1k:mainfrom
coltons-qa:fix/game-view-media-type-filter

Conversation

@coltons-qa

Copy link
Copy Markdown

Thanks for your work, I'm really enjoying getting Lorebase set up!

Issue: Any note whose type was not "anime" was parsed as a game, so vaults that keep several media types in one folder saw series, movies, manga, and books in the games library.

Repro:

  1. Set Games and Series to the same folder path in Settings > Media
  2. Add at least one Series to lorebase
  3. Find Series in Games view

Probably just an artifact from when only games an anime were supported. Edited to match the filtering conventions for other media types: keep a note when its type is "game", or when it has no type at all so hand-written notes still appear. Trim the value first, as VideoService and ReadingService already do.

Any note whose type was not "anime" was parsed as a game, so vaults that
keep several media types in one folder saw tv shows, movies, and books in
the games library. The reverse did not happen: the tv, movie, and book
services each match their own type, so they correctly ignored games.

The check dates from the initial release, when the plugin held only games
and anime and "not anime" really did mean "game". The 2.0.0 media
libraries added the other types without inverting it.

Match the sibling services: keep a note when its type is "game", or when
it has no type at all so hand-written notes still appear. Trim the value
first, as VideoService and ReadingService already do.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@coltons-qa
coltons-qa marked this pull request as ready for review August 14, 2026 22:52
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