[mythtv] [mythtv-commits] mythtv commit: r12937 by bjm
Stuart Morgan
stuart at tase.co.uk
Mon Mar 5 10:32:31 UTC 2007
On Monday 5 March 2007 01:50:45 mythtv at cvs.mythtv.org wrote:
> Author: bjm
> Date: 2007-03-05 01:50:43 +0000 (Mon, 05 Mar 2007)
> New Revision: 12937
> Changeset: http://cvs.mythtv.org/trac/changeset/12937
>
> Modified:
>
> trunk/mythtv/programs/mythfilldatabase/xmltvparser.cpp
>
> Log:
>
> Fix category_type for grabbers that use [Ff]ilm in the category
> field to indicate theatrical motion pictures.
>
> "category_type" probably should have been named program_type
> or show_type and should have been an enum with an integer
> to indicate series or sports. However, this is not the case.
> This field must contain one of these four collections of ASCII
> characters: 'movie', 'series', 'sports' or 'tvshow' regardless
> of the users native language or local slang for motion pictures.
Something along the lines of the following might be a better fix and not a one
scenario hack.
if (cat == tr("movie"))
{
pginfo->catType = "movie";
}
What's currently in there won't work for non-english speaking countries, which
is why I commented it out in the first place.
--
Stuart Morgan
More information about the mythtv-dev
mailing list