[mythtv-users] Using program.category_type column to find movies

Mike Perkins mikep at randomtraveller.org.uk
Mon Nov 24 11:18:22 UTC 2014


On 24/11/14 10:20, Phill Edwards wrote:
> I've been looking at how I can easily identify which of my recordings are
> movies when using MythFrontend. In Australia, the program data seems to end
> up with programs with a program.category column of eg Comedy, Drama,
> Western etc, and a program.category_type column of Movie.
>
> I believe the program.category_type column is populated  by
> mythfilldatabase looking at the <category> field in the xml file and
> setting the 'category_type' column if the first, second or more xml file
> <category> values match the special keywords 'movie', 'sports', 'series',
> 'tvshow'.
>
> This is all well and good, but as far as I know, the program.category_type
> column isn't presented in MythFrontend as a filter option. So what's the
> point of this column if you can't search on it?
>
> I'm thinking of running a script after mythfilldatabase which sets
> program.category='movie' where program.category_type='movie'. Is this a
> sensible idea, or flawed?
>
I take a simple and blunt approach to this problem. Whenever I find a movie I 
want to record I select a recording group of 'Movie' when I set up the rule and 
then I know I can find it, however it has been categorised.

-- 

Mike Perkins



More information about the mythtv-users mailing list