This topic contains 2 replies, has 1 voice, and was last updated by  Ryan McNallie 1 month, 3 weeks ago.

  • Author
    Posts
  • #50235 Reply

    Ryan McNallie

    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 Reply

    Ryan McNallie

    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 Reply

    Ryan McNallie

    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);
    });

Reply To: Playlist Heartbeat
Your information:




6 + 3 =