HISE Logo Forum
    • Categories
    • Register
    • Login

    Pausing/Resuming downloads

    Scheduled Pinned Locked Moved Scripting
    serverdownload
    3 Posts 2 Posters 242 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.
    • d.healeyD
      d.healey
      last edited by

      Does the server API have a way to handle pausing or resuming downloads?

      I'm thinking about the situation where a user starts a download but then closes their DAW or the system crashes or some other interruption occurs and they need to resume where they left off.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Yes, I've implemented a method to resume a download, but it's highly experimental. Feel free to test it and give me feedback how it works though.

        For some reason the docs don't show it, but there is a DownloadObject API class that has a resume() method:

        Link Preview Image
        HISE/hi_scripting/scripting/api/ScriptingApiObjects.h at b2593e45940c2db0b5757174b627fbe5ce4d3640 · christophhart/HISE

        The open source framework for sample based instruments - HISE/hi_scripting/scripting/api/ScriptingApiObjects.h at b2593e45940c2db0b5757174b627fbe5ce4d3640 · christophhart/HISE

        favicon

        GitHub (github.com)

        You create it with:

        Link Preview Image
        HISE/hi_scripting/scripting/api/ScriptingApi.h at b2593e45940c2db0b5757174b627fbe5ce4d3640 · christophhart/HISE

        The open source framework for sample based instruments - HISE/hi_scripting/scripting/api/ScriptingApi.h at b2593e45940c2db0b5757174b627fbe5ce4d3640 · christophhart/HISE

        favicon

        GitHub (github.com)

        d.healeyD 1 Reply Last reply Reply Quote 1
        • d.healeyD
          d.healey @Christoph Hart
          last edited by

          @Christoph-Hart Thanks I'll check it out!

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

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

          49

          Online

          1.7k

          Users

          11.7k

          Topics

          102.2k

          Posts