mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- disable shoutcast, when shoutcast_dev_id is empty
This commit is contained in:
@@ -641,12 +641,10 @@ int CAudioPlayerGui::show()
|
||||
InputSelector.addItem(new CMenuForwarder(
|
||||
LOCALE_AUDIOPLAYER_ADD_IC, true, NULL, InetRadioInputChanger,
|
||||
cnt, CRCInput::convertDigitToKey(count + 1)), old_select == count);
|
||||
if(g_settings.shoutcast_dev_id != "XXXXXXXXXXXXXXXX"){
|
||||
sprintf(cnt, "%d", ++count);
|
||||
InputSelector.addItem(new CMenuForwarder(
|
||||
LOCALE_AUDIOPLAYER_ADD_SC, true, NULL, InetRadioInputChanger,
|
||||
sprintf(cnt, "%d", ++count);
|
||||
InputSelector.addItem(new CMenuForwarder(
|
||||
LOCALE_AUDIOPLAYER_ADD_SC, g_settings.shoutcast_enabled, NULL, InetRadioInputChanger,
|
||||
cnt, CRCInput::convertDigitToKey(count + 1)), old_select == count);
|
||||
}
|
||||
|
||||
//InputSelector.addItem(GenericMenuSeparator);
|
||||
hide();
|
||||
|
Reference in New Issue
Block a user