a mastodon client that triggers buttplug.io devices based on fediverse activity
Find a file
2018-01-21 12:22:18 -05:00
.gitignore convert to Pipfile (for #6) 2018-01-21 12:08:44 -05:00
fediplay.py fixes naming issue after Mastodon.py api change 2018-01-20 21:47:39 -08:00
LICENSE.md add license and requirements 2017-12-26 16:42:26 -05:00
Pipfile reduce dependencies (for #6) 2018-01-21 12:16:31 -05:00
Pipfile.lock reduce dependencies (for #6) 2018-01-21 12:16:31 -05:00
README.md convert to Pipfile (for #6) 2018-01-21 12:08:44 -05:00
stream DRY up API_BASE_URL use 2017-12-29 08:31:46 -05:00

fediplay

A Mastodon client that automatically plays your friends' music as they toot links to it.

Getting started

You'll need ffplay from FFmpeg to actually play music.

On macOS, ffplay is part of the Homebrew ffmpeg package, but you need to build it with brew install ffmpeg --with-sdl2.

Use pipenv install from Pipenv to install the Python dependencies, then edit stream so it points to your Mastodon instance.

Streaming

Use pipenv run ./stream to start the stream. You'll need to log in the first time.

Toots that include the hashtag #fediplay and have as their first link something that youtube-dl can play, will!

If new #fediplay toots come in while music is playing, they'll be downloaded immediately and queued to be played later.