Opened 17 years ago
Closed 17 years ago
#3828 closed defect (fixed)
Fix Mythvideo handling of year for OSD
Reported by: | anonymous | Owned by: | Anduin Withers |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythvideo | Version: | unknown |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
Although the video year is passed to the internal player by mythvideo, it does not show in the OSD if the OSD is configured to show it.
The internal player in mythfrontend sets the video year into the program info passed to programinfo.cpp, which is then set into the infomap so that it can be used for the OSD. Unfortunately, the year does not get passed correctly. The internal player sets it into recstartts, but the code in ProgramInfo::ToMap? expects it in startts (ToMap? does some checks on the year for videos). Also a bug in the code prevented the year getting set into startts.
Also this patch sets the year into the year field of the programinfo data.
Attachments (1)
Change History (2)
Changed 17 years ago by
Attachment: | osd-video-year.diff added |
---|
comment:1 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [14756]) Closes #3828
Sets ProgramInfo::startts to the year passed to internal_play_media(). This allows the special handling in ProgramInfo::ToMap? to work, making the year available to OSD themes through %STARTDATE%.
Stop passing "?" as the year from MythVideo? as ProgramInfo? will figure it out.