MythTV  master
Variables
eitfixup.cpp File Reference
#include <algorithm>
#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.

Variables

const QString seasonStr = "\\b(?:Season|Series|S)\\s*(\\d+)\\s*,?"
 
const QString longEp = "\\b(?:Ep|Episode)\\s*(\\d+)\\s*(?:(?:/|of)\\s*(\\d*))?"
 
const QString longSeasEp = QString("\\(?(?:%1)?\\s*%2").arg(seasonStr, longEp)
 
const QString longContext = QString("\\(*%1\\s*\\)?\\s*\\.?").arg(longSeasEp)
 
const QString shortEp = "(\\d+)\\s*(?:/|of)\\s*(\\d+)"
 
const QString shortContext
 

Variable Documentation

◆ seasonStr

const QString seasonStr = "\\b(?:Season|Series|S)\\s*(\\d+)\\s*,?"

Definition at line 21 of file eitfixup.cpp.

◆ longEp

const QString longEp = "\\b(?:Ep|Episode)\\s*(\\d+)\\s*(?:(?:/|of)\\s*(\\d*))?"

Definition at line 25 of file eitfixup.cpp.

◆ longSeasEp

const QString longSeasEp = QString("\\(?(?:%1)?\\s*%2").arg(seasonStr, longEp)

Definition at line 29 of file eitfixup.cpp.

◆ longContext

const QString longContext = QString("\\(*%1\\s*\\)?\\s*\\.?").arg(longSeasEp)

Definition at line 33 of file eitfixup.cpp.

◆ shortEp

const QString shortEp = "(\\d+)\\s*(?:/|of)\\s*(\\d+)"

Definition at line 37 of file eitfixup.cpp.

◆ shortContext

const QString shortContext
Initial value:
=
QString("(?:^|\\.)(\\s*\\(*\\s*%1[\\s)]*(?:[).:]|$))").arg(shortEp)
const QString shortEp
Definition: eitfixup.cpp:37

Definition at line 44 of file eitfixup.cpp.