From a6800e5b6aa8317369454fa4d64cb240b9d0867f Mon Sep 17 00:00:00 2001 From: Tucker Johnson Date: Sat, 31 May 2025 07:42:04 -0400 Subject: [PATCH] stream links --- dmenu-scripts/dm-streamselect | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dmenu-scripts/dm-streamselect b/dmenu-scripts/dm-streamselect index dd0e4b2..ee78286 100755 --- a/dmenu-scripts/dm-streamselect +++ b/dmenu-scripts/dm-streamselect @@ -1,12 +1,10 @@ #!/bin/sh streamList=" -audio: WXXI Classical (Rochester Classical Radio) link:https://22213.live.streamtheworld.com/WXXIFM.mp3 -audio: Fox Sports 1280 link:https://worldradiomap.com/us-ny/play/whtk_live +WXXI Classical (Rochester Classical Radio) link:https://22213.live.streamtheworld.com/WXXIFM.mp3 +Classical WSMR (Tampa Classical Radio) https://worldradiomap.com/us-fl/play/wsmr_live " + selected=$(echo "$streamList" | grep -P "^$(echo "$streamList" | grep "https:" | sed 's/link:.*//g' | dmenu -i -p "Select a Stream" -l 20 | awk '{print $1}')\s") -case "$(echo "$selected" | cut -c 1-5 )" in - video) echo "$selected" | sed 's/.*link://' | xargs -r mpv ;; - audio) echo "$selected" | sed 's/.*link://' | xargs -r mpv --no-video --terminal=no ;; -esac +echo "$selected" | sed 's/.*link://' | xargs -r mpv --no-video --terminal=no -- 2.39.5