Add a filtering tool to only show only certain release group types #161
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Not all release group types (e.g., Live EP) are interesting, but some are still present in the library and may be desirable in the future. Some mechanism of filtering needs to be made available to the user. It should use release group type and ownership status. Including space for future potential of
WISH
andDROP
status.Requirements/thoughts:
Careful about parts of the code where collection is assumed to contain the complete database as these will have to fixed. E.g., when checking which albums are new during a fetch. These places can be easily located however. The TUI application does not keep the collection, but rather MH. All collection accesses can be found via
get_collection
calls.Solution: keep the entire collection as it is now, but whenever it is updated also create a filtered version. Use the filtered version for display and identifying selected items. Use the full collection to check existing contents in the database.
For now make the filter hard coded to blank, EP, album, and owned.
To make it future proof - contain it in an object that could be modified in the future.