mirror of
https://github.com/nova-r/fediplug.git
synced 2025-01-23 00:56:47 +01:00
a mastodon client that triggers buttplug.io devices based on fediverse activity
.gitignore | ||
fediplay.py | ||
LICENSE.md | ||
Pipfile | ||
Pipfile.lock | ||
README.md | ||
setup.py | ||
stream.py |
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 stream.py
so it points to your Mastodon instance.
Use pipenv install --dev
from Pipenv to install the Python dependencies and set up the package with a stream
executable.
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.