You are not logged in.
Thanks zephyr, Me too like watching scrots of users. It's the part i usually visit the most. We get inspired to do something similar or individually.
That Akiba panorama on my desktop is old now from 2010, but the place is left almost the same.
That's good to hear, hope yo've been satisfied. I believe so
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
All of this Fluxboxism has made me want to get in on the fun and share mine...
Mwu Ha Haaaa! LOLOLOL!!!
> Devuan Beowulf
> Neofetch
> fbmenugen providing the dynamic menu for Fluxbox (with or without icons)
I have been Devuanated, and my practice in the art of Devuanism shall continue until my Devuanization is complete. Until then, I will strive to continue in my understanding of Devuanchology, Devuanprocity, and Devuanivity.
Veni, vidi, vici vdevuaned. I came, I saw, I Devuaned.
Offline
Now that is a smile!
"The obstacle is the path."
Offline
Not a proper desktop images, simply fluxbox background settings.
! BACKGROUND OPTIONS
background: mod
background.modX 3
background.modY: 3
background.color: #111121
background.colorTo: #000000
...but showing the above wasn't my goal, this is the first time i have come down to this level tweaking "x86_64" so low in ram.
The desktop is so old, but thankfully with x64 support. Still doing fine even with 2GB MEM.
I wouldn't reach it if wasn't for Devuan 2.1
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
...but showing the above wasn't my goal, this is the first time i have come down to this level tweaking "x86_64" so low in ram.I wouldn't reach it if wasn't for Devuan 2.1
Very impressive!
What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
----+- Peter Kropotkin -+----
Offline
Nili wrote:...but showing the above wasn't my goal, this is the first time i have come down to this level tweaking "x86_64" so low in ram.I wouldn't reach it if wasn't for Devuan 2.1
Very impressive!
Yes, very impressive. How did you manage to get xorg RAM usage so low?
Offline
Thanks guys
@anticapitalista I haven't made any specific interventions or modifications on Xorg/xorg.conf itself, but I think the fact that Desktop is outdated and probably auto-optimization by Linux / Xorg have significant role.
What others i have done?
I installed very minimal Xorg with fev tools
Commandline: apt-get install xinit xserver-xorg-core xserver-xorg-video-fbdev xserver-xorg-video-intel rxvt-unicode fluxbox leafpad alsa-utils curl wget scrot feh gtk2-engines-pixbuf ntfs-3g xfe psmisc rcconf x11-xserver-utils ranger file caca-utils libdbus-glib-1-2 gtk2-engines fonts-droid ttf-unifont ca-certificates hicolor-icon-theme jmtpfs mediainfo lm-sensors ncdu rdesktop xdg-utils xserver-xorg-input-evdev xserver-common --no-install-recommends
I had to clean startup services with rcconf to very few services i only needed, i fixed everything "(WW) warning, (EE) error" founds on Xorg.log.
I made sure i hadn't major issues showing to: "kern.log", "faillog", "syslog" "messages", etc... then i turned off rsyslog temporary for testing purpose.
During the installation (in the traditional Expert method) I only installed the ones i needed. Also i always check ReduceDebian to made many changes.
In the end, i had a complete system + apps to 1GB with only "410" pckgs installed.
None: systemd, dbus, pulse, consolekit, gvfs, and many many unneeded tools.
Filesystem Type Size Used Avail Use% Mounted on
/dev/sda1 ext4 143G 1021M 135G 1% /
udev devtmpfs 10M 0 10M 0% /dev
tmpfs tmpfs 200M 304K 200M 1% /run
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 1.2G 0 1.2G 0% /run/shm
I turned OFF few tty from "/etc/inittab", i got some memory plus reduced to only one tty(1).
1:2345:respawn:/sbin/getty -a nili tty1
#1:2345:respawn:/sbin/getty 38400 tty1
#2:23:respawn:/sbin/getty 38400 tty2
#3:23:respawn:/sbin/getty 38400 tty3
#4:23:respawn:/sbin/getty 38400 tty4
#5:23:respawn:/sbin/getty 38400 tty5
#6:23:respawn:/sbin/getty 38400 tty6
I made auto login (user) + auto startup (startX) Window manager (Fluxbox) from ".profile".
ps_mem shows me different datas than "TOP", for example:
PS_MEM: 10MB to 15MB
TOP: Xorg 12MB to 30MB
To tell the truth i don't know which is correct conky aslo showing different, also bash scripts differents aswell.
I've read that it's a long struggle for accuracy about memory usages on Linux.
I believe the old system, plays a major role to have auto-optimized, i have another coherent system when Xorg spends almost 50MB on Idle.
Something else, on this old hardware Devuan i686 i used to have Xorg to 8MB. I'm really surprised that x64 boots to 30MB lol, i think i can get it even more down by replacing Fluxbox with dwm, rxvt-unicode with st and bash with ksh, but i accepted choosing Fluxbox, bash+urxvt.
So, sorry i don't have a precise answer to why is low my Xorg, except for some individual interventions i believe have helped reducing the usage of Xorg/system may i call a bit of an answer.
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
Devuan | No Bullt@rds!
Edit: Desktop doesn't seems that good without a background regardless Fluxbox settings, I put it a image and edited this post.
Photo credit: takahiro taguchi
The last ones for this year i think. Hope everyone have a blast during the celebrations.
Last edited by Nili (2019-12-26 09:30:31)
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
simple minimal refracta with openbox, tint2, spacefm, lxterminal. Ive grown accustomed to tiling window managers but revisiting openbox again to float around, modified the key shortcuts to emulate my dwm setup. Openbox has to be one of the most versatile window managers ever created.
Themes; adwaita-dark gtk and customised obtheme nightmare with minimal decorations.
Last edited by HevyDevy (2019-12-21 16:08:09)
Offline
HevyDevy, looks nice and minimal. Good work!
What economists call over-production is but a production that is above the purchasing power of the worker, who is reduced to poverty by capital and state.
----+- Peter Kropotkin -+----
Offline
Crowz-Ob Ceres 5.4.0 New Year scrot!
Audio: DeaDBeeF
Terminal: LXTerminal - theme gruvbox-neofetch
Termianl: " - " -nnn (lot like ncdu)
Laucher: Tint2
cheers
zephyr
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
That's a nice upgrade zephyr, It give us Devuan-end-users hopes for updates soon Also glad to see another DB fellow. This is my copy. Almost maximized, i used for a while semi-gui like yours, but a week ago i did a bit maximized.
DeaDBeeF is really tight audio player.
Happy New Year to everyone!
I wish everyone a healthy life success at work, enough money in pockets or wallets and good tweaks on systems for this new decade.
Last edited by Nili (2020-01-04 06:35:48)
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
Nili wrote: That's a nice upgrade zephyr, It give us Devuan-end-users hopes for updates soon
Hi Nili, Thank you! I have been using Ceres since Jessie became stable. Ceres has not even hiccuped on my main machine and daily driver! very stable for an unstable kernel!
Nili wrote: DeaDBeeF is really tight audio player.
I started using DeaDBeeF shortly after coming to Linux, with CrunchBang. Very powerful and simply a great audio player. Not all audio players are created equal, have noticed DB and alsa works better than others. Impressed with your DB, very cool!
Ditto on the New Years, wish all good fortune and happiness! More peaceful world!
cheers
zephyr
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
Hi everyone, first time here. I just finished my XFCE Ceres on my old Dell Mini 9
The only real issue I encountered was xfce4-session 4.14 missing from the repos, so I stole the MX Linux one
Offline
first time here ... Dell Mini 9
Welcome to the forum. Nice machine you have!
Last edited by PedroReina (2020-01-13 15:48:46)
Offline
Hi Nili, Thank you! I have been using Ceres since Jessie became stable. Ceres has not even hiccuped on my main machine and daily driver! very stable for an unstable kernel!
A bit late due to slow start of the daily routine.
Yw, I always been a testing-user for two or more years on my #! time, once one day i made it to SID didn't last more than a week I wasn't prepared enough for Sid. So i used Sid only a week, i can't denny i haven't proper guts to run sid nowdays because i'm too busy with life things and fix my concerns will eat my time right away. I use stable distro mostly since a year. However I'm slowly open to other directions as well to Alpine, Void or BSD. Once i saw i user that run sid and have over 2000 packages installed, i always say that man have guts for sure to run sids with so many pckg's.
I started using DeaDBeeF shortly after coming to Linux, with CrunchBang. Very powerful and simply a great audio player. Not all audio players are created equal, have noticed DB and alsa works better than others. Impressed with your DB, very cool!
Ditto on the New Years, wish all good fortune and happiness! More peaceful world!
cheers
zephyr
DeaDBeeF was the closest to foobar2000 on Windows, the only player that interested me in Windows early. When I switched to Linux 10 years ago I was looking for and tried many different players to compare with foobar and the most proximate was DB or Audacious.
I chosed DB because this seems more familiar to foobar, the author is very enthusiastic and stylish in the selection of details to that player.
deadbeef on a GUI fron-end, MOC or cmus cli other times.
Thanks, had a blast for New Year with fam and friends. Hope you had aswell a cheerful and rest time needed for starting a new year full of energy.
Cheers!
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
Nili wrote: Yw, I always been a testing-user for two or more years on my #! time, once one day i made it to SID didn't last more than a week
I started paying attention to the d-u with sid, if it appeared that it was something that might break it then postponed upgrading a few days. Normally Debian had become quite bad about not sending upgrades in sequence and would either break or get an error. Devuan (knock on wood) has been very keen not to break an unstable install. Sid was quite nice to use with Wheezy and vinit but after that with systemd it became almost impossible to keep sid working. Became a little paranoid to do a d-u, that is no fun!
Nili wrote: I chosed DB because this seems more familiar to foobar, the author is very enthusiastic and stylish in the selection of details to that player.
Never used foobar2000 on windows, think remembering correctly just used default media player. DeaDBeeF has a lot to offer and like simplicity. I use foobar eq settings with the eq on DB. Will be happy when Devuan ports it over to its repos!
Use moc and cmus too, nice way to play from the music library! For one like using cli apps!
Nili wrote: Thanks, had a blast for New Year with fam and friends. Hope you had aswell a cheerful and rest time needed for starting a new year full of energy.
Thank you I did, happy you had a great time with family and friends, NY is a great time to reflect and make those resolutions for a better year. Done the same with family and neighboring friends. Retired so all I do is lounge about and have fun!
cheers
zephyr
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
I started paying attention to the d-u with sid, if it appeared that it was something that might break it then postponed upgrading a few days. Normally Debian had become quite bad about not sending upgrades in sequence and would either break or get an error. Devuan (knock on wood) has been very keen not to break an unstable install. Sid was quite nice to use with Wheezy and vinit but after that with systemd it became almost impossible to keep sid working. Became a little paranoid to do a d-u, that is no fun!
^Almost same to me, I remember very well the first time where SID boy break my toy, apt-listbugs & apt-listchanges i had em as my daily tools where i got the data regarding apps-bugs, info or releases. I was very family with hold-unhold packages then on my-testing for years, but the transition from kernel 3.16 to 4 or from Wheezy non-systemd to systemd something crashed and i couldn't manage to recover from it with my efforts, that's ended my little time on the sid. Agree, Wheezy was the last clean of Debian, the one and the best Debian i ever used. With the living of Devuan Debian pre-systemd the feeling is revived.
Never used foobar2000 on windows, think remembering correctly just used default media player. DeaDBeeF has a lot to offer and like simplicity. I use foobar eq settings with the eq on DB. Will be happy when Devuan ports it over to its repos!
Use moc and cmus too, nice way to play from the music library! For one like using cli apps!
I used eq of foobar aswell, When i bought a pair of professional headphones i realized that i no longer needed those sound-configs.
Well, since i have urxvt,ranger,tmux,mpv,feh i couldn't leave myself without a cli audio-player, I am not so dedicated as i used to be. however, "apt-get" is the only 100% there ready to perform.
Thank you I did, happy you had a great time with family and friends, NY is a great time to reflect and make those resolutions for a better year. Done the same with family and neighboring friends. Retired so all I do is lounge about and have fun!
cheers
zephyr
Thank you too, I'd been around Europe for a few days and had fun. I have meet few old and new friends around Italy, France, Belgium. Well, i still have 20+ more years to retire have planty of time to give and get on my way. Important to be fine and healthy above all.
Glad to hear from you zephyr.
Best Regards!
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
Nili wrote: Well, since i have urxvt,ranger,tmux,mpv,feh i couldn't leave myself without a cli audio-player, I am not so dedicated as i used to be. however, "apt-get" is the only 100% there ready to perform.
Cli apps have become a mainstay with replacing some gui apps with me, the ever-popular htop, atop for viewing running processes, also ncdu and nnn for file search, tmux an old favorite for a multi-pane terminal usage. The cli app nnn is in the Ceres repos and don't know if it is available in Beowulf but it is not in Ascii. Don't know if you are familiar with hakerdefo's pmrp (internet radio), pmytd (youtube-dl), and pmss (screenshot) all very nice cli apps.
Nili wrote:Thank you too, I'd been around Europe for a few days and had fun. I have meet few old and new friends around Italy, France, Belgium.
Have been to Europe many times to the UK and Germany, was job-related and spent almost zero time doing offer than work at the airbases. I have longed to go back but Scotland and Australia would me my two destinations. Belgium, France, and Italy would be an architectural delight for me. I love old buildings and historical places. I spent many years living in Micronesia and Hawai and traveled briefly to the Philippines and Thailand. And once again not getting out into the community.
Nili wrote:Well, i still have 20+ more years to retire smile have plenty of time to give and get on my way. Important to be fine and healthy above all.
Work has always been an extension of myself, loved my different positions and jobs and do miss it now. Retirement isn't all its cut out to be, its an end to a very important part of your life. Have to say however when the numbers are right with income versus working or retiring...retire and enjoy life!
Always a pleasure to chat, compare notes and share an interest, thank you!
cheers
zephyr
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
Cli apps have become a mainstay with replacing some gui apps with me, the ever-popular htop, atop for viewing running processes, also ncdu and nnn for file search, tmux an old favorite for a multi-pane terminal usage. The cli app nnn is in the Ceres repos and don't know if it is available in Beowulf but it is not in Ascii. Don't know if you are familiar with hakerdefo's pmrp (internet radio), pmytd (youtube-dl), and pmss (screenshot) all very nice cli apps.
I too use ncdu, top/htop, youtube-dl the latter is almost in use daily, Everything from Youtube ends here thanks to mpv player. Also ffmpeg helps me pretty much about other media stuff's. Didn't know about "pmytd" & "pmrp" The first one looks very interesting, I will immediately check it and perhaps use it right away. I don't hear much radio on PC, the snippet-app looks just fine. hakerdefo have some pretty nifty stuff on his github. Thanks for sharing.
Have been to Europe many times to the UK and Germany, was job-related and spent almost zero time doing offer than work at the airbases. I have longed to go back but Scotland and Australia would me my two destinations. Belgium, France, and Italy would be an architectural delight for me. I love old buildings and historical places. I spent many years living in Micronesia and Hawai and traveled briefly to the Philippines and Thailand. And once again not getting out into the community.
As you pointed out about those European cities, they are very beautiful in the cultural and historical prism, their ancient buildings being a great asset for themselves or entire world regarding history concerned. I'm sure you will enjoy it a lot when you make a visit on them. Australia is going through a very difficult time with fires and I hope they'll recover soon. I'm really sorry for what I see on the Internet from them, I wish when you make your going the colossal damage is minimized. Never been to extraordinary Hawaii, i'd love to get some sunshine now in January. I believe you were lucky to live in that place
Work has always been an extension of myself, loved my different positions and jobs and do miss it now. Retirement isn't all its cut out to be, its an end to a very important part of your life. Have to say however when the numbers are right with income versus working or retiring...retire and enjoy life!
To be precise, work keeps us alive and well, i also love some early jobs from my beginnings. After all the hard work in life, the reward is deserved, so that after a lifetime of work rest is necessary, Even though the rest, hands do not cease to do daily work which means we never rest as long as we breathe.Always a pleasure to chat, compare notes and share an interest, thank you!
cheers
zephyr
After all the hard work, the reward is deserved, so that after a lifetime of work breaks are necessary, Even though rest, hands do not cease to do daily work which means we never rest as long as we breathe.
My pleasure to hear from you bro, Thanks aswell for sharing your Linux stuff and stories.
Best regards!
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
Nili wrote: Didn't know about "pmytd" & "pmrp" The first one looks very interesting,
If you are interested will provide the bash script for the YouTube-dl or PMRP.
Cheers
zephyr
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
If you are interested will provide the bash script for the YouTube-dl or PMRP.
Cheers
zephyr
Please provide the bash script zephyr. Thank you!
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline
Nili wrote: Please provide the bash script zephyr. Thank you!
PMRP:
Requires mpg123 and goes into /usr/local/bin and make executable.
#!/usr/bin/env bash
########
RED='\E[1;32;41m'
BLUE='\E[1;32;44m'
NC='\E[0m'
command -v mpg123 >/dev/null 2>&1 || { printf "\033c"; echo -e "$RED PMRP requires 'mpg123' but it's not installed! Install 'mpg123' to enjoy PMRP. $NC" >&2; exit 1; }
PLAYER="mpg123 --control --utf8 --title --preload 1 --buffer 768"
########
function Muzic (){
printf "\033c"
echo -e "$BLUE PMRP $NC - Poor Man's Radio Player"
echo ""
echo -e "Station $BLUE Categories $NC :"
echo ""
echo -e "$BLUE 01 $NC 181.FM"
echo -e "$BLUE 02 $NC Blues"
echo -e "$BLUE 03 $NC Bollywood"
echo -e "$BLUE 04 $NC Classical"
echo -e "$BLUE 05 $NC Country"
echo -e "$BLUE 06 $NC Electronic"
echo -e "$BLUE 07 $NC Hits"
echo -e "$BLUE 08 $NC Jazz"
echo -e "$BLUE 09 $NC Medley"
echo -e "$BLUE 10 $NC Metal"
echo -e "$BLUE 11 $NC News & Views"
echo -e "$BLUE 12 $NC Oldies"
echo -e "$BLUE 13 $NC Reggae"
echo -e "$BLUE 14 $NC Rock"
echo -e "$BLUE 15 $NC SomaFM"
echo -e "$BLUE 16 $NC Urban"
echo -e "$RED 17 $BLUE Quit PMRP $NC"
echo ""
echo -e "Select a $BLUE Category $NC and press $BLUE [Enter] $NC to $BLUE list available stations $NC :"
read -er stations
case "$stations" in
01 | 1)
181fM
;;
02 | 2)
BlueS
;;
03 | 3)
BollywooD
;;
04 | 4)
ClassicaL
;;
05 | 5)
CountrY
;;
06 | 6)
ElectroniC
;;
07 | 7)
HitS
;;
08 | 8)
JazZ
;;
09 | 9)
ListeneR
;;
10)
MetaL
;;
11)
NewS
;;
12)
OldieS
;;
13)
ReggaE
;;
14)
RocK
;;
15)
SomA
;;
16)
UrbaN
;;
17)
printf "\033c"
echo ""
echo -e "$BLUE 'When I die, just keep playing the records' $RED Jimi Hendrix $NC"
echo ""
sleep 2
printf "\033c"
exit 0
;;
*)
printf "\033c"
echo ""
echo -e "$RED $stations $NC $BLUE is an invalid selection! $NC"
echo ""
echo -e "Please select a category by entering the relevant number."
echo -e "For example enter '2' to select station category 'Blues'."
echo -e "To select station category 'News & Views' enter '11'."
echo -e "And you can select station category 'Rock' by entering '14'."
echo -e "Easy, Ain't it? Let's go back to the Menu, Shall we?"
echo ""
read -rsp $'Press any key to return to PMRP Main Menu...\n' -n1 key
Muzic
;;
esac
}
########
function 181fM (){
########
function UrbaN_181fM (){
Name01="Jammin 181"
Name02="Old School HipHop"
Name03="The Beat"
Name04="The Box"
Name05="True R&B"
link01="http://relay.181.fm:8042"
link02="http://relay.181.fm:8068"
link03="http://relay.181.fm:8054"
link04="http://relay.181.fm:8024"
link05="http://relay.181.fm:8022"
printf "\033c"
echo -e "Stations Playing $BLUE Urban Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$RED 06 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 5 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Urban $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Urban $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Urban $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Urban $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Urban $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN_181fM
;;
06 | 6)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
UrbaN_181fM
;;
esac
}
########
function TechnO_181fM (){
Name01="Chilled Out"
Name02="Energy 93"
Name03="Energy 98"
Name04="Studio 181"
Name05="Techno Club"
Name06="The Vibe of Vegas"
link01="http://relay.181.fm:8700"
link02="http://relay.181.fm:8044"
link03="http://relay.181.fm:8800"
link04="http://relay.181.fm:8072"
link05="http://icyrelay.181.fm/181-technoclub_128k.mp3"
link06="http://relay.181.fm:8074"
printf "\033c"
echo -e "Stations Playing $BLUE Techno Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$RED 07 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 6 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Techno $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
TechnO_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Techno $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
TechnO_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Techno $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
TechnO_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Techno $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
TechnO_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Techno $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
TechnO_181fM
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Techno $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
TechnO_181fM
;;
07 | 7)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
TechnO_181fM
;;
esac
}
########
function RocK_181fM (){
Name01="80's Hairband"
Name02="Chloe"
Name03="Classic Buzz"
Name04="Rock 181"
Name05="Rock 40"
Name06="The Buzz"
Name07="The Eagle"
Name08="The Rock"
link01="http://relay.181.fm:8014"
link02="http://relay.181.fm:8100"
link03="http://relay.181.fm:8038"
link04="http://relay.181.fm:8008"
link05="http://relay.181.fm:8028"
link06="http://relay.181.fm:8126"
link07="http://relay.181.fm:8030"
link08="http://relay.181.fm:8064"
printf "\033c"
echo -e "Stations Playing $BLUE Rock Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$RED 09 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 8 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Rock $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK_181fM
;;
09 | 9)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
RocK_181fM
;;
esac
}
########
function PoP_181fM (){
Name01="Party 181"
Name02="Power 181"
Name03="Smooth AC"
Name04="The Heart"
Name05="The Mix"
Name06="The Office"
Name07="The Point"
Name08="UK Top 40"
link01="http://relay.181.fm:8036"
link02="http://relay.181.fm:8128"
link03="http://relay.181.fm:8094"
link04="http://relay.181.fm:8006"
link05="http://relay.181.fm:8032"
link06="http://relay.181.fm:8002"
link07="http://relay.181.fm:8010"
link08="http://relay.181.fm:8070"
printf "\033c"
echo -e "Stations Playing $BLUE Pop Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$RED 09 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 8 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Pop $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
PoP_181fM
;;
09 | 9)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
PoP_181fM
;;
esac
}
########
function OldieS_181fM (){
Name01="Beatles"
Name02="Classic Hits"
Name03="Good Time Oldies"
Name04="Mellow Gold"
Name05="Soul"
Name06="Super 70s"
link01="http://relay.181.fm:8062"
link02="http://relay.181.fm:8132"
link03="http://relay.181.fm:8046"
link04="http://relay.181.fm:8060"
link05="http://relay.181.fm:8058"
link06="http://relay.181.fm:8066"
printf "\033c"
echo -e "Stations Playing $BLUE Oldies Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$RED 07 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 6 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Oldies $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Oldies $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Oldies $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Oldies $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Oldies $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS_181fM
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Oldies $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS_181fM
;;
07 | 7)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
OldieS_181fM
;;
esac
}
########
function LatiN_181fM (){
Name01="Reggae Roots"
Name02="Salsa"
link01="http://relay.181.fm:8096"
link02="http://relay.181.fm:8098"
printf "\033c"
echo -e "1 Stations Playing $BLUE Latin Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$RED 03 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 2 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Latin $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
LatiN_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Latin $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
LatiN_181fM
;;
03 | 3)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
LatiN_181fM
;;
esac
}
########
function EasY_181fM (){
Name01="Acid Jazz"
Name02="Bebop"
Name03="Classical Guitar"
Name04="Classical Jazz"
Name05="Classical Music"
Name06="Fusion Jazz"
Name07="Sensual World"
Name08="The Breeze"
Name09="Trance Jazz"
Name10="True Blues"
Name11="Vocal Jazz"
link01="http://icyrelay.181.fm/181-acidjazz_128k.mp3"
link02="http://icyrelay.181.fm/181-bebop_128k.mp3"
link03="http://icyrelay.181.fm/181-classicalguitar_128k.mp3"
link04="http://icyrelay.181.fm/181-classicaljazz_128k.mp3"
link05="http://icyrelay.181.fm/181-classical_128k.mp3"
link06="http://icyrelay.181.fm/181-fusionjazz_128k.mp3"
link07="http://icyrelay.181.fm/181-sensual_128k.mp3"
link08="http://relay.181.fm:8004"
link09="http://icyrelay.181.fm/181-trancejazz_128k.mp3"
link10="http://icyrelay.181.fm/181-blues_128k.mp3"
link11="http://icyrelay.181.fm/181-vocals_128k.mp3"
printf "\033c"
echo -e "Stations Playing $BLUE Easy Listening Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$RED 12 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 11 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Easy Listening $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EasY_181fM
;;
12)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
EasY_181fM
;;
esac
}
########
function CountrY_181fM (){
Name01="Front Porch"
Name02="Highway 181"
Name03="Kickin' Country"
Name04="Real Country"
Name05="US 181"
link01="http://relay.181.fm:8016"
link02="http://relay.181.fm:8018"
link03="http://relay.181.fm:8130"
link04="http://relay.181.fm:8034"
link05="http://relay.181.fm:8056"
printf "\033c"
echo -e "Stations Playing $BLUE Country Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$RED 06 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 5 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Country $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Country $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Country $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Country $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Country $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY_181fM
;;
06 | 6)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
CountrY_181fM
;;
esac
}
########
function ComedY_181fM (){
Name01="Comedy Club"
link01="http://relay.181.fm:8026"
printf "\033c"
echo -e "1 Station Playing $BLUE Non-stop Comedy Shows $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$RED 02 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select $BLUE station $NC 1 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE Comedy $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ComedY_181fM
;;
02 | 2)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
ComedY_181fM
;;
esac
}
########
function NinetY_181fM (){
Name01="90's Alternative"
Name02="90's Country"
Name03="90's Dance"
Name04="Lite 90's"
Name05="Star 90's"
link01="http://relay.181.fm:8052"
link02="http://relay.181.fm:8050"
link03="http://relay.181.fm:8140"
link04="http://relay.181.fm:8048"
link05="http://relay.181.fm:8012"
printf "\033c"
echo -e "Stations Playing $BLUE 90s Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$RED 06 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 5 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 90s $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NinetY_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 90s $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NinetY_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 90s $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NinetY_181fM
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 90s $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NinetY_181fM
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 90s $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NinetY_181fM
;;
06 | 6)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
NinetY_181fM
;;
esac
}
########
function EightY_181fM (){
Name01="80's Country"
Name02="Awesome 80's"
Name03="Lite 80's"
link01="http://relay.181.fm:8134"
link02="http://relay.181.fm:8000"
link03="http://relay.181.fm:8040"
printf "\033c"
echo -e "Stations Playing $BLUE 80s Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$RED 04 $BLUE Return to 181FM Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 3 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 80s $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EightY_181fM
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 80s $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EightY_181fM
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE 181FM $NC -> $BLUE 80s $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
EightY_181fM
;;
04 | 4)
printf "\033c"
181fM
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
EightY_181fM
;;
esac
}
printf "\033c"
echo ""
echo -e "181.FM Station $BLUE Categories $NC :"
echo ""
echo -e "$BLUE 01 $NC 80s"
echo -e "$BLUE 02 $NC 90s"
echo -e "$BLUE 03 $NC Comedy"
echo -e "$BLUE 04 $NC Country"
echo -e "$BLUE 05 $NC Easy Listening"
echo -e "$BLUE 06 $NC Latin"
echo -e "$BLUE 07 $NC Oldies"
echo -e "$BLUE 08 $NC Pop"
echo -e "$BLUE 09 $NC Rock"
echo -e "$BLUE 10 $NC Techno"
echo -e "$BLUE 11 $NC Urban"
echo -e "$RED 12 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE Category $NC and press $BLUE [Enter] $NC to $BLUE list available stations $NC :"
read -er stations
case "$stations" in
01 | 1)
EightY_181fM
;;
02 | 2)
NinetY_181fM
;;
03 | 3)
ComedY_181fM
;;
04 | 4)
CountrY_181fM
;;
05 | 5)
EasY_181fM
;;
06 | 6)
LatiN_181fM
;;
07 | 7)
OldieS_181fM
;;
08 | 8)
PoP_181fM
;;
09 | 9)
RocK_181fM
;;
10)
TechnO_181fM
;;
11)
UrbaN_181fM
;;
12)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $stations $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
181fM
;;
esac
}
########
function BlueS (){
Name01="12 Bar"
Name02="A Better Classic Blues Vintage Station"
Name03="A Blues Dream"
Name04="Aardvark Blues FM"
Name05="AcousticFM"
Name06="Best Blues I Know"
Name07="Blues Radio"
Name08="Cocktelera Blues"
Name09="Con Alma de Blues"
Name10="Funky Blues"
Name11="Big Blue Swing"
Name12="Blues Radio UK"
Name13="Crossroads Blues Radio"
Name14="Houston Blues Radio"
Name15="K-BLUES"
Name16="Radio Mississipi Blues"
link01="http://listen.radionomy.com:80/12Bar"
link02="http://streaming.radionomy.com/A-Better-Classic-Blues-Vintage-Station"
link03="http://streaming.radionomy.com/ABLUESDREAM-Classic-NewBlues24H"
link04="http://74.208.45.146:8639/stream"
link05="http://listen.radionomy.com/Acoustic-FM"
link06="http://streaming.radionomy.com/BestBluesIKnow"
link07="http://185.33.22.13:8030"
link08="http://streaming.radionomy.com/Cocktelera-Blues"
link09="http://listen.radionomy.com/Con-Alma-de-Blues"
link10="http://streaming.radionomy.com/FunkyBlues"
link11="http://209.236.126.18:8002"
link12="http://206.217.213.16:8430/"
link13="http://174.127.114.128:8134/stream"
link14="http://74.208.170.137:8640/stream"
link15="http://listen.radionomy.com:80/K-BLUES"
link16="http://listen.radionomy.com:80/RadioMississipi-Blues"
printf "\033c"
echo -e "Stations Playing $BLUE Blues Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Blues $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BlueS
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
BlueS
;;
esac
}
########
function BollywooD (){
Name01="bollywood radio & beyond"
Name02="Bombay Beats India Radio"
Name03="Desi Music Mix"
Name04="Hungama-Bollywood-Hits"
Name05="Hungama-Bollywood-Retro"
Name06="Indo-Caribbean Radio"
Name07="Radio Afsana"
Name08="Radio DJ-Gaurav"
Name09="Sur Station"
Name10="Taal FM Radio"
Name11="Hindi Desi Bollywood"
Name12="Mast Radio"
Name13="Radio Gabbar"
Name14="Radio HSL"
Name15="Radio Teen Taal"
Name16="The Voice Asia"
link01="http://96.31.83.86:8084"
link02="http://205.164.62.15:8017"
link03="http://desimusicmix.com:8000/HQ"
link04="http://123.176.41.8:8056"
link05="http://123.176.41.8:8132"
link06="http://208.43.9.96:8652"
link07="http://174.36.206.197:8198"
link08="http://radio.dj-gaurav.com:8035"
link09="http://streaming208.radionomy.com:80/SurStation-HindiMelodiousSongs"
link10="http://streaming207.radionomy.com:80/TaalFMRadio"
link11="http://50.7.77.114:8296"
link12="http://stream.mastradio.net:8000"
link13="http://viadj.viastreaming.net:7090"
link14="http://50.7.70.66:8485"
link15="http://195.154.176.33:8000"
link16="http://uk2.internet-radio.com:8043/live"
printf "\033c"
echo -e "Stations Playing $BLUE Bollywood Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Bollywood $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
BollywooD
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
BollywooD
;;
esac
}
########
function ClassicaL (){
Name01="1000 Classical Hits"
Name02="A Better Classical Station"
Name03="AMADEUS-FRIENDS Classical Radio"
Name04="Ambiance Classique"
Name05="Classical Music America"
Name06="Classical Ways"
Name07="Pure Classic Ireland"
Name08="Smooth Riviera"
Name09="Venice Classic Radio Italia"
Name10="WKSU 3 Classical"
Name11="Ancient FM"
Name12="Audiophile Baroque"
Name13="Classical WETA"
Name14="La Fenice Channel"
Name15="M2 Classic"
Name16="Musik Klassic"
link01="http://streaming.radionomy.com/1000ClassicalHits"
link02="http://streaming.radionomy.com/A-Better-Classical-Station"
link03="http://streaming.radionomy.com/AMADEUS-FRIENDS-ClassicalRadio"
link04="http://listen.radionomy.com/Ambiance-classique"
link05="http://streaming.radionomy.com/Classicalmusicamericacom"
link06="http://listen.radionomy.com/classicalways"
link07="http://206.217.201.136:8036"
link08="http://streaming.radionomy.com/SMOOTH-RIVIERA"
link09="http://109.123.116.202:8010/stream"
link10="http://66.225.205.8:8030"
link11="http://simplexstream.com:8058"
link12="http://213.251.157.145:8016"
link13="http://38.100.128.106:8000"
link14="http://178.32.140.82:9690"
link15="http://sun.m2stream.fr:9000"
link16="http://193.34.51.12:80"
printf "\033c"
echo -e "Stations Playing $BLUE Classical Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Classical $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ClassicaL
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
ClassicaL
;;
esac
}
########
function CountrY (){
Name01="1071 WNIH"
Name02="A Better Country Station"
Name03="A Country Dream"
Name04="A1 Country"
Name05="Abacus FM Country"
Name06="Absolutely Country Hits Radio"
Name07="Always Country"
Name08="Big R Radio - Country Gold"
Name09="Nashville Edge"
Name10="The Buffalo"
Name11="Americana Boogie Radio"
Name12="BackPorch Bluegrass"
Name13="Bluegrass Mix"
Name14="Country Music 24"
Name15="Country Radio Switzerland"
Name16="Highway Radio"
link01="http://listen.radionomy.com/1071WNIH"
link02="http://streaming.radionomy.com/a-better-country-station"
link03="http://streaming.radionomy.com/ACOUNTRYDREAM-Western24H"
link04="http://streaming.radionomy.com/A1Country-AllAmericanCountryRadio"
link05="http://streaming.radionomy.com/AbacusfmCountry"
link06="http://185.33.22.15:7800"
link07="http://208.85.240.89:80"
link08="http://107.155.126.42:8230"
link09="http://streaming.radionomy.com/NashvilleEdge"
link10="http://listen.radionomy.com/The-Buffalo"
link11="http://us1.internet-radio.com:8182/live"
link12="http://listen.radionomy.com:80/BackPorchBluegrass"
link13="http://192.81.248.194:8072/stream"
link14="http://countrymusic24.powerstream.de:9000"
link15="http://212.48.126.146:8000"
link16="http://listen.streamonomy.com/113fmHighwayRadio"
printf "\033c"
echo -e "Stations Playing $BLUE Country Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Country $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
CountrY
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
CountrY
;;
esac
}
########
function ElectroniC (){
Name01="100 DJAY"
Name02="Air Lounge"
Name03="Ambient Sleeping Pill"
Name04="Chill One"
Name05="Electric FM"
Name06="Ibiza Global Radio"
Name07="Radio MyMe"
Name08="Radio Seven"
Name09="Radio Staart"
Name10="Top Club"
Name11="Absolute Chillout"
Name12="Antenne Bayern Chillout"
Name13="Frisky"
Name14="Nirvana Radio"
Name15="RJM Lounge"
Name16="Puls Radio"
link01="http://streaming.radionomy.com/100-DJAY"
link02="http://streaming.radionomy.com/air-lounge"
link03="http://50.7.96.138:8235/stream"
link04="http://streaming.radionomy.com/CHILL-ONE"
link05="http://streaming.streamonomy.com/ElectricFM"
link06="http://37.59.254.25:8024"
link07="http://streaming.radionomy.com/radiomyme-tv"
link08="http://188.65.152.205:80"
link09="http://listen.radionomy.com/RADIOSTAART"
link10="http://listen.radionomy.com/TopClub"
link11="http://listen.radionomy.com:80/ABSOLUTECHILLOUT"
link12="http://mp3channels.webradio.antenne.de:80/chillout"
link13="http://stream.friskyradio.com:8000/frisky_mp3_hi"
link14="http://91.121.134.15:9106"
link15="http://streaming.radionomy.com/RJM-Lounge"
link16="http://212.83.185.51:80"
printf "\033c"
echo -e "Stations Playing $BLUE Electronic Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Electronic $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ElectroniC
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
ElectroniC
;;
esac
}
########
function HitS (){
Name01="1 Beats"
Name02="1 Hits"
Name03="100 Hit Radio"
Name04="American Top40"
Name05="ANTENNE BAYERN Top 40"
Name06="Hits and Beats"
Name07="Hot40 Music"
Name08="NJOY HIT40"
Name09="Our World Pop"
Name10="Yes! 91.2"
Name11="ChartHits FM"
Name12="Dublins KISS"
Name13="Hit Station FM"
Name14="Megahit Radio"
Name15="Raute Music"
Name16="Venus FM"
link01="http://streaming.radionomy.com/-1Beats"
link02="http://streaming.radionomy.com/-1Hits"
link03="http://streaming.radionomy.com/100-HIT-radio"
link04="http://listen.radionomy.com/AMERICANTOP40"
link05="http://mp3channels.webradio.antenne.de:80/top-40"
link06="http://streaming.radionomy.com/HitsandBeats"
link07="http://listen.radionomy.com/Hot40Music"
link08="http://listen.radionomy.com/njoyhit40"
link09="http://streaming.radionomy.com/OurWorld-Pop"
link10="http://46.4.65.194:8039"
link11="http://95.141.24.3:80"
link12="http://uk4.internet-radio.com:15476"
link13="http://46.163.124.61:8450"
link14="http://87.118.122.45:30710"
link15="http://193.34.51.67:80"
link16="http://s3.onweb.gr:8808"
printf "\033c"
echo -e "Stations Playing latest'n'greatest $BLUE Hits Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Hits $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
HitS
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
HitS
;;
esac
}
########
function JazZ (){
Name01="4U Smooth Jazz"
Name02="A Jazz Dream"
Name03="Abaco Libros Y Cafe Radio"
Name04="Audiophile Jazz"
Name05="Bay Smooth Jazz Radio"
Name06="Best of Jazz"
Name07="Dinner Jazz Excursion"
Name08="Jazz 4 Ever"
Name09="Jazz Lovers"
Name10="The Jazz Groove"
Name11="Best Smooth Jazz"
Name12="Big Band Land"
Name13="Big Blue Swing"
Name14="JazzBit"
Name15="Public Domain Jazz"
Name16="SmoothJazz Global Radio"
link01="http://streaming.radionomy.com/4u-smooth-jazz"
link02="http://streaming.radionomy.com/AJAZZDREAM-Classic-NewJazz24H"
link03="http://listen.radionomy.com/-BACO-LIBROS-Y-CAF--RADIO"
link04="http://50.7.173.162:8014"
link05="http://185.33.22.15:9010"
link06="http://streaming.radionomy.com/BestofJazz-LudwigRadiocom"
link07="http://64.78.234.165:8240"
link08="http://streaming.radionomy.com/Jazz4ever"
link09="http://streaming.radionomy.com/jazzlovers"
link10="http://199.180.72.2:8015"
link11="http://64.95.243.43:8002"
link12="http://173.244.215.163:8430"
link13="http://www.bigblueswing.com:8002"
link14="http://213.158.233.199:2042"
link15="http://82.197.165.138:80"
link16="http://sj128.hnux.com"
printf "\033c"
echo -e "Stations Playing $BLUE Jazz Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Jazz $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
JazZ
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
JazZ
;;
esac
}
########
function ListeneR (){
Name01="AI-Radio"
Name02="C89.5 FM"
Name03="CHIRP Radio"
Name04="HPR 1"
Name05="HPR 2"
Name06="HPR 3"
Name07="KING FM"
Name08="KPFA"
Name09="KALX Radio"
Name10="MPR"
Name11="NOFM"
Name12="Radio Paradise"
Name13="Radio Velvet"
Name14="90.5 WBER"
Name15="WDCB"
Name16="WEVL 89.9"
Name17="WERU 89.9 FM"
Name18="WFMU"
Name19="WNCU"
Name20="WNRN-FM"
Name21="WNYC 93.9 FM"
Name22="WQXR New York"
Name23="WSGE FM"
Name24="WWOZ"
Name25="Xenicus Radio"
Name26="andHow FM"
Name27="FIP"
Name28="PBB"
Name29="ABN Antioch"
Name30="TCAN"
Name31="TSF Jazz"
Name32="KUVO"
Name33="KUVO HD2"
Name34="KUVO HD3"
Name35="ROK Old Time"
Name36="ROK British Comedy"
Name37="ROK American Comedy"
Name38="ROK Crime & Suspense"
Name39="ROK Science Fiction"
Name40="MJoy Radio M"
Name41="MJoy Radio M Live"
Name42="MJoy Radio great"
Name43="MJoy Mousse Radio"
Name44="MJoy Kredens Cafe"
Name45="MJoy Radio egoisty"
Name46="MJoy Radio-Xmas"
Name47="MJoy Radio-Z"
Name48="MJoy Urban Space"
Name49="DFM RTV INT"
Name50="Ralph Radio"
link01="http://ai-radio.org/128.ogg"
link02="http://208.76.152.74:8000"
link03="http://chirpradio.org/stream"
link04="http://50.7.77.179:8024"
link05="http://50.7.77.179:8022"
link06="http://50.7.70.58:8708"
link07="http://icy2.abacast.com:80/king-kingmp3-96"
link08="http://streams1.kpfa.org:8000/kpfa_64"
link09="http://icecast.media.berkeley.edu:8000/kalx-128.mp3"
link10="http://current.stream.publicradio.org/kcmp.mp3"
link11="http://gal.bitsyu.net:8000"
link12="http://stream-tx4.radioparadise.com:80/mp3-128"
link13="http://212.37.80.142:8814"
link14="http://wber-ice-encoder.monroe.edu:80/wber-high.mp3"
link15="http://wdcb-ice.streamguys.org:80/wdcb128"
link16="http://peace.str3am.com:6030"
link17="http://stream.weru.org:80/weru-high.mp3"
link18="http://stream0.wfmu.org/freeform-128k"
link19="http://pubint.ic.llnwd.net/stream/pubint_wncu"
link20="http://broadcast.wnrn.org:8000/wnrn.mp3"
link21="http://fm939.wnyc.org/wnycfm"
link22="http://stream.wqxr.org/wqxr"
link23="http://amber.streamguys.com:4890/live"
link24="http://50.31.135.43:80/wwoz-hi.mp3"
link25="http://192.99.35.93:6744/stream"
link26="http://199.180.75.6:80"
link27="http://audio.scdn.arkena.com/11016/fip-midfi128.mp3"
link28="http://pbb.laurentgarnier.com:8000"
link29="http://lin2.ash.fast-serv.com:9022"
link30="http://206.190.144.154:8060"
link31="http://tsfjazz.ice.infomaniak.ch:80/tsfjazz-high"
link32="http://kuvo-ice.streamguys.org/kuvo-mp3-64"
link33="http://kuvo-ice.streamguys.org/kuvohd2-mp3-64"
link34="http://kuvo-ice.streamguys.org/kuvohd3-mp3-64"
link35="http://s1.viastreaming.net:9180"
link36="http://s1.viastreaming.net:9155"
link37="http://s1.viastreaming.net:9160"
link38="http://s1.viastreaming.net:9165"
link39="http://s1.viastreaming.net:9185"
link40="http://stream.mjoy.ua:8000/radio-m"
link41="http://stream.mjoy.ua:8000/radio-m-live"
link42="http://stream.mjoy.ua:8000/radio-great"
link43="http://stream.mjoy.ua:8000/radio-mousse"
link44="http://stream.mjoy.ua:8000/kredens-cafe-radio_mp3"
link45="http://stream.mjoy.ua:8000/radio-egoisty"
link46="http://stream.mjoy.ua:8000/radio-xmas"
link47="http://stream.mjoy.ua:8000/radio-z-kryjivky"
link48="http://stream.mjoy.ua:8000/urban-space-radio"
link49="http://176.9.138.209:8205/dfm_1"
link50="http://213.177.96.6:9900/ralph128"
printf "\033c"
echo -e "$BLUE Medley $NC Collection of Good Radio $BLUE Stations $NC : "
echo ""
echo -e "$BLUE 01 $NC $Name01 $BLUE 18 $NC $Name18 $BLUE 35 $NC $Name35"
echo -e "$BLUE 02 $NC $Name02 $BLUE 19 $NC $Name19 $BLUE 36 $NC $Name36"
echo -e "$BLUE 03 $NC $Name03 $BLUE 20 $NC $Name20 $BLUE 37 $NC $Name37"
echo -e "$BLUE 04 $NC $Name04 $BLUE 21 $NC $Name21 $BLUE 38 $NC $Name38"
echo -e "$BLUE 05 $NC $Name05 $BLUE 22 $NC $Name22 $BLUE 39 $NC $Name39"
echo -e "$BLUE 06 $NC $Name06 $BLUE 23 $NC $Name23 $BLUE 40 $NC $Name40"
echo -e "$BLUE 07 $NC $Name07 $BLUE 24 $NC $Name24 $BLUE 41 $NC $Name41"
echo -e "$BLUE 08 $NC $Name08 $BLUE 25 $NC $Name25 $BLUE 42 $NC $Name42"
echo -e "$BLUE 09 $NC $Name09 $BLUE 26 $NC $Name26 $BLUE 43 $NC $Name43"
echo -e "$BLUE 10 $NC $Name10 $BLUE 27 $NC $Name27 $BLUE 44 $NC $Name44"
echo -e "$BLUE 11 $NC $Name11 $BLUE 28 $NC $Name28 $BLUE 45 $NC $Name45"
echo -e "$BLUE 12 $NC $Name12 $BLUE 29 $NC $Name29 $BLUE 46 $NC $Name46"
echo -e "$BLUE 13 $NC $Name13 $BLUE 30 $NC $Name30 $BLUE 47 $NC $Name47"
echo -e "$BLUE 14 $NC $Name14 $BLUE 31 $NC $Name31 $BLUE 48 $NC $Name48"
echo -e "$BLUE 15 $NC $Name15 $BLUE 32 $NC $Name32 $BLUE 49 $NC $Name49"
echo -e "$BLUE 16 $NC $Name16 $BLUE 33 $NC $Name33 $BLUE 50 $NC $Name50"
echo -e "$BLUE 17 $NC $Name17 $BLUE 34 $NC $Name34 $RED 51 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 50 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
command -v ogg123 >/dev/null 2>&1 || { printf "\033c"; echo -e "$RED AI-Radio needs 'ogg123' but it's not installed! Install it to play AI-Radio. $NC" >&2; read -rsp $'Press any key to continue...\n' -n1 key; ListeneR; }
echo -e "$RED Important $NC - AI-Radio is a bit different"
echo ""
echo -e "You'll have to press $BLUE [Ctrl-C] $NC to stop AI-Radio"
echo ""
read -rsp $'Press any key to start AI-Radio...\n' -n1 key
echo ""
printf "\033c"
ogg123 --buffer 512 --prebuffer 25 "$link01" 2>&1 /dev/null
ListeneR
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE Heartland Public Radio - Bluegrass Gospel $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE Heartland Public Radio - Today's Classic Country $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE Heartland Public Radio - Traditional Classic Country $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE Minnesota Public Radio $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
17)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE Community Radio WERU $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link17" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
18)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE WFMU Freeform Radio $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link18" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
19)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE WNCU Public Radio $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link19" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
20)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name20 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link20" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
21)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name21 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link21" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
22)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name22 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link22" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
23)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name23 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link23" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
24)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name24 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link24" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
25)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name25 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link25" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
26)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name26 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link26" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
27)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name27 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link27" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
28)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name28 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link28" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
29)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name29 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link29" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
30)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name30 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link30" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
31)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name31 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link31" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
32)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name32 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link32" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
33)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name33 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link33" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
34)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name34 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link34" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
35)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name35 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link35" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
36)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name36 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link36" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
37)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name37 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link37" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
38)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name38 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link38" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
39)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name39 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link39" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
40)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name40 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link40" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
41)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name41 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link41" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
42)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name42 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link42" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
43)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name43 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link43" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
44)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name44 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link44" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
45)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name45 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link45" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
46)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name46 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link46" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
47)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name47 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link47" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
48)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name48 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link48" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
49)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name49 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link49" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
50)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Medley $NC -> $BLUE $Name50 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link50" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ListeneR
;;
51)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
ListeneR
;;
esac
}
########
function MetaL (){
Name01="4U Hard FM"
Name02="Crucial Velocity Radio"
Name03="DTHM"
Name04="Goth'N'Metal"
Name05="Hook 'em Horns"
Name06="idobi Howl"
Name07="Metal Only"
Name08="Metal Shop"
Name09="Sign of the Horns"
Name10="STAR FM From Hell"
Name11="Aardschok"
Name12="Big R Radio"
Name13="Braingell Radio"
Name14="KNAC"
Name15="Metal Express Radio"
Name16="Radio Gothic"
link01="http://streaming.radionomy.com/4U-Hard-FM"
link02="http://streaming.radionomy.com/CrucialVelocityRadio"
link03="http://listen.radionomy.com/Death-Thrash--Heavy-Metal"
link04="http://listen.radionomy.com/Goth-N-Metal"
link05="http://streaming.radionomy.com/Hook-emHorns"
link06="http://69.46.88.27:80"
link07="http://178.77.127.105:4400"
link08="http://streaming.radionomy.com/METALSHOP"
link09="http://streaming.radionomy.com/SignOfTheHorns"
link10="http://80.237.153.93:7000"
link11="http://178.18.137.248:80"
link12="http://107.155.111.234:18310"
link13="http://206.217.213.16:8010"
link14="http://s5.voscast.com:7346"
link15="http://66.90.104.41:8248"
link16="http://ca.radio-streamhosting.com:8006"
printf "\033c"
echo -e "Stations Playing $BLUE Metal Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Metal $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
MetaL
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
MetaL
;;
esac
}
########
function NewS (){
Name01="Air Progressive"
Name02="BBC"
Name03="CBC"
Name04="GLT News & Ideas"
Name05="NPR"
Name06="Newstalk 106-108"
Name07="RFI"
Name08="Sputnik"
Name09="The Source"
Name10="WKSU News"
Name11="detour TALK"
Name12="Freethought Radio"
Name13="Infowars"
Name14="KSFC"
Name15="Radio Newark"
Name16="Talk 790"
link01="http://airprogressive.org:8000/stream"
link02="http://bbcwssc.ic.llnwd.net/stream/bbcwssc_mp1_ws-einws"
link03="http://3153.live.streamtheworld.com:80/CBC_R1_MCT_L_SC"
link04="http://wgltradio.ilstu.edu:8000/wgltmain.mp3"
link05="http://nprdmp-live01-mp3.akacast.akamaistream.net/7/998/364916/v1/npr.akacast.akamaistream.net/nprdmp_live01_mp3"
link06="http://vice02.iad.xpc-mii.net:80/communicorp/Newstalk_high"
link07="http://stream.rfi.fr/2588/rfi_en_anglais/rfianglais.mp3"
link08="http://audio1.video.ria.ru:80/voiceeng"
link09="http://stream.wmnf.org:8000/wmnf_hd3"
link10="http://66.225.205.8:8020"
link11="http://104.250.149.218:7300"
link12="http://212.48.126.146:9110"
link13="http://50.7.79.22:80"
link14="http://173.192.70.138:8710"
link15="http://98.114.57.7:8000"
link16="http://208.85.240.2:8310"
printf "\033c"
echo -e "Stations Providing $BLUE News & Current Affairs $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE News $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
NewS
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
NewS
;;
esac
}
########
function OldieS (){
Name01="A Better Oldies Station"
Name02="ANTENNE BAYERN Oldies but Goldies"
Name03="E.P. Express Radio"
Name04="Flower Power Radio"
Name05="Gold Star Radio"
Name06="Golden 50s-70s Hits"
Name07="Motown Classics"
Name08="Radio Nostalgia"
Name09="Rewound Radio"
Name10="True Oldies"
Name11="FUN45s"
Name12="Oldies 104"
Name13="Oldie Party"
Name14="Oldiesradio RGR"
Name15="Pure Gold 95FM"
Name16="Vinylgodis"
link01="http://streaming.radionomy.com/a-better-oldies-station"
link02="http://mp3channels.webradio.antenne.de:80/oldies-but-goldies"
link03="http://37.187.79.56:9246"
link04="http://50.7.129.122:8433"
link05="http://listen.radionomy.com/Gold-Star-Radio"
link06="http://streaming.radionomy.com/golden-50-70s-hits"
link07="http://streaming.radionomy.com/motown-classics"
link08="http://streaming.radionomy.com/Radio-Nostalgia"
link09="http://71.125.37.66:8000"
link10="http://streaming.streamonomy.com/trueoldies"
link11="http://198.178.123.20:8376"
link12="http://66.85.88.2:7142"
link13="http://212.48.110.146:8410"
link14="http://streams.lazernet.be:2620"
link15="http://198.178.123.20:8374"
link16="http://89.236.16.230:8000"
printf "\033c"
echo -e "Stations Playing $BLUE Oldies Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Oldies $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
OldieS
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
OldieS
;;
esac
}
########
function ReggaE (){
Name01="A Better Smokin Reggae Roots Station"
Name02="A Reggae Dream"
Name03="A2R Reggae"
Name04="Bob Marley & Co"
Name05="Caribbean Vibes Radio"
Name06="Jamaican Roots Radio"
Name07="Joint Radio"
Name08="One Hundread Locks"
Name09="Reggae Rasta & Roots"
Name10="Radio Fly Foot Selecta"
Name11="Feel Jah FM"
Name12="Fimi Radio"
Name13="La Grosse Radio Reggae"
Name14="Reggae Connection"
Name15="Reggae Mix"
Name16="Scratch Radio"
link01="http://streaming.radionomy.com/A-Better-Smokin-Reggae-Roots-Station"
link02="http://streaming.radionomy.com/AREGGAEDREAM-Rasta24H"
link03="http://streaming.radionomy.com/A2R-Reggae"
link04="http://streaming.radionomy.com/A1ONEBOBMARLEYANDCO"
link05="http://streaming.streamonomy.com/CaribbeanVibesRadio"
link06="http://listen.radionomy.com/jamaican-roots-radio"
link07="http://72.9.152.111:9998"
link08="http://streaming.radionomy.com/One-Hundread-Locks"
link09="http://192.152.23.243:8470"
link10="http://listen.radionomy.com:80/radio-fly-ReggaEt-selecta"
link11="http://50.7.98.106:8447"
link12="http://198.178.123.8:8266"
link13="http://176.31.246.159:8300"
link14="http://listen.radionomy.com/Reggae-Connection"
link15="http://195.154.80.65:8142"
link16="http://173.192.198.244:8042"
printf "\033c"
echo -e "Stations Playing $BLUE Reggae Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Reggae $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
ReggaE
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
ReggaE
;;
esac
}
########
function RocK (){
Name01="1 Classic Rock"
Name02="100 Energy"
Name03="104 Classic Rock"
Name04="1055 ROCK"
Name05="A Better Alternative X-RockStation"
Name06="A Better Classic Rock Station"
Name07="Casey's Classic Rock"
Name08="Classic Deep Cuts"
Name09="Classic Rock 109"
Name10="Classic Underground Radio"
Name11="Deep Jams Radio"
Name12="Elium Rock"
Name13="Peace Radio"
Name14="pinkfloydteguz"
Name15="ROCK ANTENNE"
Name16="VW Classic Rock"
link01="http://streaming.radionomy.com/-1ClassicRock"
link02="http://streaming.radionomy.com/100-Energy-RIWCLASSICROCKCHANNEL"
link03="http://173.193.14.166:80"
link04="http://85.17.121.228:8078"
link05="http://listen.radionomy.com/a-better-alternative-x-rock-station"
link06="http://streaming.radionomy.com/a-better-classic-rock-station"
link07="http://streaming.radionomy.com/Caseys-Classic-Rock"
link08="http://208.85.240.10:8134"
link09="http://174.36.237.118:10042"
link10="http://listen.radionomy.com/3WKCOMClassicUndergroundradio"
link11="http://74.50.122.103:9748"
link12="http://listen.radionomy.com/Elium-Rock"
link13="http://listen.radionomy.com/Peace-Radio"
link14="http://listen.radionomy.com/pinkfloydteguz"
link15="http://mp3channels.webradio.antenne.de:80/rockantenne"
link16="http://streaming.radionomy.com/VWClassicRock"
printf "\033c"
echo -e "Stations Playing $BLUE Rock Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Rock $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
RocK
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
RocK
;;
esac
}
########
function SomA (){
Name01="7 Inch Soul"
Name02="BAGeL Radio"
Name03="Beat Blender"
Name04="Black Rock FM"
Name05="Boot Liquor"
Name06="Cliqhop idm"
Name07="Covers"
Name08="DEF CON Radio"
Name09="Deep Space One"
Name10="Digitalis"
Name11="Doomed"
Name12="Drone Zone"
Name13="Dub Step Beyond"
Name14="Earwaves"
Name15="Fluid"
Name16="Folk Forward"
Name17="Groove Salad"
Name18="Illinois Street Lounge"
Name19="Indie Pop Rocks"
Name20="Left Coast 70s"
Name21="Lush"
Name22="Mission Control"
Name23="PopTron"
Name24="SF 10–33"
Name25="Secret Agent"
Name26="Sonic Universe"
Name27="Space Station Soma"
Name28="Suburbs of Goa"
Name29="The Trip"
Name30="ThistleRadio"
Name31="Underground 80s"
link01="http://ice.somafm.com/7soul"
link02="http://ice.somafm.com/bagel"
link03="http://ice.somafm.com/beatblender"
link04="http://ice.somafm.com/brfm"
link05="http://ice.somafm.com/bootliquor"
link06="http://ice.somafm.com/cliqhop"
link07="http://ice.somafm.com/covers"
link08="http://ice.somafm.com/defcon"
link09="http://ice.somafm.com/deepspaceone"
link10="http://ice.somafm.com/digitalis"
link11="http://ice.somafm.com/doomed"
link12="http://ice.somafm.com/dronezone"
link13="http://ice.somafm.com/dubstep"
link14="http://ice.somafm.com/earwaves"
link15="http://ice.somafm.com/fluid"
link16="http://ice.somafm.com/folkfwd"
link17="http://ice.somafm.com/groovesalad"
link18="http://ice.somafm.com/illstreet"
link19="http://ice.somafm.com/indiepop"
link20="http://ice.somafm.com/seventies"
link21="http://ice.somafm.com/lush"
link22="http://ice.somafm.com/missioncontrol"
link23="http://ice.somafm.com/poptron"
link24="http://ice.somafm.com/sf1033"
link25="http://ice.somafm.com/secretagent"
link26="http://ice.somafm.com/sonicuniverse"
link27="http://ice.somafm.com/spacestation"
link28="http://ice.somafm.com/suburbsofgoa"
link29="http://ice.somafm.com/thetrip"
link30="http://ice.somafm.com/thistle"
link31="http://ice.somafm.com/u80s"
printf "\033c"
echo -e "$BLUE SomaFM $NC Stations :"
echo ""
echo -e "$BLUE 01 $NC $Name01 $BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03 $BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05 $BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07 $BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09 $BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11 $BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13 $BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15 $BLUE 16 $NC $Name16"
echo -e "$BLUE 17 $NC $Name17 $BLUE 18 $NC $Name18"
echo -e "$BLUE 19 $NC $Name19 $BLUE 20 $NC $Name20"
echo -e "$BLUE 21 $NC $Name21 $BLUE 22 $NC $Name22"
echo -e "$BLUE 23 $NC $Name23 $BLUE 24 $NC $Name24"
echo -e "$BLUE 25 $NC $Name25 $BLUE 26 $NC $Name26"
echo -e "$BLUE 27 $NC $Name27 $BLUE 28 $NC $Name28"
echo -e "$BLUE 29 $NC $Name29 $BLUE 30 $NC $Name30"
echo -e "$BLUE 31 $NC $Name31 $RED 32 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 31 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name02 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
17)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name17 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link17" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
18)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name18 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link18" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
19)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name19 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link19" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
20)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name20 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link20" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
21)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name21 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link21" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
22)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name22 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link22" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
23)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name23 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link23" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
24)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name24 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link24" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
25)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name25 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link25" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
26)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name26 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link26" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
27)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name27 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link27" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
28)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name28 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link28" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
29)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name29 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link29" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
30)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name30 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link30" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
31)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE SomaFM $NC -> $BLUE $Name31 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link31" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
SomA
;;
32)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
SomA
;;
esac
}
########
function UrbaN (){
Name01="1 Soul"
Name02="2000s R'n'B"
Name03="A Better Old School Classic Rap Station"
Name04="A Better Slow Jams Station"
Name05="Classic Rap"
Name06="DooWop FM"
Name07="Hip-Hop Request"
Name08="One Love Hip-Hop Radio"
Name09="R'n'B Cream"
Name10="West Coast Classics"
Name11="100hitz Rap"
Name12="365 Soul"
Name13="BlackBeats FM"
Name14="HOT 108 Jamz"
Name15="MyneedRadio HipHop"
Name16="Street Style Radio"
link01="http://streaming.radionomy.com/-1Soul"
link02="http://streaming.radionomy.com/2000s-RnB"
link03="http://streaming.radionomy.com/a-better-old-school-classic-rap-station"
link04="http://streaming.radionomy.com/a-better-slow-jams-station"
link05="http://streaming.radionomy.com/Classic-Rap"
link06="http://streaming.radionomy.com/DooWopFM"
link07="http://streaming.radionomy.com/Hip-HopRequest"
link08="http://streaming.radionomy.com/One-love-Hip-Hop-Radio"
link09="http://streaming.radionomy.com/_rb_cream"
link10="http://streaming.radionomy.com/WestCoastClassics"
link11="http://206.217.213.236:8170"
link12="http://listen.radionomy.com:80/365Soul"
link13="http://46.165.233.197:80"
link14="http://108.61.30.179:4020"
link15="http://listen.radionomy.com:80/MYNEEDRADIOHIPHOP"
link16="http://fire.wavestreamer.com:5709"
printf "\033c"
echo -e "Stations Playing $BLUE Urban Music $NC :"
echo ""
echo -e "$BLUE 01 $NC $Name01"
echo -e "$BLUE 02 $NC $Name02"
echo -e "$BLUE 03 $NC $Name03"
echo -e "$BLUE 04 $NC $Name04"
echo -e "$BLUE 05 $NC $Name05"
echo -e "$BLUE 06 $NC $Name06"
echo -e "$BLUE 07 $NC $Name07"
echo -e "$BLUE 08 $NC $Name08"
echo -e "$BLUE 09 $NC $Name09"
echo -e "$BLUE 10 $NC $Name10"
echo -e "$BLUE 11 $NC $Name11"
echo -e "$BLUE 12 $NC $Name12"
echo -e "$BLUE 13 $NC $Name13"
echo -e "$BLUE 14 $NC $Name14"
echo -e "$BLUE 15 $NC $Name15"
echo -e "$BLUE 16 $NC $Name16"
echo -e "$RED 17 $BLUE Return to Main Menu $NC"
echo ""
echo -e "Select a $BLUE station $NC between 1 to 16 and hit $BLUE [Enter] $NC to $BLUE PLAY $NC :"
read -er PLAY
case "$PLAY" in
01 | 1)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link01" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
02 | 2)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name01 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link02" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
03 | 3)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name03 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link03" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
04 | 4)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name04 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link04" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
05 | 5)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name05 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link05" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
06 | 6)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name06 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link06" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
07 | 7)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name07 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link07" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
08 | 8)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name08 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link08" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
09 | 9)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name09 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link09" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
10)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name10 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link10" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
11)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name11 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link11" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
12)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name12 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link12" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
13)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name13 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link13" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
14)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name14 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link14" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
15)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name15 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link15" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
16)
printf "\033c"
echo -e "$BLUE PMRP $NC -> $BLUE Urban $NC -> $BLUE $Name16 $NC:"
echo ""
echo -e "Press $BLUE [Space] $NC to pause : Press $BLUE [Q] $NC to stop"
echo ""
echo ""
echo -e "$BLUE Playlist $NC:"
echo ""
$PLAYER "$link16" 2>&1 /dev/null | grep --line-buffered "StreamTitle" | sed -e 's/;.*//' -e 's/.*=//' -e "s/'//g"
UrbaN
;;
17)
printf "\033c"
Muzic
;;
*)
printf "\033c"
echo ""
echo -e "$RED $PLAY $NC $BLUE is an invalid selection! $NC"
echo ""
sleep 3
UrbaN
;;
esac
}
while :
do
Muzic
done
PMYTD: Goes into /usr/local/bin and make executable.
#!/usr/bin/env bash
########
function ByE (){
printf "\033c"
echo -e ""
echo -e '\E[1;31m'"It's "'\E[1;32m'"funny "'\E[1;33m'"how"'\E[1;35m'" the"'\E[1;36m'" colors"'\E[1;31m'" of"'\E[1;32m'" the"'\E[1;33m'" real"'\E[1;35m'" world"'\E[1;36m'" only"
echo -e '\E[1;31m'"seem"'\E[1;32m'" really"'\E[1;33m'" real"'\E[1;36m'" when"'\E[1;31m'" you"'\E[1;32m'" viddy"'\E[1;33m'" them"'\E[1;35m'" on"'\E[1;36m'" the"'\E[1;31m'" screen"
tput sgr0
echo -e ""
echo -e "Alex, A Clockwork Orange"
sleep 1
printf "\033c"
exit 0
}
########
function HelP (){
printf "\033c"
if ! type less >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "PMYTD requires file pager \"less\" to display HELP document"
echo -e "Please install the package \"less\" via the package manager"
echo -e "For more information on \"less\" please visit it's homepage"
echo -e "http://www.greenwoodsoftware.com/less/"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
printf "%s\n" "Having problems downloading videos?" "" "YouTube and other video sharing sites continually change their APIs so it's" "advised to keep youtube-dl updated to the latest available version. You can" "check for updates via the PMYTD MENU by running 'Check for updates' option." "" "" "Is YouTube the only supported site?" "" "PMYTD is built with YouTube in mind so at present it only supports YouTube." "" "" "Why can't I get videos in 4K-1080P?" "" "If your system doesn't have either, FFmpeg or Libav installed you won't" "be able to download videos in their highest available resolutions. 720P" "is the highest resolution available without FFmpeg or Libav. To be able" "to download videos in 4K-1080P, you need to open your package manager &" "install either the package 'ffmpeg' or the package 'libav-tools'. There" "is no need to install both of these packages. Hint: We prefer 'ffmpeg'." "" "" "Why can't I play my 4K-1080P video?" "" "You will need a decent computer for playing 4K-1080P videos. Check that" "your hardware is capable of playing 4K-1080P videos. If the hardware is" "adequate then make sure the driver for the graphics card is up-to-date." "Also you'll need a good software to play 4K-1080P videos. We prefer mpv" "on Linux, MPC-HC on Windows and mpv on OS X. In our experience mplayer2" "& VLC both have issues playing 4K-1080P videos downloaded from YouTube." "" "" "Press 'q' to return to PMYTD MENU" "" | less -RM
MenU
}
########
function UpdatE (){
printf "\033c"
wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "https://rg3.github.io/youtube-dl/" -O /dev/null || { printf "\033c"; echo -e ""; echo -e "Can't connect to youtube-dl download server site"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
ytdlcv=$(youtube-dl --version)
ytdllv=$(wget -O- -q "https://rg3.github.io/youtube-dl/update/LATEST_VERSION")
if [ "$ytdlcv" == "$ytdllv" ]; then
printf "\033c"
echo -e ""
echo -e "Installed version of youtube-dl - $ytdlcv"
echo -e "Available version of youtube-dl - $ytdllv"
echo -e ""
echo -e "youtube-dl is up-to-date"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
else
printf "\033c"
echo -e ""
echo -e "Installed version of youtube-dl - $ytdlcv"
echo -e "Available version of youtube-dl - $ytdllv"
echo -e ""
echo -e "youtube-dl update is available"
echo -e ""
echo -e "01 Update youtube-dl"
echo -e "02 Back to main menu"
echo -e ""
echo -e "Enter your choice: "
echo -e ""
read -er choice
case $choice in
01 | 1)
printf "\033c"
flytdl=$(which youtube-dl)
if [ -w "$flytdl" ]; then
youtube-dl -U || { printf "\033c"; echo -e ""; echo -e "Failed to update youtube-dl"; echo -e "You can try to update later"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
else
printf "\033c"
echo -e ""
echo -e "Superuser privilege required to update youtube-dl"
echo -e "Select your prefered privilege escalation method: "
echo -e ""
echo -e "01 sudo"
echo -e "02 su"
echo -e ""
echo -e "Enter your choice: "
echo -e ""
read -er choice
case $choice in
01 | 1)
printf "\033c"
sudo youtube-dl -U || { printf "\033c"; echo -e ""; echo -e "Failed to update youtube-dl"; echo -e "You can try to update later"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
02 | 2)
printf "\033c"
su -c 'youtube-dl -U' || { printf "\033c"; echo -e ""; echo -e "Failed to update youtube-dl"; echo -e "You can try to update later"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
*)
printf "\033c"
echo -e ""
echo -e "\"$choice\" is an invalid option!!!"
echo -e ""
echo -e "Correct options to choose are from 1-2"
echo -e ""
echo -e "To pick \"sudo\" press \"1\" & hit \"Enter\" key"
echo -e "To select \"su\" press \"2\" & hit \"Enter\" key"
echo -e ""
read -rsp $'Press any key to try again...\n' -n1
UpdatE
;;
esac
fi
;;
02 | 2)
MenU
;;
*)
printf "\033c"
echo -e ""
echo -e "\"$choice\" is an invalid option!!!"
echo -e ""
echo -e "Correct options to choose are from 1-2"
echo -e ""
echo -e "To update \"youtube-dl\" press \"1\" & hit \"Enter\" key"
echo -e "To go back to the menu press \"2\" & hit \"Enter\" key"
echo -e ""
read -rsp $'Press any key to try again...\n' -n1
UpdatE
;;
esac
fi
}
########
function AplS(){
printf "\033c"
if ! type ffmpeg >/dev/null 2>&1; then
if ! type avconv >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "PMYTD requires either \"ffmpeg\" or \"avconv\" to extract MP3 from video"
echo -e "It seems you don't have either of them installed presently on system"
echo -e "Please install either \"ffmpeg\" or \"libav-tools\" from package manager"
echo -e "Visit respective home pages of \"FFmpeg\" and \"Libav\" for further info"
echo -e "https://ffmpeg.org/"
echo -e "http://libav.org/"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
if type ffmpeg >/dev/null 2>&1; then
if ! ffmpeg -encoders | grep libmp3lame >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "MP3 encoding library \"libmp3lame\" not found"
echo -e "Install the package \"lame\" via package manager"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
if type avconv >/dev/null 2>&1; then
if ! avconv -encoders | grep libmp3lame >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "MP3 encoding library \"libmp3lame\" not found"
echo -e "Install the package \"lame\" via package manager"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
printf "%s\n" "" "Enter the youtube playlist link: " ""
read -er link
ytlnk1="https://www.youtube.com/playlist?list="
ytlnk2="$link"
ytlnk3=$(python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])" "$ytlnk2" | sed -r 's/.*list=([a-zA-Z0-9\_\-]*).*/\1/')
ytlnk="$ytlnk1$ytlnk3"
printf "\033c"
wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "www.youtube.com" -O /dev/null
RETVAL=$?
case "$RETVAL" in
0)
printf "\033c"
if wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "$ytlnk" -O /dev/null; then
printf "\033c"
youtube-dl --ignore-config --continue --console-title --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --yes-playlist --ignore-errors --format bestaudio/best --extract-audio --audio-format "mp3" --audio-quality 0 --output "$DLD_DIR" "$ytlnk" --restrict-filenames || { printf "\033c"; echo -e ""; echo -e "Audio download has failed, Something went wrong!"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
echo -e "Successfully completed the download task"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
else
printf "\033c"
echo -e ""
echo -e "Failed to get required information on playlist link"
echo -e "Make sure the playlist link exists and is reachable"
echo -e "Check that the videos are available in your country"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
;;
*)
printf "\033c"
echo -e ""
echo -e "Your internet connection seems inactive or down"
echo -e "PMYTD can't function without access to \"YouTube\""
echo -e "Please check your internet settings & try later"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
esac
}
########
function VplS(){
printf "\033c"
printf "%s\n" "" "Enter the youtube playlist link: " ""
read -er link
ytlnk1="https://www.youtube.com/playlist?list="
ytlnk2="$link"
ytlnk3=$(python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])" "$ytlnk2" | sed -r 's/.*list=([a-zA-Z0-9\_\-]*).*/\1/')
ytlnk="$ytlnk1$ytlnk3"
printf "\033c"
wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "www.youtube.com" -O /dev/null
RETVAL=$?
case "$RETVAL" in
0)
printf "\033c"
if ! wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "$ytlnk" -O /dev/null; then
printf "\033c"
echo -e ""
echo -e "Failed to get required information on playlist link"
echo -e "Make sure the playlist link exists and is reachable"
echo -e "Check that the videos are available in your country"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
printf "\033c"
if ! type ffmpeg >/dev/null 2>&1; then
if ! type avconv >/dev/null 2>&1; then
printf "\033c"
youtube-dl --ignore-config --continue --console-title --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --yes-playlist --ignore-errors --format best --output "$DLD_DIR" "$ytlnk" --restrict-filenames || { printf "\033c"; echo -e ""; echo -e "Video download has failed, Something went wrong!"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
echo -e "Successfully completed the download task"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
youtube-dl --ignore-config --continue --console-title --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --yes-playlist --ignore-errors --format bestvideo+bestaudio/best --output "$DLD_DIR" "$ytlnk" --restrict-filenames || { printf "\033c"; echo -e ""; echo -e "Video download has failed, Something went wrong!"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
echo -e "Successfully completed the download task"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
*)
printf "\033c"
echo -e ""
echo -e "Your internet connection seems inactive or down"
echo -e "PMYTD can't function without access to \"YouTube\""
echo -e "Please check your internet settings & try later"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
esac
}
########
function AudiO (){
printf "\033c"
if ! type ffmpeg >/dev/null 2>&1; then
if ! type avconv >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "PMYTD requires either \"ffmpeg\" or \"avconv\" to extract MP3 from video"
echo -e "It seems you don't have either of them installed presently on system"
echo -e "Please install either \"ffmpeg\" or \"libav-tools\" from package manager"
echo -e "Visit respective home pages of \"FFmpeg\" and \"Libav\" for further info"
echo -e "https://ffmpeg.org/"
echo -e "http://libav.org/"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
if type ffmpeg >/dev/null 2>&1; then
if ! ffmpeg -encoders | grep libmp3lame >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "MP3 encoding library \"libmp3lame\" not found"
echo -e "Install the package \"lame\" via package manager"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
if type avconv >/dev/null 2>&1; then
if ! avconv -encoders | grep libmp3lame >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "MP3 encoding library \"libmp3lame\" not found"
echo -e "Install the package \"lame\" via package manager"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
printf "%s\n" "" "Enter the youtube video link: " ""
read -er link
ytlnk1="https://www.youtube.com/watch?v="
ytlnk2="$link"
ytlnk3=$(python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])" "$ytlnk2" | sed -r 's/.*v=([a-zA-Z0-9\_\-]*).*/\1/')
ytlnk="$ytlnk1$ytlnk3"
printf "\033c"
wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "www.youtube.com" -O /dev/null
RETVAL=$?
case "$RETVAL" in
0)
printf "\033c"
if wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "$ytlnk" -O /dev/null; then
printf "\033c"
youtube-dl --ignore-config --continue --console-title --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --no-playlist --format bestaudio/best --extract-audio --audio-format "mp3" --audio-quality 0 --output "$DLD_DIR" "$ytlnk" --restrict-filenames || { printf "\033c"; echo -e ""; echo -e "Audio download has failed, Something went wrong!"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
echo -e "Successfully completed the download task"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
else
printf "\033c"
echo -e ""
echo -e "Failed to get required information on video link"
echo -e "Make sure the video link exists and is reachable"
echo -e "Check that the video is available in your region"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
;;
*)
printf "\033c"
echo -e ""
echo -e "Your internet connection seems inactive or down"
echo -e "PMYTD can't function without access to \"YouTube\""
echo -e "Please check your internet settings & try later"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
esac
}
########
function FormaT (){
printf "\033c"
printf "%s\n" "" "Enter the youtube video link: " ""
read -er link
ytlnk1="https://www.youtube.com/watch?v="
ytlnk2="$link"
ytlnk3=$(python -c "import sys, urllib as ul; print ul.unquote_plus(sys.argv[1])" "$ytlnk2" | sed -r 's/.*v=([a-zA-Z0-9\_\-]*).*/\1/')
ytlnk="$ytlnk1$ytlnk3"
printf "\033c"
wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "www.youtube.com" -O /dev/null
RETVAL=$?
case "$RETVAL" in
0)
printf "\033c"
if wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "$ytlnk" -O /dev/null; then
printf "\033c"
echo -e ""
echo -e "01 Automatically download video in the best available quality"
echo -e "02 Manually pick video resolution-quality-format and download"
echo -e ""
echo -e "Enter your choice: "
echo -e ""
read -er choice
case $choice in
01 | 1)
printf "\033c"
if ! type ffmpeg >/dev/null 2>&1; then
if ! type avconv >/dev/null 2>&1; then
printf "\033c"
youtube-dl --ignore-config --continue --console-title --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --no-playlist --format best --output "$DLD_DIR" "$ytlnk" --restrict-filenames || { printf "\033c"; echo -e ""; echo -e "Video download has failed, Something went wrong!"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
echo -e "Successfully completed the download task"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
fi
printf "\033c"
youtube-dl --ignore-config --continue --console-title --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --no-playlist --format bestvideo+bestaudio --output "$DLD_DIR" "$ytlnk" --restrict-filenames || { printf "\033c"; echo -e ""; echo -e "Video download has failed, Something went wrong!"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
echo -e "Successfully completed the download task"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
02 | 2)
printf "\033c"
youtube-dl --ignore-config --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --no-playlist --list-formats "$ytlnk" | sed -e '/only/d' -e '0,/Available/d' || { printf "\033c"; echo -e ""; echo -e "Failed to get required information on video link"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
printf "%s\n" "" "Enter your desired video format code from the above list: " ""
read -er list
printf "\033c"
youtube-dl --ignore-config --continue --console-title --no-warnings --user-agent "Mozilla/5.0 Gecko/20100101" --no-check-certificate --youtube-skip-dash-manifest --no-playlist --format "$list" --output "$DLD_DIR" "$ytlnk" --restrict-filenames || { printf "\033c"; echo -e ""; echo -e "Video download has failed, Something went wrong!"; echo -e "Make sure the internet connection is up & active"; echo -e ""; read -rsp $'Press any key to return to PMYTD MENU...\n' -n1; MenU; }
echo -e ""
echo -e "Successfully completed the download task"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
*)
printf "\033c"
echo -e ""
echo -e "\"$choice\" is an invalid option!!!"
echo -e ""
echo -e "Correct options to choose are from 1-2"
echo -e ""
echo -e "To download video with best quality press \"1\" & hit \"Enter\" key"
echo -e "To manually select video resolution press \"2\" & hit \"Enter\" key"
echo -e ""
read -rsp $'Press any key to try again...\n' -n1
FormaT
;;
esac
else
printf "\033c"
echo -e ""
echo -e "Failed to get required information on video link"
echo -e "Make sure the video link exists and is reachable"
echo -e "Check that the video is available in your region"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
fi
;;
*)
printf "\033c"
echo -e ""
echo -e "Your internet connection seems inactive or down"
echo -e "PMYTD can't function without access to \"YouTube\""
echo -e "Please check your internet settings & try later"
echo -e ""
read -rsp $'Press any key to return to PMYTD MENU...\n' -n1
MenU
;;
esac
}
########
function MenU (){
printf "\033c"
if type xdg-user-dir >/dev/null 2>&1; then
DIR_CHECK="$(xdg-user-dir DOWNLOAD)"
if [ "${DIR_CHECK}" != "${HOME}" ]; then
DIR="${DIR_CHECK}"
test -d "$DIR" || mkdir -p "$DIR"
DLD_DIR="${DIR}/%(title)s.%(ext)s"
else
DIR="${HOME}/Downloads"
test -d "${DIR}" || mkdir -p "${DIR}"
DLD_DIR="${DIR}/%(title)s.%(ext)s"
fi
fi
printf "\033c"
echo -e "** PMYTD<>MENU ****************************"
echo -e ""
echo -e "01 Download a video"
echo -e "02 Download & extract audio from a video"
echo -e "03 Download an entire youtube playlist"
echo -e "04 Download & extract audio from a playlist"
echo -e "05 Check for updates"
echo -e "06 Help"
echo -e "07 Quit PMYTD"
echo -e ""
echo -e "*******************************************"
echo -e " Enter your choice: "
echo -e ""
read -er choice
case $choice in
01 | 1)
FormaT
;;
02 | 2)
AudiO
;;
03 | 3)
VplS
;;
04 | 4)
AplS
;;
05 | 5)
UpdatE
;;
06 | 6)
HelP
;;
07 | 7)
ByE
;;
*)
printf "\033c"
echo -e ""
echo -e "\"$choice\" is an invalid option!!!"
echo -e ""
echo -e "Correct options to choose are from 1-2-3-4-5-6-7"
echo -e ""
echo -e "To download a video press \"1\" & hit \"Enter\" key"
echo -e "To download only the audio press \"2\" & hit \"Enter\" key"
echo -e "To download an entire playlist press \"3\" & hit \"Enter\" key"
echo -e "To download only the audio from a playlist press \"4\" & hit \"Enter\" key"
echo -e "To check for youtube-dl updates press \"5\" & hit \"Enter\" key"
echo -e "To get help on using PMYTD press \"6\" & hit \"Enter\" key"
echo -e "To exit from PMYTD press \"7\" & hit \"Enter\" key"
echo -e ""
read -rsp $'Press any key to try again...\n' -n1
MenU
;;
esac
}
########
function DepChk (){
printf "\033c"
type python >/dev/null 2>&1 || { printf "\033c"; echo -e ""; for i in {16..51} {51..16}; do echo -en "\e[38;5;${i}m#\e[0m"; done; echo; echo -e ""; echo -e '\e[38;5;82m'"A required PMYTD dependency \"Python\" is unavailable"; echo -e '\e[38;5;82m'"\"Python\" is available for almost all linux distros."; echo -e '\e[38;5;82m'"Please install \"python\" using your package manager."; echo -e '\e[38;5;82m'"Please visit the homepage of \"Python\" for more info"; echo -e '\e[38;5;82m'"https://www.python.org/"; echo -e ""; for i in {16..51} {51..16}; do echo -en "\e[38;5;${i}m#\e[0m"; done; echo; echo -e ""; tput sgr0; exit 1; }
type wget >/dev/null 2>&1 || { printf "\033c"; echo -e ""; for i in {16..51} {51..16}; do echo -en "\e[38;5;${i}m#\e[0m"; done; echo; echo -e ""; echo -e '\e[38;5;82m'"A required PMYTD dependency \"Wget\" is unavailable"; echo -e '\e[38;5;82m'"\"Wget\" is available for almost all linux distros."; echo -e '\e[38;5;82m'"Please install \"wget\" using your package manager."; echo -e '\e[38;5;82m'"Please visit the homepage of \"Wget\" for more info"; echo -e '\e[38;5;82m'"https://www.gnu.org/software/wget/"; echo -e ""; for i in {16..51} {51..16}; do echo -en "\e[38;5;${i}m#\e[0m"; done; echo; echo -e ""; tput sgr0; exit 1; }
if ! type youtube-dl >/dev/null 2>&1; then
printf "\033c"
echo -e ""
echo -e "PMYTD requires youtube-dl but it's unavailable"
echo -e ""
echo -e "Press \"Y\" to download and install youtube-dl"
echo -e "Press \"N\" to leave without making any change"
echo -e ""
echo -e "Enter your choice: "
echo -e ""
read -er choice
case $choice in
Y | y)
printf "\033c"
echo -e ""
echo -e "Superuser privileges needed to install youtube-dl"
echo -e "Select your prefered privilege escalation method: "
echo -e ""
echo -e "01 sudo"
echo -e "02 su"
echo -e ""
echo -e "Enter your choice: "
echo -e ""
read -er choice
case $choice in
01 | 1)
printf "\033c"
wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "https://rg3.github.io/youtube-dl/" -O /dev/null || { printf "\033c"; echo -e ""; echo -e "Can't connect to youtube-dl download server site"; echo -e "Make sure the internet connection is up & active"; echo -e ""; exit 1; }
sudo sh -c 'wget --user-agent="Mozilla/5.0 Gecko/20100101" --quiet --timeout=30 "https://yt-dl.org/downloads/latest/youtube-dl" --output-document "/usr/local/bin/youtube-dl"' || { printf "\033c"; echo -e ""; echo -e "Failed to install youtube-dl"; echo -e "Please try the install later"; echo -e ""; exit 1; }
sudo sh -c 'chmod 755 "/usr/local/bin/youtube-dl"' || { printf "\033c"; echo -e ""; echo -e "Failed to install youtube-dl"; echo -e "Please try the install later"; echo -e ""; exit 1; }
MenU
;;
02 | 2)
printf "\033c"
wget --spider --user-agent="Mozilla/5.0 Gecko/20100101" --timeout=30 -q "https://rg3.github.io/youtube-dl/" -O /dev/null || { printf "\033c"; echo -e ""; echo -e "Can't connect to youtube-dl download server site"; echo -e "Make sure the internet connection is up & active"; echo -e ""; exit 1; }
su -c 'wget --user-agent="Mozilla/5.0 Gecko/20100101" --quiet --timeout=30 "https://yt-dl.org/downloads/latest/youtube-dl" --output-document "/usr/local/bin/youtube-dl"' || { printf "\033c"; echo -e ""; echo -e "Failed to install youtube-dl"; echo -e "Please try the install later"; echo -e ""; exit 1; }
su -c 'chmod 755 "/usr/local/bin/youtube-dl"' || { printf "\033c"; echo -e ""; echo -e "Failed to install youtube-dl"; echo -e "Please try the install later"; echo -e ""; exit 1; }
MenU
;;
*)
printf "\033c"
echo -e ""
echo -e "\"$choice\" is an invalid option!!!"
echo -e ""
echo -e "Correct options to choose are from 1-2"
echo -e ""
echo -e "To pick \"sudo\" press \"1\" & hit \"Enter\" key"
echo -e "To select \"su\" press \"2\" & hit \"Enter\" key"
echo -e ""
read -rsp $'Press any key to try again...\n' -n1
DepChk
;;
esac
;;
N | n)
printf "\033c"
exit 1
;;
*)
printf "\033c"
echo -e ""
echo -e "\"$choice\" is an invalid option!!!"
echo -e ""
echo -e "Correct options to choose are from Y-N"
echo -e ""
echo -e "To install \"youtube-dl\" press \"Y\" & hit \"Enter\" key"
echo -e "To leave \"PMYTD\" script press \"N\" & hit \"Enter\" key"
echo -e ""
read -rsp $'Press any key to try again...\n' -n1
DepChk
;;
esac
else
MenU
fi
}
while :
do
DepChk
done
That is it!
Enjoy
zephyr
Last edited by zephyr (2020-01-17 15:47:26)
CROWZ
easier to light a candle, yet curse the dark instead / experience life, or simply ...merely exist / ride the serpent / molon labe / III%ers / oath keepers
Offline
Thank you very much zephyr, i must adjust a few settings and perhaps install some others packg to make it working.
I'll start to rice one of these days
Best regards!
Tumbleweed - KDE Plasma (Wayland) - Breeze (LeafDark) [Qt]
♪Mahara★Japaaan!
Offline