Add support for including/excluding artists and songs #8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "include-exclude-filtering"
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?
Adds four new template-only options that allow the player to further control the songs selected:
include_songs: Songs that MUST be included. Causes a generation failure if the song is excluded by setlist/instrument options.include_artists: Include songs from a particular artist. Songs added toinclude_songscount for this.exclude_songs: Songs that should NOT be included.exclude_artists: Artists that no songs should be included.There's a bit of interesting logic around putting similar values in include and exclude. For example, excluding an artist but including a song, or vice versa. We do our to resolve how the user probably wants them to be.
This wound up making
tracks.pylarge enough that it justified splitting it up into multiple files. It also makes testing a bit cleaner, although there's not nearly enough tests in this currently.Also includes some miscellaneous cleanup and bug fixes found by failing tests.