ソースを参照

Emby Fix

Fixed #569 & #620
causefx 8 年 前
コミット
d1498ea9da
1 ファイル変更3 行追加3 行削除
  1. 3 3
      functions.php

+ 3 - 3
functions.php

@@ -523,12 +523,12 @@ function resolveEmbyItem($address, $token, $item, $nowPlaying = false, $showName
 	
 	// Get Item Details
 	$itemDetails = json_decode(file_get_contents($address.'/Items?Ids='.$item['Id'].'&api_key='.$token),true)['Items'][0];
-	if (substr_count(EMBYURL, ':') == 2) {
+	/*if (substr_count(EMBYURL, ':') == 2) {
 		$URL = "http://app.emby.media/itemdetails.html?id=".$itemDetails['Id'];
 	}else{
 		$URL = EMBYURL."/web/itemdetails.html?id=".$itemDetails['Id'];
-	}
-	//$URL = "http://app.emby.media/itemdetails.html?id=".$itemDetails['Id'];
+	}*/
+	$URL = EMBYURL."/web/itemdetails.html?id=".$itemDetails['Id'];
 	switch ($itemDetails['Type']) {
 		case 'Episode':
 			$title = (isset($itemDetails['SeriesName'])?$itemDetails['SeriesName']:"");