[mythtv-commits] Ticket #12745: Feature patch: Insert ratings collected from (future) EIT parsing
MythTV
noreply at mythtv.org
Mon Apr 25 15:42:00 UTC 2016
#12745: Feature patch: Insert ratings collected from (future) EIT parsing
-------------------------------------------------+-------------------------
Reporter: Gary Buhrmaster | Owner: dekarl
<gary.buhrmaster@…> |
Type: Patch - Feature | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - EIT | Version: Master Head
Severity: medium | Keywords:
Ticket locked: 0 |
-------------------------------------------------+-------------------------
Feature patch: Insert ratings from (a theoretical) EIT parsing and
collection
There was some discussion in the irc logs about an interest in parsing the
EIT data to provide and insert program ratings into the DB. Currently,
the EIT InsertDB routine does not insert ratings, even if they were
somehow collected into the DBEvent.
[I was looking at the program codes in this area for other reasons (see
ticket #12742), but observed this case]
This feature patch will insert any parsed/obtained ratings into the
programrating table should they be available in some future EIT parsing
update elsewhere.
The inserted lines in programdata.cpp are copy/pasted from
ProgInfo::InsertDB starting at ~1223 to DBEvent::InsertDB line ~1051.
This patch has only had limited testing. As no current EIT code parses
and collects ratings in the DBEvent, there is nothing to actually insert
at this time. But this patch enables the next steps.
github ref:
https://github.com/garybuhrmaster/mythtv/commit/0329912388aa5cf4d2a0baffcf0dff925d8833f6
github git-am ref:
https://github.com/garybuhrmaster/mythtv/commit/0329912388aa5cf4d2a0baffcf0dff925d8833f6.patch
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12745>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list