hubot-spotify-control

0.1.0 • Public • Published

Hubot Spotify Control

This script allows use of spotify via DBus on linux machines.

Hubot must be running as the same user as the spotify instance.

Configuration

HUBOT_SPOTIFY_SLACK_SUPPORT - if set will use slack attachments to send the message, otherwise just a regular message

Commands

Commands:

hubot sp play - toggle the play status (if playing will pause, if paused will play)

hubot sp pause - pauses the music, play again with sp play

hubot sp prev - go to previous track

hubot sp next - go to next track

hubot sp open <URI> - opens the spotify URI supplied (e.g. starts with spotify:*)

hubot sp radio <URI> - starts spotify radio using the given URI as a base (e.g. starts with spotify:*)

hubot sp current - Shows current playing track

TODO:

hubot sp search - not implemented yet

/hubot-spotify-control/

    Package Sidebar

    Install

    npm i hubot-spotify-control

    Weekly Downloads

    1

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • eluinhost