Explorar el Código

With a linebreak

Zachary Kotlarek hace 14 años
padre
commit
f364b0de97
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      plexMonitor/plexMonitor.pl

+ 1 - 1
plexMonitor/plexMonitor.pl

@@ -77,7 +77,7 @@ do {
 			$playing = 1;
 		}
 		my ($fh, $tmp) = tempfile($DATA_DIR . '/PLAY_STATUS.XXXXXXXX', 'UNLINK' => 0);
-		print $fh $playing;
+		print $fh $playing . "\n";
 		close($fh);
 		rename($tmp, $DATA_DIR . '/PLAY_STATUS');
 	}