Control an icecast server via IRC!
An irc bot listens for commands to download and queue music using youtube-dl.
Audio files are downloaded and requests sent to liquidsoap server.
irc bot inteface to youtube-dl and liquidsoap / icecast2
Home Page: http://mixchat.ca/emb
need to remove libera password first
currently there is a system install of nginx and configuration is not tracked in git
larger issue: provide a way to monitor cpu status quickly
currently we have to wait for the polling interval before station shows up... make it instant
doing really hacky stuff now directly from dev box deploying with docker-compose
often its the case that retrying a recent 403 failure on an !add command will be successful.
Retry the job in this case a few times, and only return an error if can never succeed.
# original add here:
15:46:32 <geordie> !add https://www.youtube.com/watch?v=j3c-vd3L8vU
15:46:36 <djfullmoon> geordie: ERROR: unable to download video data: HTTP Error 403: Forbidden !error 375
# retried and it worked:
16:34:09 <rcy> !add https://www.youtube.com/watch?v=j3c-vd3L8vU
16:35:22 <djfullmoon> rcy: queued track 950 /media/BAD_CARTRIDGE_E-Pro_-_remix_by_Paza_The_X-Dump-j3c-vd3L8vU.ogg
# error details:
16:38:05 <rcy> !error 375
16:38:05 <djfullmoon> rcy: {"error":{"failed":true,"killed":false,"stderr":"ERROR: unable to download video data: HTTP Error 403:
Forbidden","stdout":"","command":"/app/node_modules/youtube-dl-exec/bin/youtube-dl https://www.youtube.com/watch?v=j3c-vd3L8vU --quiet --extract-audio --audio-format
vorbis --no-call-home --youtube-skip-dash-manifest --add-metadata --restrict-filenames --no-playlist --exec mv {} /media && echo
16:38:05 <djfullmoon> {}","exitCode":1,"timedOut":false,"isCanceled":false,"shortMessage":"Command failed with exit code 1: /app/node_modules/youtube-dl-exec/bin/youtube-dl
https://www.youtube.com/watch?v=j3c-vd3L8vU --quiet --extract-audio --audio-format vorbis --no-call-home --youtube-skip-dash-manifest --add-metadata --restrict-filenames
--no-playlist --exec mv {} /media && echo
16:38:05 <djfullmoon> {}","escapedCommand":"\"/app/node_modules/youtube-dl-exec/bin/youtube-dl\" \"https://www.youtube.com/watch?v=j3c-vd3L8vU\" --quiet --extract-audio --audio-format vorbis
--no-call-home --youtube-skip-dash-manifest --add-metadata --restrict-filenames --no-playlist --exec \"mv {} /media && echo {}\""},"status":"error","message":"ERROR:
unable to download video data: HTTP Error 403: Forbidden"}
would be nice to be able to queue an existing track by id
currently running
/app/node_modules/youtube-dl-exec/bin # ./youtube-dl --version
2021.06.06
in the worker docker via youtube-dl-exec js package
add an mp3 feed, seems like safari doesn't like ogg
Good Day!
I am interested to try you code to use on our online station. Hope you can help me out on how to install it?
Thanks in advance!
tags can be used to generate playlists or scheduling rules
!tag 123 spoken-word
!tag 456 metal
!tag 789 i-hate-this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.