MythTV  master
Classes | Typedefs | Enumerations | Functions | Variables
videometadata.h File Reference
#include <utility>
#include <vector>
#include <QString>
#include <QDate>
#include <QCoreApplication>
#include "parentalcontrols.h"
#include "mythmetaexp.h"
#include "metadatacommon.h"
Include dependency graph for videometadata.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VideoMetadata
 

Typedefs

using MetadataMap = QHash< QString, QString >
 

Enumerations

enum  {
  BPLIST_NULL = 0x00, BPLIST_FALSE = 0x08, BPLIST_TRUE = 0x09, BPLIST_FILL = 0x0F,
  BPLIST_UINT = 0x10, BPLIST_REAL = 0x20, BPLIST_DATE = 0x30, BPLIST_DATA = 0x40,
  BPLIST_STRING = 0x50, BPLIST_UNICODE = 0x60, BPLIST_UID = 0x70, BPLIST_ARRAY = 0xA0,
  BPLIST_SET = 0xC0, BPLIST_DICT = 0xD0, MHLogError = 1, MHLogWarning = 2,
  MHLogNotifications = 4, MHLogScenes = 8, MHLogActions = 16, MHLogLinks = 32,
  MHLogDetail = 64, VIDEO_YEAR_DEFAULT = 1895, kHasMPAA = 0x1, kHasTPG = 0x2,
  kHasCanEnglish = 0x4, kHasCanFrench = 0x8, RET_ERROR = -1, RET_OK = 0,
  MPEG_PAT_PID = 0x0000, MPEG_CAT_PID = 0x0001, MPEG_TSDT_PID = 0x0002, DVB_NIT_PID = 0x0010,
  DVB_SDT_PID = 0x0011, DVB_EIT_PID = 0x0012, DVB_RST_PID = 0x0013, DVB_TDT_PID = 0x0014,
  DVB_DNLONG_EIT_PID = 0x0300, DVB_BVLONG_EIT_PID = 0x0441, PREMIERE_EIT_DIREKT_PID = 0x0b11, PREMIERE_EIT_SPORT_PID = 0x0b12,
  ATSC_PSIP_PID = 0x1ffb, SCTE_PSIP_PID = 0x1ffc, FREESAT_SI_PID = 0x0f01, FREESAT_EIT_PID = 0x0f02,
  FREESAT_ST_EIT_PID = 0x0f03, MPEG_NULL_PID = 0x1fff, OTV_EIT_TIT_PID_START = 0x30, OTV_EIT_TIT_PID_END = 0x37,
  OTV_EIT_SUP_PID_START = 0x40, OTV_EIT_SUP_PID_END = 0x47, kDisplayNone = 0x000, kDisplayNUVTeletextCaptions = 0x001,
  kDisplayTeletextCaptions = 0x002, kDisplayAVSubtitle = 0x004, kDisplayCC608 = 0x008, kDisplayCC708 = 0x010,
  kDisplayTextSubtitle = 0x020, kDisplayDVDButton = 0x040, kDisplayRawTextSubtitle = 0x080, kDisplayAllCaptions = 0x0FF,
  kDisplayTeletextMenu = 0x100, kDisplayAllTextCaptions, kExtractPTS, kExtractDTS,
  kStartTVNoFlags = 0x00, kStartTVInPlayList = 0x02, kStartTVByNetworkCommand = 0x04, kStartTVIgnoreBookmark = 0x08,
  kStartTVIgnoreProgStart = 0x10, kStartTVAllowLastPlayPos = 0x20, kArtworkFanTimeout = 300, kArtworkBannerTimeout = 50,
  kArtworkCoverTimeout = 50, VIDEO_NONE =0, VIDEO_PAL, VIDEO_NTSC,
  S_SEARCH, S_FOUND, S_ERROR, MiscError = 1,
  EOFIndicator, IndexError
}
 

Functions

META_PUBLIC void ClearMap (InfoMap &metadataMap)
 
