     font-size: 14px;
     color: #2b2b2b;
 
-  .key
+  .label
     align-self: center;
     margin: 5px 0px 5px 5px;
     background-color: #ffa3c1;

    #{statusDiv}
  </div>
  """

render: (output) ->
  @template(output)

style:
  """


refreshFrequency: 3000

label: 'spotify'

render: (output) ->
  json = JSON.parse(output)
  if json.state == 'not running'
    return ''
  keyDiv = "<div class='text label'>&nbsp;#{@label}&nbsp;</div>"
  titleDiv = "<div class='text value'>&nbsp;#{json.title}&nbsp;</div>"
  artistDiv = "<div class='text value'>&nbsp;#{json.artist}&nbsp;</div>"
  statusDiv =
    if json.state != 'playing'
      "<div class='text value'>&nbsp;#{json.state}&nbsp;</div>"
    else
      ''
  """
