causefx 8 år sedan
förälder
incheckning
d1498ea9da
1 ändrade filer med 3 tillägg och 3 borttagningar
  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']:"");