META_PUBLIC bool operator== (const VideoMetadata &a, const VideoMetadata &b)
 
META_PUBLIC bool operator!= (const VideoMetadata &a, const VideoMetadata &b)
 

Variables

const QString VIDEO_SUBTITLE_DEFAULT = ""
 

Typedef Documentation

◆ MetadataMap

using MetadataMap = QHash<QString,QString>

Definition at line 22 of file videometadata.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
BPLIST_NULL 
BPLIST_FALSE 
BPLIST_TRUE 
BPLIST_FILL 
BPLIST_UINT 
BPLIST_REAL 
BPLIST_DATE 
BPLIST_DATA 
BPLIST_STRING 
BPLIST_UNICODE 
BPLIST_UID 
BPLIST_ARRAY 
BPLIST_SET 
BPLIST_DICT 
MHLogError 
MHLogWarning 
MHLogNotifications 
MHLogScenes 
MHLogActions 
MHLogLinks 
MHLogDetail 
VIDEO_YEAR_DEFAULT 
kHasMPAA 
kHasTPG 
kHasCanEnglish 
kHasCanFrench 
RET_ERROR 
RET_OK 
MPEG_PAT_PID 
MPEG_CAT_PID 
MPEG_TSDT_PID 
DVB_NIT_PID 
DVB_SDT_PID 
DVB_EIT_PID 
DVB_RST_PID 
DVB_TDT_PID 
DVB_DNLONG_EIT_PID 
DVB_BVLONG_EIT_PID 
PREMIERE_EIT_DIREKT_PID 
PREMIERE_EIT_SPORT_PID 
ATSC_PSIP_PID 
SCTE_PSIP_PID 
FREESAT_SI_PID 
FREESAT_EIT_PID 
FREESAT_ST_EIT_PID 
MPEG_NULL_PID 

The all-ones PID value 0x1FFF indicates a Null TS Packet introduced to maintain a constant bit rate of a TS Multiplex.

OTV_EIT_TIT_PID_START 
OTV_EIT_TIT_PID_END 
OTV_EIT_SUP_PID_START 
OTV_EIT_SUP_PID_END 
kDisplayNone 
kDisplayNUVTeletextCaptions 
kDisplayTeletextCaptions 
kDisplayAVSubtitle 
kDisplayCC608 
kDisplayCC708 
kDisplayTextSubtitle 
kDisplayDVDButton 
kDisplayRawTextSubtitle 
kDisplayAllCaptions 
kDisplayTeletextMenu 
kDisplayAllTextCaptions 
kExtractPTS 
kExtractDTS 
kStartTVNoFlags 
kStartTVInPlayList 
kStartTVByNetworkCommand 
kStartTVIgnoreBookmark 
kStartTVIgnoreProgStart 
kStartTVAllowLastPlayPos 
kArtworkFanTimeout 
kArtworkBannerTimeout 
kArtworkCoverTimeout 
VIDEO_NONE 
VIDEO_PAL 
VIDEO_NTSC 
S_SEARCH 
S_FOUND 
S_ERROR 
MiscError 
EOFIndicator 
IndexError 

Definition at line 18 of file videometadata.h.

Function Documentation

◆ ClearMap()

META_PUBLIC void ClearMap ( InfoMap metadataMap)

Definition at line 1285 of file videometadata.cpp.

Referenced by VideoDialog::UpdateText().

◆ operator==()

META_PUBLIC bool operator== ( const VideoMetadata a,
const VideoMetadata b 
)

Definition at line 1812 of file videometadata.cpp.

◆ operator!=()

META_PUBLIC bool operator!= ( const VideoMetadata a,
const VideoMetadata b 
)

Definition at line 1817 of file videometadata.cpp.

Variable Documentation

◆ VIDEO_SUBTITLE_DEFAULT

const QString VIDEO_SUBTITLE_DEFAULT = ""

Definition at line 20 of file videometadata.h.