Explorar o código

Allow playerid = 0

Zachary Kotlarek %!s(int64=12) %!d(string=hai) anos
pai
achega
c5a6757545
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plexMonitor/plexMonitor.pl

+ 1 - 1
plexMonitor/plexMonitor.pl

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