Zachary Kotlarek 12 лет назад
Родитель
Сommit
c5a6757545
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      plexMonitor/plexMonitor.pl

+ 1 - 1
plexMonitor/plexMonitor.pl

@@ -84,7 +84,7 @@ do {
 	}
 	}
 
 
 	# Get details about the player
 	# Get details about the player
-	if ($data{'playerid'}) {
+	if ($data{'playerid'} >= 0) {
 		$result = xbmcJSON('Player.GetProperties', { 'playerid' => $data{'playerid'}, 'properties' => [ 'time', 'type', 'speed' ] });
 		$result = xbmcJSON('Player.GetProperties', { 'playerid' => $data{'playerid'}, 'properties' => [ 'time', 'type', 'speed' ] });
 		if (defined($result)) {
 		if (defined($result)) {
 			if (exists($result->{'time'})) {
 			if (exists($result->{'time'})) {