a mastodon client that triggers buttplug.io devices based on fediverse activity
Find a file
Matt Behrens f45ff83bc8
Merge pull request #16 from Jenkyrados/master
queue entire albums; fixes #7, thanks @Jenkyrados 

This also appears to work for YouTube mixes, which, oh my gosh, that can get kind of crazy. So maybe it would be good to enhance this support later to start playing as each file comes down, rather than waiting for the entire thing. But I'm happy with this as a start.
2018-05-03 19:55:55 -04:00
fediplay Fix issue #7 (no downloading of full bandcamp albums) 2018-04-26 14:02:28 +00:00
.env configurable play command 2018-01-26 20:49:45 -05:00
.gitignore fix tests broken by modularization 2018-03-17 20:05:49 -04:00
LICENSE.md add license and requirements 2017-12-26 16:42:26 -05:00
Pipfile migrate env handling to dotenv 2018-03-17 20:04:04 -04:00
Pipfile.lock migrate env handling to dotenv 2018-03-17 20:04:04 -04:00
README.md update directions for getting ffplay 2018-03-05 18:53:08 -05:00
setup.py modularize and pylint 2018-03-17 18:07:42 -04:00
test_fediplay.py fix tests broken by modularization 2018-03-17 20:05:49 -04:00

fediplay

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

Getting started

fediplay comes configured to use 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.

  • On Windows, ffplay is part of the Scoop ffmpeg package.

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.