<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 24, 2014 at 5:53 AM, Michael T. Dean <span dir="ltr"><<a href="mailto:mtdean@thirdcontact.com" target="_blank">mtdean@thirdcontact.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class=""><div class="h5">On 11/24/2014 05:20 AM, Phill Edwards wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
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.<br>
<br>
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'.<br>
<br>
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?<br>
<br>
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?<br>
</blockquote>
<br></div></div>
If you mean for the purposes of recording or finding movies to record, there's no need.  You can use category_type.<br>
<br>
The easiest way to find a list of all the upcoming movies is to go to Manage Recordings|Schedule Recordings|Search Lists and then choose Movies.  You can then set a filter on star ratings (or choose All).<br>
<br>
If you want a generic rule that records a bunch of movies, you can create a Power/Custom recording rule based off category_type.  One of the Sample Clauses shown in the editor (Manage Recordings|Schedule Recordings|Custom Record is "Category type ('movie', 'series', 'sports' or 'tvshow')" and another is "Limit movies by the year of release".  You can use either of those clauses along with any other (such as "Minimum star rating (0.0 to 1.0 for movies only)") to specify which movies to record.  Both clauses are based on category_type.<br>
<br>
If you mean filtering on category_type in Watch Recordings, you can't do that--you should use recording groups as Mike P mentioned.<br>
<br>
Mike<div class=""><div class="h5"><br></div></div></blockquote><div><br></div><div>I think the option he is looking for is a Movie template.<br><br></div><div>Go to the Manage Recording Rules screen. M > New Template. The name should match what you commonly have for category/category_type, but is not case-sensitive (I use "Movie"). In the Storage Options, add it to a new Movie recording group.<br><br></div><div>Assign the TV Frontend/PAGERIGHT key (Setup > Edit Keys) to something on your remote for toggling between default, movie, etc. I think all themes support this. Otherwise, just use the M>M>Change Group Filter Option in the recordings screen.<br><br><a href="https://github.com/MythTV/mythtv/commit/71c65b">https://github.com/MythTV/mythtv/commit/71c65b</a><br><br></div><div>Frank<br></div></div></div></div>