--- mythplugins/mythweb/includes/mythbackend.php	2005-06-16 16:13:54.000000000 +0100
+++ mythweb/includes/mythbackend.php	2005-07-04 00:02:31.000000000 +0100
@@ -226,48 +226,7 @@
         $hostname = chop(`hostname`);
         $host     = $GLOBALS['Master_Host'];
         $port     = $GLOBALS['Master_Port'];
-        $cmd = array('QUERY_PIXMAP_LASTMODIFIED',
-                     ' ',                 // title
-                     ' ',                 // subtitle
-                     ' ',                 // description
-                     ' ',                 // category
-                     $show->chanid,       // chanid
-                     ' ',                 // chanstr
-                     ' ',                 // chansign
-                     ' ',                 // channame
-                     $show->filename,     // filename
-                     '0',                 // upper 32 bits
-                     '0',                 // lower 32 bits
-                     $show->starttime,    // starttime
-                     $show->endtime,      // endtime
-                     '0',                 // conflicting
-                     '1',                 // recording
-                     '0',                 // duplicate
-                     $show->hostname,     // hostname
-                     '-1',                // sourceid
-                     '-1',                // cardid
-                     '-1',                // inputid
-                     ' ',                 // recpriority
-                     ' ',                 // recstatus
-                     ' ',                 // recordid
-                     ' ',                 // rectype
-                     '15',                // dupin
-                     '6',                 // dupmethod
-                     $show->starttime,    // recstarttime
-                     $show->endtime,      // recendtime
-                     ' ',                 // repeat
-                     ' ',                 // program flags
-                     ' ',                 // recgroup
-                     ' ',                 // commfree
-                     ' ',                 // chanoutputfilters
-                     $show->seriesid,     // seriesid
-                     $show->programid,    // programid
-                     $show->starttime,    // dummy lastmodified
-                     '0',                 // dummy stars
-                     $show->starttime,    // dummy org airdate
-                     '',                  // trailing separator
-                    );
-        $lastmodified = strtotime(backend_command($cmd));
+        $lastmodified = filemtime($pngpath);
     // Delete outdated images, but not until the show has finished recording
         if (is_file($pngpath) && $lastmodified < $show->lastmodified && $show->lastmodified >= $show->endtime) {
             unlink($pngpath);
