Skip to main content
Corvus Connection

On Spotify Playback Changed

Spotify
Trigger
entry.onSpotifyPlaybackChangedFires when Spotify playback starts or pauses. Binds whether it is now playing.Triggers on a playback start/pause; binds isPlaying.
Media

Outputs

Name
Kind
Type
Flags
out
Exec
exec
None
isPlaying
Data
System.Boolean
multiplexed
  • Name
    out
    Kind
    Exec
    Type
    exec
    Flags
    None
  • Name
    isPlaying
    Kind
    Data
    Type
    System.Boolean
    Flags
    multiplexed

Bindings

Name
Type
Description
isPlaying
System.Boolean
True when playback is now active.
  • Name
    isPlaying
    Type
    System.Boolean
    Description
    True when playback is now active.

Parameters

Name
Type
Required
Default
Choices
cooldownSeconds
System.Int32
no
0
None
perUserCooldownSeconds
System.Int32
no
0
None
debounceMs
System.Int32
no
0
None
dedupeKey
System.String
no
""
None
maxConcurrency
System.Int32
no
0
None
  • Name
    cooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    perUserCooldownSeconds
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    debounceMs
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None
  • Name
    dedupeKey
    Type
    System.String
    Required
    no
    Default
    ""
    Choices
    None
  • Name
    maxConcurrency
    Type
    System.Int32
    Required
    no
    Default
    0
    Choices
    None

Lowers to C#

[OnSpotifyPlaybackChanged] Handle(ctx, SpotifyPlaybackChangedContext e)