Viewing 2 reply threads
  • Author
    Posts
    • #50235
      Ryan McNallie
      Guest

      It appears that the heartbeat for a a playing playlist is about 10 seconds. Can this heartbeat be adjusted? I would like the heartbeat for playing playlists to be 1 minute.

    • #1856938
      Ryan McNallie
      Guest

      I believe that within JS > ds_page.js there is an adjustment that can be made to increase/decrease the amount of time in-between the display page’s heartbeat. Within the file you should see “…load|10000|setInterval…” Change 10000 to another time in milliseconds (like “300000” for 5 minutes) to change the heartbeat.

    • #1859423
      Ryan McNallie
      Guest

      If modifying the plugin code isn’t for you want this workaround works for changing the heartbeat (although it may not the best):

      // Workaround for Playlist Heartbeat
      jQuery(window).load(function () {
      // Clear all heartbeats
      id = window.setInterval(() => {}, 0);
      while (id) {
      window.clearInterval(id);
      id–;
      }
      // Redefine ds_update_page heartbeat
      // 300000 == 5 minutes
      setInterval(ds_update_page,300000);
      });

Viewing 2 reply threads
  • You must be logged in to reply to this topic.