Radio Playlists - project-owner/Peppy.doc GitHub Wiki
The web radio playlists contain the direct links to free radio station streams. All playlists should have the name stations.m3u. Here is the example path to English/USA playlist with radio stations for kids:
/home/pi/Peppy/languages/English-USA/radio-stations/Genre/Children/stations.m3u
Each radio station should be defined by two lines in the playlist:
- Station name.
- The URL to station stream.
Here is the example of the playlist content:
#Kids Public Radio. Lullaby
http://kidspublicradio2.got.net:8000/lullaby
#Kids Public Radio. Pipsqueaks
http://kidspublicradio2.got.net:8000/pipsqueaks
Station Name
This name will be displayed in the title bar of the Radio Player Screen. If the name needs character set other than ASCII then the playlist file should be saved in UTF-8 encoding.
The station logo image which is located in the same folder as playlist file should be named after the station name. For example for the playlist shown above there are two images for the station logos:
Kids Public Radio. Lullaby.png
Kids Public Radio. Pipsqueaks.png
The station logo image can be of any size. The images for the default stations have resolution 200*200 pixels. As image file should be named after the station name the special OS characters should not be used in the station names.
The URL to station stream
The Peppy player will send this URL to audio player (e.g. Mpd) for playback when corresponding station will be selected in the Station Menu.