Add SomaFM mpc scripts
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 10 Mar 2019 04:09:44 +0000 (23:09 -0500)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 10 Mar 2019 04:09:44 +0000 (23:09 -0500)
bin/mpc_add_soma_bagel_radio [new file with mode: 0755]
bin/mpc_add_soma_deepspaceone [new file with mode: 0755]
bin/mpc_add_soma_defcon [new file with mode: 0755]
bin/mpc_add_soma_dronezone [new file with mode: 0755]
bin/mpc_add_soma_indie_pop_rocks [new file with mode: 0755]
bin/mpc_add_soma_sonic_universe [new file with mode: 0755]
bin/mpc_add_soma_spacestation [new file with mode: 0755]
bin/mpc_add_soma_suburbs_of_goa [new file with mode: 0755]
bin/soma_file_of_pls [new file with mode: 0755]

diff --git a/bin/mpc_add_soma_bagel_radio b/bin/mpc_add_soma_bagel_radio
new file mode 100755 (executable)
index 0000000..c090be9
--- /dev/null
@@ -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 (executable)
index 0000000..cb79baf
--- /dev/null
@@ -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 (executable)
index 0000000..1ba15c3
--- /dev/null
@@ -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 (executable)
index 0000000..efca67e
--- /dev/null
@@ -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 (executable)
index 0000000..34f0a0a
--- /dev/null
@@ -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 (executable)
index 0000000..5c4e793
--- /dev/null
@@ -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 (executable)
index 0000000..4cd1a5b
--- /dev/null
@@ -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 (executable)
index 0000000..073d2ab
--- /dev/null
@@ -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 (executable)
index 0000000..28660ca
--- /dev/null
@@ -0,0 +1,3 @@
+#! /bin/bash
+
+curl "$1" | awk -F= '{metadata[$1] = $2} END {print metadata["File1"]}'
This page took 0.02031 seconds and 4 git commands to generate.