EXT‐RadioPlayer - bugsounet/MMM-Bugsounet GitHub Wiki
EXT-RadioPlayer is a plugin to play radio station on MagicMirror²
This module is an Extented plugins for MMM-Bugsounet
This module need EXT-VLCServer
plugin for playing any radio station
Execute npm run setup:EXT-RadioPlayer
in the MMM-Bugsounet's folder.
cd ~/MagicMirror/modules/MMM-Bugsounet
npm run setup:EXT-RadioPlayer
To display the module insert it in the config.js file.
{
module: 'MMM-Bugsounet/EXTs/EXT-RadioPlayer',
position: 'top_right',
animateIn: "flipInX",
animateOut: "flipOutX",
config: {
debug: false,
minVolume: 30,
maxVolume: 75,
streams: "streamsConfig.json"
}
},
Description of config feature
Option | Description | Type | default |
---|---|---|---|
debug |
Optional Enable Log level | Boolean | false |
minVolume | Volume to set when assistant speaking (in %) | Number | 30 |
maxVolume | Volume to set when radio playing (in %) | Number | 75 |
streams | Prefered radio list streams file | String | "streamsConfig.json" |
Un total de 21 radios ont été pré-configurés dans le fichier streamsConfig.fr.json
- Chérie FM
- RTL
- Rire Et Chansons
- France Info
- RTL2
- Fun Radio
- Europe 1
- Europe 2
- RFM
- RMC
- NRJ
- Nostalgie
- Contact FM
- Voltage
- Skyrock
- Radio FG
- France Inter
- Sud Radio
- Atomic Radio
- Hit West
- RVM
Pour appliquer cette liste, utilisez ceci dans votre configuration:
streams: "streamsConfig.fr.json"
This recipe have 9 pre-configured radio in streamsConfig.it.json
- Radio kiss kiss
- Radio 101
- radio italia
- Radio 105
- rtl
- radio dj
For apply radio list, use this in your configuration:
streams: "streamsConfig.it.json"
- Just check
streamsConfig.XX.json
file (XX is language) - Create your own streamsConfig file from other language
Needed configured streamsConfig file
-
/Radio
<name>
: Will start wanted radio station or the last radio when no name given -
/RadioNext
: Will start next radio of the list -
/RadioPrevious
: will start previous radio of the list -
/RadioList
: will display all available radio
-
Bugsounet_RADIO-STOP
: Will stop current radio -
Bugsounet_RADIO-PLAY
: Start radioname
from the streams config file -
Bugsounet_RADIO-NEXT
: Play next radio of the streams config file -
Bugsounet_RADIO-PREVIOUS
: Play previous radio of the streams config file -
Bugsounet_RADIO-PLAY
: Play radio with sended radio name in param
-
Bugsounet_RADIO-CHANNELS
: Send Radio channels available