MythTV  master
Classes | Variables
eitfixup.cpp File Reference
#include <algorithm>
#include <array>
#include "eitfixup.h"
#include "programinfo.h"
#include "channelutil.h"
#include "dishdescriptors.h"
#include "mythlogging.h"
Include dependency graph for eitfixup.cpp:

Go to the source code of this file.

Classes

struct  NLMapResult
 

Variables

static const QRegularExpression kStereo { R"(\b\(?[sS]tereo\)?\b)" }
 
static const QRegularExpression kUKSpaceColonStart { R"(^[ |:]*)" }
 
static const QMap< QChar, quint16 > r2v
 
static const QMap< QString, DBPerson::RoledeCrewTitle
 
static const QMap< QString, NLMapResultcategoryTrans
 

Variable Documentation

◆ kStereo

const QRegularExpression kStereo { R"(\b\(?[sS]tereo\)?\b)" }
static

Definition at line 18 of file eitfixup.cpp.

Referenced by EITFixUp::FixBellExpressVu(), EITFixUp::FixFI(), and EITFixUp::FixNL().

◆ kUKSpaceColonStart

const QRegularExpression kUKSpaceColonStart { R"(^[ |:]*)" }
static

Definition at line 19 of file eitfixup.cpp.

Referenced by EITFixUp::FixUK(), and EITFixUp::SetUKSubtitle().

◆ r2v

const QMap<QChar,quint16> r2v
static
Initial value:
= {
{'I' , 1}, {'V' , 5}, {'X' , 10}, {'L' , 50},
{'C' , 100}, {'D' , 500}, {'M' , 1000},
{QChar(0x399), 1},
}

Definition at line 25 of file eitfixup.cpp.

Referenced by EITFixUp::parseRoman().

◆ deCrewTitle

const QMap<QString,DBPerson::Role> deCrewTitle
static
Initial value:
{
{ "Regie", DBPerson::kDirector },
{ "Drehbuch", DBPerson::kWriter },
{ "Autor", DBPerson::kWriter },
}

Definition at line 1738 of file eitfixup.cpp.

Referenced by EITFixUp::FixPRO7().

◆ categoryTrans

const QMap<QString, NLMapResult> categoryTrans
static
Initial value:
= {
{ "Documentary", { "Documentaire", ProgramInfo::kCategoryNone } },
{ "News", { "Nieuws/actualiteiten", ProgramInfo::kCategoryNone } },
{ "Kids", { "Jeugd", ProgramInfo::kCategoryNone } },
{ "Show/game Show", { "Amusement", ProgramInfo::kCategoryTVShow } },
{ "Music/Ballet/Dance", { "Muziek", ProgramInfo::kCategoryNone } },
{ "News magazine", { "Informatief", ProgramInfo::kCategoryNone } },
{ "Movie", { "Film", ProgramInfo::kCategoryMovie } },
{ "Nature/animals/Environment", { "Natuur", ProgramInfo::kCategoryNone } },
{ "Movie - Adult", { "Erotiek", ProgramInfo::kCategoryNone } },
{ "Movie - Soap/melodrama/folkloric",
{ "Serie/soap", ProgramInfo::kCategorySeries } },
{ "Arts/Culture", { "Kunst/Cultuur", ProgramInfo::kCategoryNone } },
{ "Sports", { "Sport", ProgramInfo::kCategorySports } },
{ "Cartoons/Puppets", { "Animatie", ProgramInfo::kCategoryNone } },
{ "Movie - Comedy", { "Comedy", ProgramInfo::kCategorySeries } },
{ "Movie - Detective/Thriller", { "Misdaad", ProgramInfo::kCategoryNone } },
{ "Social/Spiritual Sciences", { "Religieus", ProgramInfo::kCategoryNone } },
}

Definition at line 1984 of file eitfixup.cpp.

Referenced by EITFixUp::FixNL().

DBPerson::kDirector
@ kDirector
Definition: programdata.h:32
ProgramInfo::kCategoryMovie
@ kCategoryMovie
Definition: programinfo.h:75
ProgramInfo::kCategoryTVShow
@ kCategoryTVShow
Definition: programinfo.h:76
ProgramInfo::kCategorySports
@ kCategorySports
Definition: programinfo.h:76
ProgramInfo::kCategoryNone
@ kCategoryNone
Definition: programinfo.h:75
ProgramInfo::kCategorySeries
@ kCategorySeries
Definition: programinfo.h:75
DBPerson::kWriter
@ kWriter
Definition: programdata.h:35