Skip to main content

Create playlists democratically by reactions in Slack

Project description

Create playlists democratically by reactions in Slack

!! THIS IS STILL A BETA !!

Features

  • Get Youtube videos reactions from message attachments and add the song to a Spotify playlist.

How does it work

The application acts as a middle man between Slack and Spotify by getting the reactions count from a message’s attachment and then looking up the title on Spotify’s. If the title has been found, it will add the one that has best popularity to the queue.

In order to the bot pick up the song, a user must paste a Youtube URL in the channel. The bot will start looking for reactions on that URL and get the title of the video which it will be used as a search text for Spotify.

A message will be shown back to the channel whether the bot could add the song to the playlist or not.

It is worth mention that the tracks of the playlist will be removed at every time the bot it is started. This is by design as it in a jukebox.

History

0.0.1 (2017-10-13)

  • First release

  • Methods for Spotify API

  • Slackclient wrapper

0.0.2 (2017-10-14)

  • CLI draft

  • Credentials parsing

  • Minimal logic

0.0.3 (2017-10-14)

  • Reaction name and reaction count configurable

0.0.4 (2017-10-26)

  • Refactored SpotifyClient with objects and methods

  • Refactored SlackSound interface

0.0.5 (2017-10-27)

  • Entrypoint for main

0.1.0 (2017-10-27)

  • Try a private channel first or fallback as a public one if fails

0.1.1 (2017-10-27)

  • Logging for user

0.1.2 (2017-10-27)

  • Fix local variable referenced before assignment

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

slacksound-0.1.2.tar.gz (30.1 kB view details)

Uploaded Source

Built Distribution

slacksound-0.1.2-py2.7.egg (42.1 kB view details)

Uploaded Source

File details

Details for the file slacksound-0.1.2.tar.gz.

File metadata

  • Download URL: slacksound-0.1.2.tar.gz
  • Upload date:
  • Size: 30.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for slacksound-0.1.2.tar.gz
Algorithm Hash digest
SHA256 489f2c23d561eb2a1b7bd30f0ea76aa9c35b24a7d1dfb3160ea4949223863fec
MD5 3591bc2cf9e8abd1312dd184ca64124d
BLAKE2b-256 50ab83087fb5b2413a2c46f9f0aaf7381eca49b87ac8e7b3bf2fb1d867a5c003

See more details on using hashes here.

File details

Details for the file slacksound-0.1.2-py2.7.egg.

File metadata

File hashes

Hashes for slacksound-0.1.2-py2.7.egg
Algorithm Hash digest
SHA256 efcaf3ddd78ef41f55b4cf3b25c840028b3ffb76c8914f8128d422e2a174f583
MD5 fe2563cc4045f8c8522a8f156396bdea
BLAKE2b-256 b385ac3a7e27c00e9ef24280e46409600367ce6bbca38572c2145af8c7167fb1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page