} else { $writeback_message = word("Metadata for %s has been updated in Jinzora. To update ID3 tags, please enable \$allow_id3_modify.", $track->getName()); } $meta = $track->getMeta(); // Now we need to set the meta we want to rewrite $meta['title'] = $_POST['edit_title']; $meta['artist'] = $_POST['edit_artist']; $meta['album'] = $_POST['edit_album']; $meta['number'] = $_POST['edit_number']; $meta['genre'] = $_POST['edit_genre']; $meta['comment'] = $_POST['edit_comment']; $meta['lyrics'] = $_POST['edit_lyrics']; // Now let's write this $track->setMeta($meta); // Now let's write the long description if they had one $track->addDescription($_POST['edit_long_desc']); $track->addShortDescription($_POST['edit_comment']); // Now let's update the play count $track->setPlayCount($_POST['edit_plays']); // Now let's update the cache //$path = $track->getPath(); //unset($path[count($path)-1]); //$path = implode("/",$path); //$node = new jzMediaNode($path); //$node->updateCache(true, false, false, true); // Now do we need to close out? if (isset($_POST['closeupdate'])) { $this->closeWindow(true); } } if (isset($_POST['createlowfi'])) {