通过 Unix sockets 控制的 PHP 音乐播放器

dev-master 2021-02-03 18:19 UTC

This package is auto-updated.

Last update: 2024-09-29 05:49:01 UTC


README

一个使用 PHP 异步播放音乐的包

此包处于早期开发阶段

要求

此库依赖于 ffmpeg、youtube-dl 和 aplay。PHP 版本 >= 7.2

安装

    composer require lecodeurdudimanche\php-player

基本用法

// TODO

待办事项

 - Add error check from manager
 - Prevent incorrect video being added to playlist
 - Add cache control ?
 - Can't setup cache dir of already running daemon (can cause cache mismatch (apparently))
 - Add song removal
 - Add arbitrary song selection in the playlist
 - Add playlist save / load
 - Add Spotify / Yt playlist import

许可证

MIT 许可证