changeset 28:9238c1d9e060

modified: mediatomb.php
author yoneda <epgrec@park.mda.or.jp>
date Sun, 26 Jul 2009 18:07:39 +0900
parents a34f2ff49097
children ae5491d72470
files mediatomb.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mediatomb.php	Sun Jul 26 18:00:11 2009 +0900
+++ b/mediatomb.php	Sun Jul 26 18:07:39 2009 +0900
@@ -19,7 +19,7 @@
 
   foreach( $recs as $rec ) {
 	  $title = mysql_real_escape_string($rec->title)."(".date("Y/m/d", toTimestamp($rec->starttime)).")";
-      $sqlstr = "update mt_cds_object set metadata='dc:description=".mysql_real_escape_string($rec->description)."' where dc_title='".$rec->path."'";
+      $sqlstr = "update mt_cds_object set metadata='dc:description=".mysql_real_escape_string($rec->description)."&epgrec:id=".$rec->id."' where dc_title='".$rec->path."'";
       mysql_query( $sqlstr );
       $sqlstr = "update mt_cds_object set dc_title='".$title."' where dc_title='".$rec->path."'";
       mysql_query( $sqlstr );