[mythtv-commits] Ticket #2758: Unable to save scheduled recording storage group in MythWeb
MythTV
mythtv at cvs.mythtv.org
Fri Dec 1 02:27:40 UTC 2006
#2758: Unable to save scheduled recording storage group in MythWeb
------------------------------------+---------------------------------------
Reporter: mythtv at djm.dbme.net.au | Owner: xris
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythweb | Version: 0.20
Severity: medium |
------------------------------------+---------------------------------------
Currently running SVN:12164
With the new storage groups added in SVN 12151, MythWeb will display the
storage groups defined and will allow the storage group to be set, but
does not save it to the record table in the database.[[BR]]
I fixed it with the addition of the marked line below.[[BR]]
mythplugins/mythweb/modules/tv/detail.php[[BR]]
{{{
// Set things as the user requested
$schedule->profile = $_POST['profile'];
$schedule->recgroup = $_POST['recgroup'];
>>>> $schedule->storagegroup = $_POST['storagegroup'];
$schedule->autoexpire = $_POST['autoexpire'] ? 1 : 0;
$schedule->autocommflag = $_POST['autocommflag'] ? 1 : 0;
$schedule->autouserjob1 = $_POST['autouserjob1'] ? 1 : 0;
$schedule->autouserjob2 = $_POST['autouserjob2'] ? 1 : 0;
$schedule->autouserjob3 = $_POST['autouserjob3'] ? 1 : 0;
$schedule->autouserjob4 = $_POST['autouserjob4'] ? 1 : 0;
$schedule->maxnewest = $_POST['maxnewest'] ? 1 : 0;
$schedule->inactive = $_POST['inactive'] ? 1 : 0;
$schedule->dupin = _or($_POST['dupin'], 15);
$schedule->dupmethod = _or($_POST['dupmethod'], 6);
$schedule->recpriority = intval($_POST['recpriority']);
$schedule->maxepisodes = intval($_POST['maxepisodes']);
$schedule->startoffset = intval($_POST['startoffset']);
$schedule->endoffset = intval($_POST['endoffset']);
$schedule->autotranscode = $_POST['autotranscode'] ? 1 : 0;
$schedule->transcoder = $_POST['transcoder'];
$schedule->tsdefault = $_POST['timestretch'];
$schedule->prefinput = $_POST['prefinput'];
}}}
Cheers,
Darryl
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/2758>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list