Opened 16 years ago

Closed 15 years ago

#8363 closed defect (Fixed)

"Play Recording on Frontend" doesn't work if recording "Started Early"

Reported by: ryanr23@… Owned by: Rob Smith
Priority: minor Milestone: unknown
Component: Plugin - MythWeb Version: 0.23rc2
Severity: medium Keywords:
Cc: Ticket locked: no

Description

If the scheduled time is used instead of the "actual" time (in case of "Start Early" setting), the recording will not play correctly.

The starttime in the script <mythweb>/modules/tv/tmpl/default/detail.php on line 741 should change from:

... '&starttime='.urlencode($program->starttime) ...

to:

... '&starttime='.urlencode($program->recstarts) ...

Attachments (1)

mythweb-playback-frontend-start-early.diff (794 bytes ) - added by jason.chambers@… 15 years ago.
patch referenced in comment:9

Download all attachments as: .zip

Change History (13)

comment:1 by Rob Smith, 16 years ago

Resolution: fixed
Status: newclosed

(In [24927]) Fixes #8363, this uses recstarts vs startime to find recordings

comment:2 by anonymous, 15 years ago

Resolution: fixed
Status: closednew

comment:3 by Raymond Wagner, 15 years ago

Resolution: fixed
Status: newclosed

Need to give an explination, or at least a contact address, if you want something re-opened.

comment:4 by wombo1@…, 15 years ago

Hi,

I have just upgraded my Mythbuntu 10.04 system to Trunk.

I have verified that the above changes have been made to the source, but the functionality is still not working.

Below is an extract of what the browser is displaying for that line.

<div class="x-frontends">Play Recording on Frontend:<ul><li><a onclick="watchShow('htpc', '1099', '');">htpc</a><br></ul></div>

comment:5 by robertm, 15 years ago

Resolution: fixed
Status: closednew

comment:6 by robertm, 15 years ago

Status: newassigned

comment:7 by Rob Smith, 15 years ago

Milestone: unknown0.24

comment:8 by Rob Smith, 15 years ago

Resolution: fixed
Status: assignedclosed

(In [26122]) Fixes #8363, this fixes the start on frontend functionality

comment:9 by jason.chambers@…, 15 years ago

The above fixes are incorrect.

The original description and the changes that went into [24927] had a typo in the time property - they used recstarts rather than recstartts.

This meant it didn't fix the original problem, and actually caused a new problem (comment:4) where no timestamp is included in the call to watchShow().

Then the changes in [26122] in response to comment:4 simply changed back to using starttime. Therefore it reverted to the original behaviour of ignoring any start early value and so mythweb is still unable to start playback of any such recordings.

Attached is a patch (against r27171) to fix this properly.

by jason.chambers@…, 15 years ago

patch referenced in comment:9

comment:10 by paulh, 15 years ago

Resolution: fixed
Status: closednew

comment:11 by Kenni Lund [kenni a kelu dot dk], 15 years ago

Milestone: 0.24unknown
Status: newassigned

comment:12 by Rob Smith, 15 years ago

Resolution: Fixed
Status: assignedclosed

Fixed in 6aba7cf

Note: See TracTickets for help on using tickets.