baconpaul/airwin2rack

A "User" or "Favorites" category

Closed this issue · 4 comments

We've had quite a few people say they want a "User" or "Favorites" category

A relatively easy way to do this is to have a well named text file with just a list of plugin names. Put it some place, heck even have a menu item for 'addToFavorites'. That sort of thing

Not urgent but came up enough on the socials I wanted to write it down

(This is the JUCE side of #16)

Rough plan for the JUCE side

  1. Use juce::File(userDocumentsDirectory)/Airwindows Consolidated/Favorites.xml as the file
  2. Add a 'user favorites' category to the registry; be careful with statics and make sure to lock a static mutex to update it
  3. If the file exists on startup load up user favorites
  4. Add the category to the menu if !favorites.emtpy()
  5. Add a heart icon next to the jogs
  6. When you press it update the XML, creating directory and file if needed
  7. voila

Use app data instead and have an import / export option was what we basically decided