[mythtv-users] How do programme categories work?
Ian Campbell
ijc at hellion.org.uk
Fri Jun 22 16:08:57 UTC 2018
On Fri, 2018-06-22 at 16:50 +0100, George Poulson wrote:
> Does anyone know how MythTV selects the "Category" that is applied to
> each programme?
Not 100% sure, but I think from your listings data.
I have in my Schedule Direct things like (which I think is the same
showing you had):
<programme start="20180622203000 +0000" stop="20180622210000 +0000" channel="24438">
<title>5 Live Formula 1</title>
<sub-title>French Grand Prix: Preview</sub-title>
<desc>5 live's F1 team look ahead to all the action at this weekend's French Grand Prix.</desc>
<category>Sports talk</category>
<category>Auto racing</category>
<category>Sports non-event</category>
<category>series</category>
<episode-num system="dd_progid">EP012986480255</episode-num>
<previously-shown start="20180622" />
</programme>
which seems reasonable.
I have the radio channels all set to invisible so I can't
(easily) check what myth thinks other than by looking in the database
directly:
MariaDB [mythconverg]> select title,category,category_type from program where title = "5 Live Formula 1";
+------------------+-------------+---------------+
| title | category | category_type |
+------------------+-------------+---------------+
| 5 Live Formula 1 | Sports talk | series |
| 5 Live Formula 1 | Sports talk | series |
| 5 Live Formula 1 | Sports talk | series |
| 5 Live Formula 1 | Sports talk | series |
+------------------+-------------+---------------+
I also see that my SD data does match the category that myth shows for
the TV version.
> In some cases the applied category is just plain wrong, and sometimes
> just weird.. (apologies if the formatting of this pasting from
> Mythweb is lost or corrupted but the programme "5 Live Formula 1" has
> been categorised as "Music/Ballet/Dance")
Is it coming from EIT perhaps?
Ian.
More information about the mythtv-users
mailing list