       API.on API.ROOM_CHANGE, (oldRoom, newRoom) ->
         Room.changedTo newRoom
 
+      Helper.PlaylistRefresh.initialize()
+
 
   ###
   # Miscellaneous features.


    @activateRandom: ->
      return if Room.active != 1 # Do nothing if not active.
      playlist = @getRandom()
      activePlaylist = playlist
      if playlist? then playlist.activate()

    @getRandom = ->
      countSum = 0
      activePlaylists = @getEnabled()
      for playlist in activePlaylists


'use strict'

VERSION = "2.0.1"

class Plugmixer
  INITIALIZATION_TIMEOUT = 512
