[mythtv-commits] Ticket #12887: Billing order is lost in the credits table
MythTV
noreply at mythtv.org
Mon Sep 26 11:00:53 UTC 2016
#12887: Billing order is lost in the credits table
--------------------------------------+---------------------
Reporter: mythtv@… | Owner:
Type: Bug Report - General | Status: new
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: 0.28.0
Severity: medium | Keywords:
Ticket locked: 0 |
--------------------------------------+---------------------
There is no way to order the list of actors in a program to reflect the
billing order. I use tv_grab_sd_json and the XML it produces has the
actors in billing order but the process of adding them to the credits
table removes the order. You can see this clearly in mythweb, just pick
any movie.
As a work-around for my purposes I have added a column to credits thus:
alter table credits add column localrank int auto_increment primary key;
I'm not proposing this as the solution but it works for me as the XML from
the grabber has the actors in billing order and mythfilldatabase adds them
to the credits table in that order. I can get the starts with this query:
select name from credits, people where credits.person = people.person and
chanid = CCCC and starttime = SSSS and role = 'actor' order by localrank
limit 5;
I don't know what the best solution would be, possibly a rank column
(tinyint) and have mythfilldatabase use a counter that increments for
every addition to the credits table but the EIT processor would have to be
changed too and I don't have a clue what that does. Finally the frontend
and mythweb would have to be changed to use the rank.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/12887>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list