Skip to content

Conversation

@steven-sheehy
Copy link

This PR fixes add-on category filter when there's no <category>addon</category> in the DAT like in No-Intro. The add-ons should be filtered using keywords in the title that are wrapped in parenthesis like (DLC) or (Addon).

The exclusions test didn't work on main but I made a stab at making them work and adding tests.

Fixes #359

Signed-off-by: Steven Sheehy <steven.sheehy@gmail.com>
Signed-off-by: Steven Sheehy <steven.sheehy@gmail.com>
@unexpectedpanda
Copy link
Owner

Thanks for this! Love that you've put effort into the tests. I should be able to take a look some time this week.

<rom name="Test Title 51 (USA) (Addon).bin" size="1000" crc="00000000" md5="00000000000000000000000000000000" sha1="0000000000000000000000000000000000000000"/>
</game>
<game name="Test Title 52 (USA) (DLC)">
<description>TTest Title 52 (USA) (DLC)</description>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Whoops, just noticed the extra T. Will address soon.

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.

Excluding addons doesn't filter them

2 participants