• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

zigg/fediplay: a Mastodon client that automatically plays your friends' musi ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

zigg/fediplay

开源软件地址(OpenSource Url):

https://github.com/zigg/fediplay

开源编程语言(OpenSource Language):

Python 100.0%

开源软件介绍(OpenSource Introduction):

fediplay

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

What's new in 2.2

If you've been using fediplay before, the all-new version 2.2 will be a little different!

  • You now specify the instance you want to stream from on the command line, instead of setting it in the environment. fediplay has been upgraded with the power of Click to give it a more modern command-line interface.

  • We use appdirs to keep downloaded music files in your operating system's user cache directory.

  • We use keyring to store your client credentials and access token, securely if your operating system supports it. If you already have .secret files from an earlier version, we'll migrate them automatically for you.

Be sure to follow all the instructions, including re-running pipenv install to update the installed dependencies.

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.

Use pipenv install from Pipenv to install the Python dependencies and set up the fediplay script inside the virtual environment.

You can use the fediplay script with either pipenv run fediplay or by entering the Pipenv shell with pipenv shell and just running fediplay.

Registering and logging in

To register fediplay to your instance, use fediplay register example.com.

To log in to your instance, use fediplay login example.com.

Streaming

Use fediplay stream example.com 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.

Since version 2.2, thanks to @bbonf, if there's a recent #fediplay toot in your timeline, it'll be pulled up and played before the stream starts. Great if you just missed a song before starting your stream!

Filtering

Since version 2.2, you can also, thanks to @Jenkyrados, specify users to filter! Just add them to the command line after the server name, e.g. fediplay stream example.com @user @[email protected].




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap