Pagina 3 di 3

more radio stations to add to our internet radio:

Messaggio da leggereInviato: 08/01/2017, 14:39
da root
Codice: Seleziona tutto
/usr/bin/mpc add http://144.76.106.52:7000/chillout.mp3
/usr/bin/mpc add http://205.164.62.15:9010/
/usr/bin/mpc add http://streaming.radionomy.com/PassionLoveRadio
/usr/bin/mpc add http://176.31.240.87:8025
/usr/bin/mpc add http://stream.srg-ssr.ch/m/rsj/mp3_128
/usr/bin/mpc add http://stream.srg-ssr.ch/m/rsc_it/mp3_128
/usr/bin/mpc add http://stream.srg-ssr.ch/m/rsp/mp3_128
/usr/bin/mpc add http://streaming.radionomy.com/CristalRelax
/usr/bin/mpc add http://streaming.radionomy.com/Radio-Quelit
/usr/bin/mpc add http://streaming.radionomy.com/R-E-T-R-OF-M
/usr/bin/mpc add http://streaming.radionomy.com/radio-accordeon
/usr/bin/mpc add http://streaming.radionomy.com/100-HIT-ra
/usr/bin/mpc add http://streaming.radionomy.com/colombiaromantica
/usr/bin/mpc add http://streaming.radionomy.com/GOLDEN-SIXTIES-SEVENTIES-EIGHTIES-RADIO
/usr/bin/mpc add http://streaming.radionomy.com/radio-oldies-and-rock--n--roll
/usr/bin/mpc add http://hr-mp3-m-h3.akacast.akamaistream.net/7/785/142133/v1/gnl.akacast.akamaistream.net/hr-mp3-m-h3
/usr/bin/mpc add http://streaming.hotmix-radio.net/hotmixradio-lounge-128.mp3
/usr/bin/mpc add http://streaming.radionomy.com/Ambiance-Reggae
/usr/bin/mpc add http://streaming.radionomy.com/always-80s
/usr/bin/mpc add http://streaming.radionomy.com/Hit-s-My-Music-Pop-Rock
/usr/bin/mpc add http://streaming.radionomy.com/Cafe-Romantico-Radio
/usr/bin/mpc add http://streaming.radionomy.com/1000-HITS-Sweet-Radio
/usr/bin/mpc add http://46.37.20.205:8000/rdsmp3
/usr/bin/mpc add http://89.16.185.174:8003/stream
/usr/bin/mpc add http://89.16.185.174:8000/stream
/usr/bin/mpc add http://89.16.185.174:8004/stream
/usr/bin/mpc add http://streaming.radionomy.com/Fm-Tropical-Shad-972
/usr/bin/mpc add http://streaming.radionomy.com/NashvilleEdge
/usr/bin/mpc add http://streaming.radionomy.com/Abacusfm-Nature
/usr/bin/mpc add http://streaming.radionomy.com/chd--radio-country
/usr/bin/mpc add http://streaming.radionomy.com/1-Radio-Dance
/usr/bin/mpc add http://streaming.radionomy.com/Acoustic-FM
/usr/bin/mpc add http://streaming.radionomy.com/ABC-Love
/usr/bin/mpc add http://streaming.radionomy.com/Radio-Nostalgia
/usr/bin/mpc add http://andromeda.shoutca.st:8634/stream
/usr/bin/mpc add http://streaming.radionomy.com/Tsjechische-Blaasmuziek
/usr/bin/mpc add http://streaming.radionomy.com/DanceRO
/usr/bin/mpc add http://streaming.radionomy.com/BobFamilyandfriends
/usr/bin/mpc add http://streaming.radionomy.com/The-Buffalo
/usr/bin/mpc add http://streaming.radionomy.com/VWClassicRock
/usr/bin/mpc add http://icecast2.rte.ie/ieradio1
/usr/bin/mpc add http://listen.radionomy.com/the-smooth-lounge
#
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1xtra_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio3_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4fm_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4lw_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio4extra_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio5live_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_6music_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_asianet_mf_p
/usr/bin/mpc add http://bbcmedia.ic.llnwd.net/stream/bbcmedia_nangaidheal_mf_p
#

reduce the audio volume during the night

Messaggio da leggereInviato: 24/01/2017, 20:47
da root
I'm used to listen to my Internet Radio until late at night and often I fall asleep listening some ambient music.
The problem is that the radio needs to be switched off to not to bother my neighbors

so I created a series of cron jobs to gradually reduce the audio volume during the night and then stop playing music:

vi /etc/crontabs/root

0 22 * * * /usr/bin/mpc volume 85 #volume 85-100
30 22 * * * /usr/bin/mpc volume 83 #volume 83-100
0 23 * * * /usr/bin/mpc volume 80 #volume 80-100
30 23 * * * /usr/bin/mpc volume 77 #volume 77-100
0 0 * * * /usr/bin/mpc volume 75 #volume 75-100
0 1 * * * /usr/bin/mpc volume 73 #volume 73-100
30 1 * * * /usr/bin/mpc stop # stop playing


note: you may change the volume values to adapt them to your radio configuration.

If you use madplay or if you have a broken MPD version (barrier breaker), you may use the following command:

/usr/bin/amixer -q set Speaker X%-

(instead of using "/usr/bin/mpc volume X")

something like this:

0 22 * * * /usr/bin/amixer -q set Speaker 15%-
30 22 * * * /usr/bin/amixer -q set Speaker 10%-
0 23 * * * /usr/bin/amixer -q set Speaker 10%-
30 23 * * * /usr/bin/amixer -q set Speaker 10%-
0 0 * * * /usr/bin/amixer -q set Speaker 10%-
0 1 * * * /usr/bin/amixer -q set Speaker 10%-


the only difference is that in this case we are specifying the amount of volume in percentage to be decrease, instead of specifying the absolute value, as the above example.

P.S.: remember to re-enable "ntp" if you have disabled it to save some RAM usage.
If you don't have luci and want to set up the correct date/time, getting the values from internet, put the following lines in your /etc/rc.local:

# get date-time
/bin/echo GMT-1 > /etc/TZ
/usr/sbin/ntpd -q -p ntp1.ien.it


note: change GMT-1 with your local timezone