{"id":20161723,"url":"https://github.com/chat-apropo/mpd_irc_bot","last_synced_at":"2025-11-28T14:04:15.453Z","repository":{"id":101329985,"uuid":"492132365","full_name":"chat-apropo/mpd_irc_bot","owner":"chat-apropo","description":"The irc radio bot used on irc.dot.org.es! It can manage mpd playlist, upload files using DCC or youtube links. It also features a sonic pi repl!","archived":false,"fork":false,"pushed_at":"2022-05-27T04:07:28.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-13T13:52:33.818Z","etag":null,"topics":["chatbot","icecast","irc","irc-bot","mpd","mpd-client","radio","sonic-pi"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chat-apropo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-05-14T06:30:36.000Z","updated_at":"2023-10-11T18:02:34.000Z","dependencies_parsed_at":"2023-08-31T22:15:14.790Z","dependency_job_id":null,"html_url":"https://github.com/chat-apropo/mpd_irc_bot","commit_stats":null,"previous_names":["chat-apropo/mpd_irc_bot"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chat-apropo%2Fmpd_irc_bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chat-apropo%2Fmpd_irc_bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chat-apropo%2Fmpd_irc_bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chat-apropo%2Fmpd_irc_bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chat-apropo","download_url":"https://codeload.github.com/chat-apropo/mpd_irc_bot/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241600483,"owners_count":19988713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chatbot","icecast","irc","irc-bot","mpd","mpd-client","radio","sonic-pi"],"created_at":"2024-11-14T00:20:24.826Z","updated_at":"2025-11-28T14:04:15.413Z","avatar_url":"https://github.com/chat-apropo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MPD BOT\n\nA radio bot that integrates mpd and even features a live sonic pi repl. This is the bot I use in radio for the irc at irc.dot.org.es.\n\nBlog post about it: https://blog.mattf.tk/series/coding/3.html \n\n## Running sonic pi on a vps\n\n- Launch pulseaudio\n`pulseaudio --start`\n\n- Launch jack\n`jackd -d dummy`\n\n- Launch sonic pi\n`sonic-pi-tool start-server`\n\n- Comfort noise\nGenereate wav: `sox -c1 -n result.wav synth 10 sin 25000 vol 1`\nPlay in loop: `mpv -loop result.wav`\n\n- Stream:\n  `darkice -c .darkice.conf`\n\n  Config\n```\n[general]\nduration        = 0\nbufferSecs      = 5\nreconnect       = yes\nrealtime        = yes\nrtprio          = 3\n\n[input]\ndevice          = pulse\n#paSourceName    = 0.monitor\nsampleRate      = 44100\nbitsPerSample   = 16\nchannel         = 2\n\n[icecast2-0]\nbitrateMode     = cbr\nformat          = vorbis\nbitrate         = 128\nserver          = radio.dot.org.es\nport            = 8000\npassword        = passwordherehahaha\nmountPoint      = playground.ogg\nname            = Sonic Pi\ndescription     = Sonic Pi REPL\nurl             = https://radio.dot.org.es\ngenre           = radio\npublic          = yes\n```\n\n\nMake sure to redirect the \"Pulseaudio to jack\" source into the \"jack to pulseaudio\" sink for jack so that the mpv comfort noise is streamed. This is needed because ogg doesn't stream silence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchat-apropo%2Fmpd_irc_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchat-apropo%2Fmpd_irc_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchat-apropo%2Fmpd_irc_bot/lists"}