Auto stop spotify

Hi , just wondering how can i auto stop spotify while someone use nightbot song request on my twitch?

Hey @louispriest!

To solve your issue I’d create an API that checks the playback state, then if it’s playing, pause the playback, and “inject” that API before Nightbot’s Song Request’s API:

!addcom !sr -a=!songs $(eval $(urlfetch YOUR_CREATED_API); `request $(query)`;)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.