radiobot

所属分类:聊天室
开发工具:JavaScript
文件大小:0KB
下载次数:0
上传日期:2023-12-01 04:43:23
上 传 者sh-1993
说明:  电报机器人程序将ezstream流编程到所需的服务器
(Telegram bot to program ezstream streams to desired server)

文件列表:
.eslintrc.js (190, 2023-11-30)
example.envrc (191, 2023-11-30)
package-lock.json (66895, 2023-11-30)
package.json (525, 2023-11-30)
src/ (0, 2023-11-30)
src/bot.js (5570, 2023-11-30)
src/brain.js (699, 2023-11-30)
src/downloader.js (2897, 2023-11-30)
src/icy-stream.js (3131, 2023-11-30)
src/index.js (995, 2023-11-30)
src/killer.sh (27, 2023-11-30)
src/logger.js (1007, 2023-11-30)
src/metadater.js (812, 2023-11-30)
src/playlist-manager.js (5517, 2023-11-30)
src/searchSongs.js (1923, 2023-11-30)

Radiobot ======== This is a telegram bot that uses ezstream to send mp3 files to your desired icecast server. Songs are automatically added to playlist using youtube-dl Bot commands include `/help`,`/skipsong`, `/addsong`, `/flush`, `/startstream` and `/stop` ## Requirements - Ezstream - Youtube-dl - Icecast server credentials - Telegram bot credentials - ffprobe - Direnv ## Configuration Create a `.envrc` file using `example.envrc` as guide ## Starting the service Once configured, just start the service (`node index.js`) and head to your telegram bot Initially it will not stream anything to icecast, you need to add songs first ## Adding songs `/addsong url|search params` Using this command, you can add specific songs using url from youtube/youtube-music Or you can send a search query and the bot will try to get that song for you. ## Starting the stream Once music is added, just send `/startstream` to start the streaming. Songs will play in order And will repeat the whole playlist once it finishes playing. ## Stop streaming Just send `/stop`. This will clear the entire playlist and stop the streaming. To resume, you need to add new songs and send `/startstream` ## Skip song Send `/skipsong` to skip current song, if it is the last one, it will cicle to first one. ## Help Sending `/help` shows the available commands and its usage

近期下载者

相关文件


收藏者