mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-08 14:18:35 +02:00
- allow to disable online services w/o cleaning the keys
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
*/
|
||||
|
||||
|
||||
#include <global.h>
|
||||
#include <gui/widget/menue.h>
|
||||
|
||||
#include <string>
|
||||
@@ -149,4 +150,9 @@ class CAutoModeNotifier : public CChangeObserver
|
||||
bool changeNotify(const neutrino_locale_t, void * data);
|
||||
};
|
||||
|
||||
//do we need a class?
|
||||
inline int check_shoutcast_dev_id() { return ((g_settings.shoutcast_dev_id != "XXXXXXXXXXXXXXXX") && !g_settings.shoutcast_dev_id.empty()); }
|
||||
inline int check_youtube_dev_id() { return ((g_settings.youtube_dev_id != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.youtube_dev_id.empty()); }
|
||||
inline int check_tmdb_api_key() { return ((g_settings.tmdb_api_key != "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX") && !g_settings.tmdb_api_key.empty()); }
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user