浏览代码

fix ombi emby user import

causefx 8 年之前
父节点
当前提交
9ea5d62a15
共有 1 个文件被更改,包括 3 次插入 和 0 次删除
  1. 3 0
      api/functions/homepage-connect-functions.php

+ 3 - 0
api/functions/homepage-connect-functions.php

@@ -1798,6 +1798,9 @@ function ombiImport($type = null)
 			$options = (localURL($url)) ? array('verify' => false) : array();
 			$options = (localURL($url)) ? array('verify' => false) : array();
 			switch ($type) {
 			switch ($type) {
 				case 'emby':
 				case 'emby':
+				case 'emby_local':
+				case 'emby_connect':
+				case 'emby_all':
 					$response = Requests::get($url . "/api/v1/Job/embyuserimporter", $headers, $options);
 					$response = Requests::get($url . "/api/v1/Job/embyuserimporter", $headers, $options);
 					break;
 					break;
 				case 'plex':
 				case 'plex':