Opened 10 years ago

Closed 10 years ago

#7134 closed defect (fixed)

Mythweb gets default (4/3) aspect ratio when padding is used

Reported by: octoberblu3 Owned by: Rob Smith
Priority: minor Milestone: 0.22
Component: Plugin - MythWeb Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

Mythweb was failing to determine the correct aspect ratio for 16:9 recordings when padding was used.

The getAspect function in mythweb/modules/tv/classes/Program.php tries to query with $this->starttime, which is when the program begins, but not necessarily the recordings begins due to padding. The recordedmarkup table that getAspect queries uses the actual recording starttime.

Changing this to $this->recstartts fixes the problem.

Attachments (1)

mythweb_getaspect.patch (576 bytes) - added by octoberblu3 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by octoberblu3

Attachment: mythweb_getaspect.patch added

comment:1 Changed 10 years ago by Rob Smith

Resolution: fixed
Status: newclosed

(In [22330]) Fixes #7134, this fixes the aspect ratio detection for padded recordings

Note: See TracTickets for help on using tickets.