mirror of
https://github.com/Vateron-Media/XC_VM.git
synced 2026-10-31 11:03:22 +01:00
Fix: Improve checks for TMDb API key and genre handling in watch_item and player_api
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ if (posix_getpwuid(posix_geteuid())['name'] == 'xc_vm') {
|
||||
cli_set_process_title('XC_VM[Plex Sync]');
|
||||
$rScanOffset = (intval(CoreUtilities::$rSettings['scan_seconds']) ?: 3600);
|
||||
set_time_limit(0);
|
||||
if (strlen(CoreUtilities::$rSettings['tmdb_api_key']) != 0) {
|
||||
if (!empty(CoreUtilities::$rSettings['tmdb_api_key'])) {
|
||||
loadCron();
|
||||
} else {
|
||||
exit('No TMDb API key.');
|
||||
|
||||
Reference in New Issue
Block a user