Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#10944 closed Patch - Bug Fix (fixed)

unbreak starting playback on a frontend fromt the recording details

Reported by: dekarl@… Owned by: danielk
Priority: minor Milestone: 0.26
Component: Plugin - MythWeb Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

appears to have been missed in the UTC conversion

Attachments (1)

10944-unbreak-playback-on-frontend.patch (1.3 KB ) - added by dekarl@… 14 years ago.

Download all attachments as: .zip

Change History (9)

by dekarl@…, 14 years ago

comment:1 by danielk, 14 years ago

Owner: changed from Rob Smith to danielk
Status: newassigned

comment:2 by danielk, 14 years ago

Milestone: unknown0.26
Status: assignedinfoneeded

dekarl, the second part of the patch looks like a UTC issue, what is the root stuff about though?

comment:3 by dekarl@…, 14 years ago

I was debugging why the playback on frontend x function did not work and fixed both errors while on it.

Hitting the play on frontend button resulted in the following error

[Thu Jul 26 14:23:38 2012] [error] [client 192.168.66.137] PHP Fatal error:  require_once(): Failed opening required 'tv.php' (include_path='/usr/local/share/mythtv/bindings/php/:/usr/share/mythtv/bindings/php/:.:/usr/share/php:/usr/share/pear:/usr/share/mythtv/mythweb/modules/remote') in /usr/share/mythtv/mythweb/modules/remote/handler.php on line 100, referer: http://mythmaster.breitlacher/mythweb/tv/detail/2065/1337288700

looking at the (removed in the meantime) iPad template revealed that the relative path led to calling http://mythmaster.breitlacher/mythweb/remote/tv/detail/2065/1337288700 instead of just http://mythmaster.breitlacher/mythweb/tv/detail/2065/1337288700 (without the remote/ component) which was avoided by making the path absolute (by prepending "root.")

But that appears to just be a cosmetic error / red herring so I continued to debug which led me to the UTC issue. I never tested what happens if just the latter issues gets fixed.

comment:4 by danielk, 14 years ago

Status: infoneededassigned

comment:5 by danielk, 14 years ago

Unfortuntely, I seem to be unable to test this. I don't have any frontends listed as available for playback duties.

comment:6 by Dekarl <dekarl@…>, 14 years ago

Resolution: fixed
Status: assignedclosed

In fced22b1d80c377cc2463eba1b67f2de79c6d634/mythtv:

Error: Processor CommitTicketReference failed
GIT backend not available

comment:7 by danielk, 14 years ago

Dekarl, the .root. stuff doesn't appear to be necessary. I'm not really the right person to review those types of changes, so I've just applied the necessary bit in bindings/php/MythFrontend.php.

comment:8 by Karl Dietz <dekarl@…>, 14 years ago

In 50c2a3448f46eed0d319c41970321f5326dc5a86/mythweb:

Error: Processor CommitTicketReference failed
GIT backend not available
Note: See TracTickets for help on using tickets.