[mythtv-commits] Ticket #11697: Cannot add recording in MythWeb anymore
MythTV
noreply at mythtv.org
Tue Oct 1 05:48:57 UTC 2013
#11697: Cannot add recording in MythWeb anymore
-----------------------------------------------+-------------------------
Reporter: Torsten Seyffarth <t.seyffarth@…> | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: Plugin - MythWeb | Version: 0.26
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-----------------------------------------------+-------------------------
Comment (by mopp@…):
Patch with correct format.
{{{
--- mythweb/modules/tv/classes/Schedule.php.orig 2012-08-28
19:22:44.000000000 +0200
+++ mythweb/modules/tv/classes/Schedule.php 2013-10-01
07:40:12.829590366 +0200
@@ -247,7 +247,7 @@
// Make sure that recordid is null if it's empty
if (empty($this->recordid)) {
$this->recordid = NULL;
- $this->findid = (date('U', $this->starttime)/60/60/24) +
719528;
+ $this->findid = round(((date('U',
$this->starttime)/60/60/24) + 719528), 0);
// Only auto-default these properties if we're not dealing with a
// search-based recording rule, otherwise take the values we
// received from the custom schedule input form
}}}
--
Ticket URL: <http://code.mythtv.org/trac/ticket/11697#comment:3>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list