Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom views #17

Open
azuline opened this issue Nov 1, 2023 · 1 comment
Open

Custom views #17

azuline opened this issue Nov 1, 2023 · 1 comment

Comments

@azuline
Copy link
Owner

azuline commented Nov 1, 2023

Create custom views of tracks and releases based on filters.

Stored smart playlists/collages are trivial. To make the experience ergonomic, we should have a config refresh option that reads pids and sends signal to refresh config.

@azuline
Copy link
Owner Author

azuline commented Nov 9, 2023

Potentially subsumes #20, if we reimplement all existing views as "smart views."

Smart views would:

  • Be defined in the configuration file.
  • Be able to filter out releases, tracks, artists, labels, genres (e.g. all artists with k-pop release) with rule engine matchers.
  • Artists, genres, and labels would have a releases or tracks children option.
  • Have their own path templates.

We can have a default set of views implemented as smart rules, with the option to override them and rebuild your own from scratch. IDK if I want to have a global nuke or an "extend" option. Maybe

[virtual_views.all_releases]
enabled = false  # Defaults to true when undefined.

[virtual_views.my_custom_view]
name = "My Custom View"
path_templates.release = ""
path_templates.track = ""
hierarchy = ["artists", "tracks"]  # or just ["tracks"], or ["releases"], or ["labels", "releases"], etc.
matcher = "genre:K-Pop"

@azuline azuline mentioned this issue Apr 26, 2024
@azuline azuline added this to the 0.5.0 milestone Apr 26, 2024
@azuline azuline changed the title Smart playlists and collages Custom views Apr 27, 2024
@azuline azuline removed this from the v0.5.0 milestone Apr 27, 2024
@azuline azuline added this to the v0.6.0 milestone May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant