MythTV  master
Classes | Variables
eitfixup.cpp File Reference
#include <algorithm>
#include <array>
#include <QRegularExpression>
#include "libmythbase/mythlogging.h"
#include "libmythbase/programinfo.h"
#include "channelutil.h"
#include "eitfixup.h"
#include "mpeg/dishdescriptors.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 QRegularExpression kDotAtEnd { "\\.$" }
 
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 20 of file eitfixup.cpp.

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

◆ kUKSpaceColonStart

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

Definition at line 21 of file eitfixup.cpp.

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

◆ kDotAtEnd

const QRegularExpression kDotAtEnd { "\\.$" }
static

Definition at line 22 of file eitfixup.cpp.

Referenced by EITFixUp::FixDK(), and EITFixUp::FixGreekEIT().

◆ 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 24 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 1729 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 1970 of file eitfixup.cpp.

Referenced by EITFixUp::FixNL().

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