Page 1 of 1

Slack Integration

PostPosted: Mon Dec 19, 2016 8:30 pm
by snohio
I'm curious if there is any interest in Slack integration? I have a Slack Channel that I use for my friends that share in my Subsonic instance. I am currently working on a bot that will let anyone restart the service if it is hung or whatnot.

I know that it probably wouldn't be that difficult since there is already outbound API to Last.FM, it can't be much more difficult to put together.

Thoughts?

Thanks!
Mike

Re: Slack Integration

PostPosted: Mon Dec 19, 2016 9:48 pm
by acroyear
One could create a guest/bot account on your server that has no access to folders nor any other priv feature. It would still be able to send/read chat messages and make the getNowPlaying call and echo those results into Slack (or relay Slack lines back into Subsonic's chat, though if going 2-way you'll need to make sure there's no infinite loop ;-) ).

I just tested that. Yes, a bot account with no privs and no folders can still get the Now Playing and Chat contents and make Chat posts.