hinto-janai / festival

Music player
https://festival.pm
MIT License
270 stars 3 forks source link

Decouple `shukusai` from `GUI` #54

Closed hinto-janai closed 1 year ago

hinto-janai commented 1 year ago

In preparation for festivald, shukusai must be decoupled from festival-gui-specific code.

There's some behavior, expectations, and specific functions shukusai has assuming the frontend is GUI. This needs to be changed

Other functionality must also be added, like Collection (and all recursive struct) conversions to JSON, for festivald, and festival-cli. The JSON output will most likely become the public API of festivald, so exactly which fields are exposed should be picked carefully (they'll have to be supported forever, until a breaking v2.0.0).