Browse Source

add more stations

main
Hendrik Langer 7 years ago
parent
commit
9c0cc088d9
  1. 20
      src/screen.cpp

20
src/screen.cpp

@ -126,6 +126,9 @@ StationMenu::StationMenu() {
"Ye Ol Celtic Pub", "Ye Ol Celtic Pub",
"Gone Country - NZCMR", "Gone Country - NZCMR",
"Radio Essen", "Radio Essen",
"Irish Pub Radio",
"Antenne Bayern Oldies",
"Der Barde",
"xd0.de MPD", "xd0.de MPD",
"\xAB Return"}; "\xAB Return"};
} }
@ -188,11 +191,26 @@ uint8_t StationMenu::select() {
led.changeAnimation(2, 0); led.changeAnimation(2, 0);
break; break;
case 11: case 11:
mp3.start("http://bb24.sonixcast.com:20038/stream");
strcpy(titleStr, string_list[10].c_str());
led.changeAnimation(2, 0);
break;
case 12:
mp3.start("http://mp3channels.webradio.antenne.de/oldies-but-goldies");
strcpy(titleStr, string_list[10].c_str());
led.changeAnimation(2, 0);
break;
case 13:
mp3.start("https://stream.laut.fm/der-barde");
strcpy(titleStr, string_list[10].c_str());
led.changeAnimation(2, 0);
break;
case 14:
mp3.start("http://172.16.75.17:8000/mopidy"); mp3.start("http://172.16.75.17:8000/mopidy");
strcpy(titleStr, string_list[11].c_str()); strcpy(titleStr, string_list[11].c_str());
led.changeAnimation(2, 0); led.changeAnimation(2, 0);
break; break;
case 12: case 15:
menuChange = eMainMenu; menuChange = eMainMenu;
return current_pos; return current_pos;
break; break;

Loading…
Cancel
Save