From 7b8475cd2fc823df3a61a3a6b61cc9c564a3b92e Mon Sep 17 00:00:00 2001 From: Siraaj Khandkar Date: Sat, 9 Mar 2019 23:09:44 -0500 Subject: [PATCH] Add SomaFM mpc scripts --- bin/mpc_add_soma_bagel_radio | 3 +++ bin/mpc_add_soma_deepspaceone | 3 +++ bin/mpc_add_soma_defcon | 3 +++ bin/mpc_add_soma_dronezone | 3 +++ bin/mpc_add_soma_indie_pop_rocks | 3 +++ bin/mpc_add_soma_sonic_universe | 3 +++ bin/mpc_add_soma_spacestation | 3 +++ bin/mpc_add_soma_suburbs_of_goa | 3 +++ bin/soma_file_of_pls | 3 +++ 9 files changed, 27 insertions(+) create mode 100755 bin/mpc_add_soma_bagel_radio create mode 100755 bin/mpc_add_soma_deepspaceone create mode 100755 bin/mpc_add_soma_defcon create mode 100755 bin/mpc_add_soma_dronezone create mode 100755 bin/mpc_add_soma_indie_pop_rocks create mode 100755 bin/mpc_add_soma_sonic_universe create mode 100755 bin/mpc_add_soma_spacestation create mode 100755 bin/mpc_add_soma_suburbs_of_goa create mode 100755 bin/soma_file_of_pls diff --git a/bin/mpc_add_soma_bagel_radio b/bin/mpc_add_soma_bagel_radio new file mode 100755 index 0000000..c090be9 --- /dev/null +++ b/bin/mpc_add_soma_bagel_radio @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls https://somafm.com/bagel.pls) diff --git a/bin/mpc_add_soma_deepspaceone b/bin/mpc_add_soma_deepspaceone new file mode 100755 index 0000000..cb79baf --- /dev/null +++ b/bin/mpc_add_soma_deepspaceone @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls http://somafm.com/deepspaceone.pls) diff --git a/bin/mpc_add_soma_defcon b/bin/mpc_add_soma_defcon new file mode 100755 index 0000000..1ba15c3 --- /dev/null +++ b/bin/mpc_add_soma_defcon @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls https://somafm.com/defcon256.pls) diff --git a/bin/mpc_add_soma_dronezone b/bin/mpc_add_soma_dronezone new file mode 100755 index 0000000..efca67e --- /dev/null +++ b/bin/mpc_add_soma_dronezone @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls http://somafm.com/dronezone256.pls) diff --git a/bin/mpc_add_soma_indie_pop_rocks b/bin/mpc_add_soma_indie_pop_rocks new file mode 100755 index 0000000..34f0a0a --- /dev/null +++ b/bin/mpc_add_soma_indie_pop_rocks @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls https://somafm.com/indiepop.pls) diff --git a/bin/mpc_add_soma_sonic_universe b/bin/mpc_add_soma_sonic_universe new file mode 100755 index 0000000..5c4e793 --- /dev/null +++ b/bin/mpc_add_soma_sonic_universe @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls http://somafm.com/sonicuniverse192.pls) diff --git a/bin/mpc_add_soma_spacestation b/bin/mpc_add_soma_spacestation new file mode 100755 index 0000000..4cd1a5b --- /dev/null +++ b/bin/mpc_add_soma_spacestation @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls http://somafm.com/spacestation.pls) diff --git a/bin/mpc_add_soma_suburbs_of_goa b/bin/mpc_add_soma_suburbs_of_goa new file mode 100755 index 0000000..073d2ab --- /dev/null +++ b/bin/mpc_add_soma_suburbs_of_goa @@ -0,0 +1,3 @@ +#! /bin/sh + +mpc add $($HOME/bin/soma_file_of_pls http://somafm.com/suburbsofgoa.pls) diff --git a/bin/soma_file_of_pls b/bin/soma_file_of_pls new file mode 100755 index 0000000..28660ca --- /dev/null +++ b/bin/soma_file_of_pls @@ -0,0 +1,3 @@ +#! /bin/bash + +curl "$1" | awk -F= '{metadata[$1] = $2} END {print metadata["File1"]}' -- 2.20.1