Forum

    • Register
    • Login
    • Search
    • Categories

    Get and Set Favorite for Current Preset

    C++ Development
    2
    3
    59
    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 Kolb
      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

      ustk 1 Reply Last reply Reply Quote 0
      • ustk
        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

        I can't help pressing F5 in the forum...

        Casey Kolb 1 Reply Last reply Reply Quote 0
        • Casey Kolb
          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

          17
          Online

          1.1k
          Users

          7.0k
          Topics

          64.6k
          Posts