mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-13 16:33:36 +02:00
allow to disable online services w/o cleaning the keys
Origin commit data
------------------
Branch: ni/coolstream
Commit: db896847b9
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-08 (Mon, 08 Aug 2016)
Origin message was:
------------------
- allow to disable online services w/o cleaning the keys
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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