HISE Logo Forum
    • Categories
    • Register
    • Login

    Get and Set Favorite for Current Preset

    Scheduled Pinned Locked Moved C++ Development
    3 Posts 2 Posters 165 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Casey KolbC
      Casey Kolb
      last edited by

      Alright, so I'm still on a quest for a completely custom preset browser and have worked out the tagging situation with some new API functions for getting and setting tags for files. However, I can't work out how to set up API calls for getting and setting favorite for the current preset. The HISE PresetBrowser functions for isFavorite and setFavorite require a database argument (I'm guessing because there could be multiple databases with expansions?).

      @Christoph-Hart Is there an easy way to hook up getting and setting favorites for files or is this too tricky with the expansion system?

      Casey Kolb
      Founder & CEO of Lunacy Audio
      Composer | Producer | Software Developer

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @Casey Kolb
        last edited by ustk

        @Lunacy-Audio said in Get and Set Favorite for Current Preset:

        Why don't you set up your own fav file with the fileSystem? I guess you could write one per expansion or a general file that gathers all favs

        Can't help pressing F5 in the forum...

        Casey KolbC 1 Reply Last reply Reply Quote 0
        • Casey KolbC
          Casey Kolb @ustk
          last edited by

          @ustk Yeah I considered this. It looks like Christoph is doing some fancy stuff with the database but I guess it wouldn't be too difficult to make my own. However, my current users will lose their favorites if I use my own system, so it'd be great to stick with the built-in HISE one.

          Casey Kolb
          Founder & CEO of Lunacy Audio
          Composer | Producer | Software Developer

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          53

          Online

          1.7k

          Users

          11.7k

          Topics

          101.8k

          Posts