diff options
author | Case Duckworth | 2022-02-07 17:09:32 -0600 |
---|---|---|
committer | Case Duckworth | 2022-02-07 17:09:41 -0600 |
commit | 801ee6ec245a8a2fffdd81f256eab750634306fc (patch) | |
tree | a43984b5a38658c6054a01328485ca219b0e9f42 /init.el | |
parent | Remove emms (diff) | |
download | emacs-801ee6ec245a8a2fffdd81f256eab750634306fc.tar.gz emacs-801ee6ec245a8a2fffdd81f256eab750634306fc.zip |
Add +bongo-radio
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 67 |
1 files changed, 57 insertions, 10 deletions
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." | |||
792 | :host github | 792 | :host github |
793 | :repo "dbrock/bongo")) | 793 | :repo "dbrock/bongo")) |
794 | (:also-load +bongo) | 794 | (:also-load +bongo) |
795 | (:option bongo-default-directory "~/var/music") | 795 | (:option bongo-default-directory "~/var/music" |
796 | bongo-custom-backend-matchers '((mpv . (("https:") . t))) | ||
797 | +bongo-radio-stations ; use `+bongo-radio' for these | ||
798 | `(;; Local radio | ||
799 | ("KLSU" | ||
800 | . "http://130.39.238.143:8010/stream.mp3") | ||
801 | ("WRKF: NPR for the Capital Region" | ||
802 | . ,(concat "https://playerservices.streamtheworld.com/api/" | ||
803 | "livestream-redirect/WRKFFM.mp3")) | ||
804 | ("WRKF HD-2" | ||
805 | . ,(concat "https://playerservices.streamtheworld.com/api/" | ||
806 | "livestream-redirect/WRKFHD2.mp3")) | ||
807 | ("WBRH: Jazz & More" | ||
808 | . "http://wbrh.streamguys1.com/wbrh-mp3") | ||
809 | ("KBRH Blues & Rhythm Hits" | ||
810 | . "http://wbrh.streamguys1.com/kbrh-mp3") | ||
811 | ;; Soma FM | ||
812 | ("Soma FM Synphaera" | ||
813 | . "https://somafm.com/synphaera256.pls") | ||
814 | ("SomaFM BAGel Radio" | ||
815 | . "https://somafm.com/bagel.pls") | ||
816 | ("SomaFM Boot Liquor" | ||
817 | . "https://somafm.com/bootliquor320.pls") | ||
818 | ("SomaFM Deep Space One" | ||
819 | . "https://somafm.com/deepspaceone.pls") | ||
820 | ("SomaFM Fluid" | ||
821 | . "https://somafm.com/fluid.pls") | ||
822 | ("SomaFM Underground 80s" | ||
823 | . "https://somafm.com/u80s256.pls") | ||
824 | ;; Tildeverse & Friends | ||
825 | ("tilderadio" | ||
826 | . "https://azuracast.tilderadio.org/radio/8000/radio.ogg") | ||
827 | ("vantaradio" | ||
828 | . "https://vantaa.black/radio") | ||
829 | ;; Other online radio | ||
830 | ("BadRadio: 24/7 PHONK" | ||
831 | . "https://s2.radio.co/s2b2b68744/listen") | ||
832 | ("Cafe - lainon.life" | ||
833 | . "https://lainon.life/radio/cafe.ogg.m3u") | ||
834 | ("Everything - lainon.life" | ||
835 | . "https://lainon.life/radio/everything.ogg.m3u") | ||
836 | ("Swing - lainon.life" | ||
837 | . "https://lainon.life/radio/swing.ogg.m3u") | ||
838 | ("Cyberia - lainon.life" | ||
839 | . "https://lainon.life/radio/cyberia.ogg.m3u") | ||
840 | ("Nightwave Plaza - Online Vaporwave Radio" | ||
841 | . "http://radio.plaza.one/opus"))) | ||
842 | (advice-add 'bongo-play :before #'+bongo-stop-all) | ||
796 | (with-eval-after-load 'notifications | 843 | (with-eval-after-load 'notifications |
797 | (add-hook 'bongo-player-metadata-changed-hook #'+bongo-notify))) | 844 | (add-hook 'bongo-player-metadata-changed-hook #'+bongo-notify))) |
798 | 845 | ||
799 | (setup (:straight (cape | 846 | (setup (:straight (cape |
800 | :host github :repo "minad/cape")) | 847 | :host github :repo "minad/cape")) |
801 | (dolist (fn | 848 | (dolist (fn |
802 | ;; All available cape capfs listed here. Add them to the front since | 849 | ;; All available cape capfs listed here. Add them to the front since |
803 | ;; they're reversed with `add-to-list'. | 850 | ;; they're reversed with `add-to-list'. |
804 | '(cape-file | 851 | '(cape-file |
805 | cape-dabbrev | 852 | cape-dabbrev |
806 | cape-keyword | 853 | cape-keyword |
807 | cape-abbrev | 854 | cape-abbrev |
808 | cape-ispell | 855 | cape-ispell |
809 | ;;cape-dict | 856 | ;;cape-dict |
810 | )) | 857 | )) |
811 | (add-to-list 'completion-at-point-functions fn :append))))) | 858 | (add-to-list 'completion-at-point-functions fn :append))))) |
812 | 859 | ||
813 | (setup (:straight circe) | 860 | (setup (:straight circe) |