Skip to content

Feirlane/RadioFM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RadioFM

RadioFM is a web radio player

Building

Simply check out the source and run npm install and grunt at the root of the repo. Deploy the created build directory on any web server and you're set.

Contributing

The best way to contribute is to add new radios.

Radios should:

  • Have a radio_name and stream_url properties
  • Emit the new_radio event containing their object and their class name when they're instantiated so the config manager can save them for resuming the session later and the player can play the stream
  • Emit the new_rds event when queried for the current song and it has changed sinces the last query

You can find the Radio superclass in src/js/radio.js and use that as an example of all that should be implemented.

Additionaly, for now you'll have to add the radio manually to the radio selector in index.html