Closed JakeTurner616 closed 2 months ago
Fixed: https://github.com/JakeTurner616/Infinity-Library/commit/71074575d7c2c9b66aa046df530e0eede8133636. Updated and Removed unsupported file extensions list and saved preference by adding a simple cleanup method.
Description
To maintain compatibility with upstream servers, file extensions that are no longer supported must be systematically removed from the client's filter options and purged from the application's preference settings stored on disk. This necessitates a mechanism that detects and eliminates unsupported file types whenever they have been previously saved. Additionally, this process should be adaptable, allowing for the effortless addition or removal of file types in response to changes in server support.
To Reproduce
Use illegal file extensions as a filter such as azw3, azw4, or cb7. Search a query and no results are found. When the query url is extracted by running the program on the command line we can observe that the invalid extension list causes no results to show.
Expected behavior
When applying filters, the system should return search results that match at least one of the valid filters. Unsupported file extensions should be automatically removed from both the search process and the stored preferences, ensuring only valid filters are applied.
Priority
High - causes basic usage issues and can be solved very easily.