diff viewer.php @ 59:f40b6cc4c587

change: viewer & stream
author yoneda <yoneda@recorder.localnet.mda.or.jp>
date Sat, 01 Aug 2009 18:35:11 +0900
parents a703751e208a
children
line wrap: on
line diff
--- a/viewer.php	Wed Jul 29 16:53:56 2009 +0900
+++ b/viewer.php	Sat Aug 01 18:35:11 2009 +0900
@@ -37,7 +37,7 @@
 	echo "<ASX version = \"3.0\">";
 	echo "<PARAM NAME = \"Encoding\" VALUE = \"UTF-8\" />";
 	echo "<ENTRY>";
-	echo "<REF HREF=\"".$settings->install_url."/sendstream.php?reserve_id=".$rrec->id ."\" />";
+	if( ! $rrec->complete ) echo "<REF HREF=\"".$settings->install_url."/sendstream.php?reserve_id=".$rrec->id ."\" />";
 	echo "<REF HREF=\"".$settings->install_url.$settings->spool."/".$rrec->path ."\" />";
 	echo "<TITLE>".$title."</TITLE>";
 	echo "<ABSTRACT>".$abstract."</ABSTRACT>";
@@ -49,4 +49,4 @@
 catch(exception $e ) {
 	exit( $e->getMessage() );
 }
-?>
+?>
\ No newline at end of file