From 58e769b940fd61bf0d4ec42256e9523f2433f6ca Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sat, 11 Dec 2021 15:44:45 +0100 Subject: [PATCH] Add some play-*-music.ps1 scripts --- Docs/VoiceControl.md | 2 +- Scripts/play-blues-music.ps1 | 15 +++++++++++++++ Scripts/play-classical-music.ps1 | 15 +++++++++++++++ Scripts/play-country-music.ps1 | 15 +++++++++++++++ Scripts/play-folk-music.ps1 | 15 +++++++++++++++ Scripts/play-indie-music.ps1 | 15 +++++++++++++++ Scripts/play-jazz-music.ps1 | 15 +++++++++++++++ Scripts/play-metal-music.ps1 | 15 +++++++++++++++ Scripts/play-rnb-music.ps1 | 15 +++++++++++++++ 9 files changed, 121 insertions(+), 1 deletion(-) create mode 100644 Scripts/play-blues-music.ps1 create mode 100644 Scripts/play-classical-music.ps1 create mode 100644 Scripts/play-country-music.ps1 create mode 100644 Scripts/play-folk-music.ps1 create mode 100644 Scripts/play-indie-music.ps1 create mode 100644 Scripts/play-jazz-music.ps1 create mode 100644 Scripts/play-metal-music.ps1 create mode 100644 Scripts/play-rnb-music.ps1 diff --git a/Docs/VoiceControl.md b/Docs/VoiceControl.md index d06ea738..6a437401 100644 --- a/Docs/VoiceControl.md +++ b/Docs/VoiceControl.md @@ -65,7 +65,7 @@ When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close *"Computer, play [genre] music."* ------------------------------- -Launches the default Web browser and plays the given music genre - replace [genre] by: `dance`, `pop`, or `rock`. +Launches the default Web browser and plays the given music genre - replace [genre] by: `blues`, `classical`, `country`, `dance`, `folk`, `indie`, `jazz`, `metal`, `pop`,`RnB`, or `rock`. When finished say: *"Close tab"* or: *"Computer, close [name] browser"* to close the Web browser. diff --git a/Scripts/play-blues-music.ps1 b/Scripts/play-blues-music.ps1 new file mode 100644 index 00000000..c89689ea --- /dev/null +++ b/Scripts/play-blues-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays blues music +.DESCRIPTION + This script launches the Web browser and plays blues music. +.EXAMPLE + PS> ./play-blues-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/American_Road_Radio" +exit 0 # success diff --git a/Scripts/play-classical-music.ps1 b/Scripts/play-classical-music.ps1 new file mode 100644 index 00000000..a6e8b3a1 --- /dev/null +++ b/Scripts/play-classical-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays classical music +.DESCRIPTION + This script launches the Web browser and plays classical music. +.EXAMPLE + PS> ./play-classical-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/KUSC_KDSC" +exit 0 # success diff --git a/Scripts/play-country-music.ps1 b/Scripts/play-country-music.ps1 new file mode 100644 index 00000000..102cdb61 --- /dev/null +++ b/Scripts/play-country-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays country music +.DESCRIPTION + This script launches the Web browser and plays country music. +.EXAMPLE + PS> ./play-country-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/HPR1_The_Classic_Country_Channel" +exit 0 # success diff --git a/Scripts/play-folk-music.ps1 b/Scripts/play-folk-music.ps1 new file mode 100644 index 00000000..b5a9b591 --- /dev/null +++ b/Scripts/play-folk-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays folk music +.DESCRIPTION + This script launches the Web browser and plays folk music. +.EXAMPLE + PS> ./play-folk-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/Real_Country_96.5_KBDN" +exit 0 # success diff --git a/Scripts/play-indie-music.ps1 b/Scripts/play-indie-music.ps1 new file mode 100644 index 00000000..32ec0141 --- /dev/null +++ b/Scripts/play-indie-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays indie music +.DESCRIPTION + This script launches the Web browser and plays indie music. +.EXAMPLE + PS> ./play-indie-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/Prog_Rock" +exit 0 # success diff --git a/Scripts/play-jazz-music.ps1 b/Scripts/play-jazz-music.ps1 new file mode 100644 index 00000000..b0bb1a5b --- /dev/null +++ b/Scripts/play-jazz-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays jazz music +.DESCRIPTION + This script launches the Web browser and plays jazz music. +.EXAMPLE + PS> ./play-jazz-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/KLEB" +exit 0 # success diff --git a/Scripts/play-metal-music.ps1 b/Scripts/play-metal-music.ps1 new file mode 100644 index 00000000..9bc1f23e --- /dev/null +++ b/Scripts/play-metal-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays metal music +.DESCRIPTION + This script launches the Web browser and plays metal music. +.EXAMPLE + PS> ./play-metal-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/Power_Rock_93.9_WKTG" +exit 0 # success diff --git a/Scripts/play-rnb-music.ps1 b/Scripts/play-rnb-music.ps1 new file mode 100644 index 00000000..c3acbcac --- /dev/null +++ b/Scripts/play-rnb-music.ps1 @@ -0,0 +1,15 @@ +<# +.SYNOPSIS + Plays RnB music +.DESCRIPTION + This script launches the Web browser and plays RnB music. +.EXAMPLE + PS> ./play-rnb-music +.NOTES + Author: Markus Fleschutz · License: CC0 +.LINK + https://github.com/fleschutz/PowerShell +#> + +& "$PSScriptRoot/open-default-browser.ps1" "http://streema.com/radios/play/Biker_Valley_Radio_2" +exit 0 # success