mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
Change default filter mode
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@362 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -52,7 +52,16 @@
|
|||||||
|
|
||||||
std::vector<std::string> SIlanguage::languages;
|
std::vector<std::string> SIlanguage::languages;
|
||||||
pthread_mutex_t SIlanguage::languages_lock = PTHREAD_MUTEX_INITIALIZER;
|
pthread_mutex_t SIlanguage::languages_lock = PTHREAD_MUTEX_INITIALIZER;
|
||||||
CSectionsdClient::SIlanguageMode_t SIlanguage::mode = CSectionsdClient::ALL;
|
|
||||||
|
/*
|
||||||
|
ALL = Show all available languages
|
||||||
|
FIRST_FIRST = Show first found language from list. If not found show first of available language
|
||||||
|
FIRST_ALL = Show first found language from list. If not found show all available languages.
|
||||||
|
ALL_FIRST = Show all wanted languages if possible. If not found show first of av ailable language
|
||||||
|
ALL_ALL = Show all wanted languages if possible. If not found show all available languages.
|
||||||
|
*/
|
||||||
|
//CSectionsdClient::SIlanguageMode_t SIlanguage::mode = CSectionsdClient::ALL;
|
||||||
|
CSectionsdClient::SIlanguageMode_t SIlanguage::mode = CSectionsdClient::FIRST_ALL;
|
||||||
|
|
||||||
void SIlanguage::filter(const std::map<std::string, std::string>& s, int max, std::string& retval)
|
void SIlanguage::filter(const std::map<std::string, std::string>& s, int max, std::string& retval)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user