Ver Fonte

test fix for plex stream bug

causefx há 8 anos atrás
pai
commit
55443fb6f5
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      api/functions/homepage-connect-functions.php

+ 1 - 1
api/functions/homepage-connect-functions.php

@@ -4,7 +4,7 @@ function homepageConnect($array)
 {
 	switch ($array['data']['action']) {
 		case 'getPlexStreams':
-			return plexConnect('streams');
+			return (qualifyRequest($GLOBALS['homepagePlexStreamsAuth'])) ? plexConnect('streams') : false;
 			break;
 		case 'getPlexRecent':
 			return plexConnect('recent');