manifest:
  events:
    platypush.message.event.music.MusicPauseEvent: if the playback state changed to
      pause
    platypush.message.event.music.MusicPlayEvent: if the playback state changed to
      play
    platypush.message.event.music.MusicStopEvent: if the playback state changed to
      stop
    platypush.message.event.music.NewPlayingTrackEvent: if a new track is being played
    platypush.message.event.music.VolumeChangeEvent: if the volume changes
  install:
    apt:
      - sudo
      - cargo
    pacman:
      - sudo
      - cargo
    exec:
      - sudo cargo install librespot
  package: platypush.backend.music.spotify
  type: backend
