Adjusted empv hydra bindings and testing out my changes to empv

Changes to empv (in Pull Request #93) introduce remote resource
support, which I'm actively testing out.
This commit is contained in:
2025-02-15 22:05:52 +00:00
parent d03743c72d
commit 82dca8dd86

View File

@@ -3830,19 +3830,21 @@ playing.
:straight t
:defer t
:init
(setq empv-audio-dir (expand-file-name "~/Media/audio")
empv-video-dir (expand-file-name "~/Media/videos")
empv-audio-file-extensions (list "mp3" "ogg" "wav" "m4a"
"flac" "aac" "opus")
empv-video-file-extensions (list "mkv" "mp4" "avi" "mov"
"webm")
empv-radio-channels '(("SomaFM - Groove Salad" . "http://www.somafm.com/groovesalad.pls")
("SomaFM - Drone Zone" . "http://www.somafm.com/dronezone.pls")
("SomaFM - Sonic Universe" . "https://somafm.com/sonicuniverse.pls")
("SomaFM - Metal" . "https://somafm.com/metal.pls")
("SomaFM - Vaporwaves" . "https://somafm.com/vaporwaves.pls")
("SomaFM - DEFCON" . "https://somafm.com/defcon.pls")
("SomaFM - The Trip" . "https://somafm.com/thetrip.pls")))
(setq empv-audio-dir (list (expand-file-name "~/Media/audio")
"/sshx:oldboy:/media/hdd/content/Audio")
empv-video-dir (list (expand-file-name "~/Media/videos")
"/sshx:oldboy:/media/hdd/content/Videos")
empv-playlist-dir (expand-file-name "~/Media/playlists")
empv-audio-file-extensions (list "mp3" "ogg" "wav" "m4a" "flac" "aac" "opus")
empv-video-file-extensions (list "mkv" "mp4" "avi" "mov" "webm")
empv-radio-channels
'(("SomaFM - Groove Salad" . "http://www.somafm.com/groovesalad.pls")
("SomaFM - Drone Zone" . "http://www.somafm.com/dronezone.pls")
("SomaFM - Sonic Universe" . "http://www.somafm.com/sonicuniverse.pls")
("SomaFM - Metal" . "http://www.somafm.com/metal.pls")
("SomaFM - Vaporwaves" . "http://www.somafm.com/vaporwaves.pls")
("SomaFM - DEFCON" . "http://www.somafm.com/defcon.pls")
("SomaFM - The Trip" . "http://www.somafm.com/thetrip.pls")))
:hydra
(empv-hydra
nil "Hydra for EMPV"
@@ -3860,8 +3862,8 @@ playing.
"playback-speed-up" :column "playback")
("_" #'empv-toggle-video
"toggle-video" :column "playback")
("q" #'empv-exit
"exit" :column "playback")
("q" #'empv-save-and-exit
"save-and-quit" :column "playback")
("s" #'empv-seek
"seek" :column "playback")
("t" #'empv-toggle
@@ -3878,6 +3880,8 @@ playing.
"playlist-select" :column "playlist")
("S" #'empv-playlist-shuffle
"playlist-shuffle" :column "playlist")
("M-s" #'empv-playlist-save-to-file
"playlist-save-to-file" :column "playlist")
("a" #'empv-play-audio
"play-audio" :column "play")
("R" #'empv-play-random-channel
@@ -3892,6 +3896,8 @@ playing.
"play-radio" :column "play")
("v" #'empv-play-video
"play-video" :column "play")
("." #'empv-play-thing-at-point
"play-at-point" :column "play" :exit t)
("i" #'empv-display-current
"display-current" :column "misc")
("l" #'empv-log-current-radio-song-name