imdb/tmdb: more unifications; part 2

Origin commit data
------------------
Commit: 365024fb18
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-04-08 (Thu, 08 Apr 2021)

Origin message was:
------------------
- imdb/tmdb: more unifications; part 2
This commit is contained in:
vanhofen
2021-04-08 17:31:07 +02:00
parent 6b2ed99cc6
commit 004a2b396c
4 changed files with 27 additions and 40 deletions

View File

@@ -24,26 +24,22 @@
#include <config.h>
#endif
#include <fstream>
#include <set>
#include <string>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <errno.h>
#include <fstream>
#include <set>
#include <string>
#include <neutrino.h>
#include "system/settings.h"
#include "system/set_threadname.h"
#include <system/settings.h>
#include <system/set_threadname.h>
#include <driver/screen_max.h>
#include <global.h>
#include "mdb-tmdb.h"
CTMDB* CTMDB::getInstance()
@@ -56,11 +52,7 @@ CTMDB* CTMDB::getInstance()
CTMDB::CTMDB()
{
#ifdef TMDB_API_KEY
key = TMDB_API_KEY;
#else
key = g_settings.tmdb_api_key;
#endif
hintbox = NULL;
}