From 801ee6ec245a8a2fffdd81f256eab750634306fc Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Mon, 7 Feb 2022 17:09:32 -0600 Subject: Add +bongo-radio --- init.el | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 10 deletions(-) (limited to 'init.el') diff --git a/init.el b/init.el index a510daf..6fa9adc 100644 --- a/init.el +++ b/init.el @@ -792,22 +792,69 @@ They are completed by \"M-x TAB\" only in Tramp debug buffers." :host github :repo "dbrock/bongo")) (:also-load +bongo) - (:option bongo-default-directory "~/var/music") + (:option bongo-default-directory "~/var/music" + bongo-custom-backend-matchers '((mpv . (("https:") . t))) + +bongo-radio-stations ; use `+bongo-radio' for these + `(;; Local radio + ("KLSU" + . "http://130.39.238.143:8010/stream.mp3") + ("WRKF: NPR for the Capital Region" + . ,(concat "https://playerservices.streamtheworld.com/api/" + "livestream-redirect/WRKFFM.mp3")) + ("WRKF HD-2" + . ,(concat "https://playerservices.streamtheworld.com/api/" + "livestream-redirect/WRKFHD2.mp3")) + ("WBRH: Jazz & More" + . "http://wbrh.streamguys1.com/wbrh-mp3") + ("KBRH Blues & Rhythm Hits" + . "http://wbrh.streamguys1.com/kbrh-mp3") + ;; Soma FM + ("Soma FM Synphaera" + . "https://somafm.com/synphaera256.pls") + ("SomaFM BAGel Radio" + . "https://somafm.com/bagel.pls") + ("SomaFM Boot Liquor" + . "https://somafm.com/bootliquor320.pls") + ("SomaFM Deep Space One" + . "https://somafm.com/deepspaceone.pls") + ("SomaFM Fluid" + . "https://somafm.com/fluid.pls") + ("SomaFM Underground 80s" + . "https://somafm.com/u80s256.pls") + ;; Tildeverse & Friends + ("tilderadio" + . "https://azuracast.tilderadio.org/radio/8000/radio.ogg") + ("vantaradio" + . "https://vantaa.black/radio") + ;; Other online radio + ("BadRadio: 24/7 PHONK" + . "https://s2.radio.co/s2b2b68744/listen") + ("Cafe - lainon.life" + . "https://lainon.life/radio/cafe.ogg.m3u") + ("Everything - lainon.life" + . "https://lainon.life/radio/everything.ogg.m3u") + ("Swing - lainon.life" + . "https://lainon.life/radio/swing.ogg.m3u") + ("Cyberia - lainon.life" + . "https://lainon.life/radio/cyberia.ogg.m3u") + ("Nightwave Plaza - Online Vaporwave Radio" + . "http://radio.plaza.one/opus"))) + (advice-add 'bongo-play :before #'+bongo-stop-all) (with-eval-after-load 'notifications (add-hook 'bongo-player-metadata-changed-hook #'+bongo-notify))) (setup (:straight (cape :host github :repo "minad/cape")) (dolist (fn - ;; All available cape capfs listed here. Add them to the front since - ;; they're reversed with `add-to-list'. - '(cape-file - cape-dabbrev - cape-keyword - cape-abbrev - cape-ispell - ;;cape-dict - )) + ;; All available cape capfs listed here. Add them to the front since + ;; they're reversed with `add-to-list'. + '(cape-file + cape-dabbrev + cape-keyword + cape-abbrev + cape-ispell + ;;cape-dict + )) (add-to-list 'completion-at-point-functions fn :append))))) (setup (:straight circe) -- cgit 1.4.1-21-gabe81