a mastodon client that triggers buttplug.io devices based on fediverse activity
Find a file
2018-01-24 21:41:02 -05:00
.env use .env to specify Mastodon instance 2018-01-24 21:07:51 -05:00
.gitignore ignore .mp3 and .mp4 files 2018-01-24 20:54:12 -05:00
fediplay.py make .secret files user-readable only 2018-01-24 21:41:02 -05:00
LICENSE.md add license and requirements 2017-12-26 16:42:26 -05:00
Pipfile convert to setup.py-based install (closes #6) 2018-01-21 13:01:53 -05:00
Pipfile.lock convert to setup.py-based install (closes #6) 2018-01-21 13:01:53 -05:00
README.md use .env to specify Mastodon instance 2018-01-24 21:07:51 -05:00
setup.py fix setup.py, simplify Pipenv use 2018-01-24 20:52:11 -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.

Edit .env and set FEDIPLAY_API_BASE_URL to your Mastodon instance.

Use pipenv install from Pipenv to install the Python dependencies.

Streaming

Use pipenv run python -m fediplay 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.