azuline / rose

A music manager with a virtual filesystem.
Apache License 2.0
13 stars 1 forks source link

Custom views #17

Open azuline opened 1 year ago

azuline commented 1 year ago

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 commented 1 year ago

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

Smart views would:

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"