Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
DatabaseUtils.h File Reference
#include "media/MediaType.h"
#include <map>
#include <memory>
#include <set>
#include <string>
#include <vector>

Classes

class  DatabaseUtils
 

Namespaces

namespace  dbiplus
 

Typedefs

typedef std::set< FieldFields
 
typedef std::vector< FieldFieldList
 
typedef std::map< Field, CVariantDatabaseResult
 
typedef std::vector< DatabaseResultDatabaseResults
 

Enumerations

enum  Field {
  FieldUnknown = -1 , FieldNone = 0 , FieldSort , FieldSortSpecial ,
  FieldLabel , FieldFolder , FieldMediaType , FieldRow ,
  FieldSize , FieldDate , FieldDriveType , FieldStartOffset ,
  FieldEndOffset , FieldProgramCount , FieldBitrate , FieldListeners ,
  FieldPlaylist , FieldVirtualFolder , FieldRandom , FieldDateTaken ,
  FieldAudioCount , FieldSubtitleCount , FieldInstallDate , FieldLastUpdated ,
  FieldLastUsed , FieldId , FieldGenre , FieldAlbum ,
  FieldDiscTitle , FieldIsBoxset , FieldTotalDiscs , FieldOrigYear ,
  FieldOrigDate , FieldArtist , FieldArtistSort , FieldAlbumArtist ,
  FieldTitle , FieldSortTitle , FieldOriginalTitle , FieldYear ,
  FieldTime , FieldTrackNumber , FieldFilename , FieldPath ,
  FieldPlaycount , FieldLastPlayed , FieldInProgress , FieldRating ,
  FieldComment , FieldRole , FieldDateAdded , FieldDateModified ,
  FieldDateNew , FieldTvShowTitle , FieldPlot , FieldPlotOutline ,
  FieldTagline , FieldTvShowStatus , FieldVotes , FieldDirector ,
  FieldActor , FieldStudio , FieldCountry , FieldMPAA ,
  FieldTop250 , FieldSet , FieldNumberOfEpisodes , FieldNumberOfWatchedEpisodes ,
  FieldWriter , FieldAirDate , FieldEpisodeNumber , FieldUniqueId ,
  FieldSeason , FieldEpisodeNumberSpecialSort , FieldSeasonSpecialSort , FieldReview ,
  FieldThemes , FieldMoods , FieldStyles , FieldAlbumType ,
  FieldMusicLabel , FieldCompilation , FieldSource , FieldTrailer ,
  FieldVideoResolution , FieldVideoAspectRatio , FieldVideoCodec , FieldAudioChannels ,
  FieldAudioCodec , FieldAudioLanguage , FieldSubtitleLanguage , FieldProductionCode ,
  FieldTag , FieldVideoAssetTitle , FieldChannelName , FieldChannelNumber ,
  FieldInstruments , FieldBiography , FieldArtistType , FieldGender ,
  FieldDisambiguation , FieldBorn , FieldBandFormed , FieldDisbanded ,
  FieldDied , FieldStereoMode , FieldUserRating , FieldRelevance ,
  FieldClientChannelOrder , FieldBPM , FieldMusicBitRate , FieldSampleRate ,
  FieldNoOfChannels , FieldAlbumStatus , FieldAlbumDuration , FieldHdrType ,
  FieldProvider , FieldUserPreference , FieldMax
}
 
enum  DatabaseQueryPart { DatabaseQueryPartSelect , DatabaseQueryPartWhere , DatabaseQueryPartOrderBy }
 

Typedef Documentation

◆ DatabaseResult

typedef std::map<Field, CVariant> DatabaseResult

◆ DatabaseResults

typedef std::vector<DatabaseResult> DatabaseResults

◆ FieldList

typedef std::vector<Field> FieldList

◆ Fields

typedef std::set<Field> Fields

Enumeration Type Documentation

◆ DatabaseQueryPart

Enumerator
DatabaseQueryPartSelect 
DatabaseQueryPartWhere 
DatabaseQueryPartOrderBy 

◆ Field

enum Field
Enumerator
FieldUnknown 
FieldNone 
FieldSort 
FieldSortSpecial 
FieldLabel 
FieldFolder 
FieldMediaType 
FieldRow 
FieldSize 
FieldDate 
FieldDriveType 
FieldStartOffset 
FieldEndOffset 
FieldProgramCount 
FieldBitrate 
FieldListeners 
FieldPlaylist 
FieldVirtualFolder 
FieldRandom 
FieldDateTaken 
FieldAudioCount 
FieldSubtitleCount 
FieldInstallDate 
FieldLastUpdated 
FieldLastUsed 
FieldId 
FieldGenre 
FieldAlbum 
FieldDiscTitle 
FieldIsBoxset 
FieldTotalDiscs 
FieldOrigYear 
FieldOrigDate 
FieldArtist 
FieldArtistSort 
FieldAlbumArtist 
FieldTitle 
FieldSortTitle 
FieldOriginalTitle 
FieldYear 
FieldTime 
FieldTrackNumber 
FieldFilename 
FieldPath 
FieldPlaycount 
FieldLastPlayed 
FieldInProgress 
FieldRating 
FieldComment 
FieldRole 
FieldDateAdded 
FieldDateModified 
FieldDateNew 
FieldTvShowTitle 
FieldPlot 
FieldPlotOutline 
FieldTagline 
FieldTvShowStatus 
FieldVotes 
FieldDirector 
FieldActor 
FieldStudio 
FieldCountry 
FieldMPAA 
FieldTop250 
FieldSet 
FieldNumberOfEpisodes 
FieldNumberOfWatchedEpisodes 
FieldWriter 
FieldAirDate 
FieldEpisodeNumber 
FieldUniqueId 
FieldSeason 
FieldEpisodeNumberSpecialSort 
FieldSeasonSpecialSort 
FieldReview 
FieldThemes 
FieldMoods 
FieldStyles 
FieldAlbumType 
FieldMusicLabel 
FieldCompilation 
FieldSource 
FieldTrailer 
FieldVideoResolution 
FieldVideoAspectRatio 
FieldVideoCodec 
FieldAudioChannels 
FieldAudioCodec 
FieldAudioLanguage 
FieldSubtitleLanguage 
FieldProductionCode 
FieldTag 
FieldVideoAssetTitle 
FieldChannelName 
FieldChannelNumber 
FieldInstruments 
FieldBiography 
FieldArtistType 
FieldGender 
FieldDisambiguation 
FieldBorn 
FieldBandFormed 
FieldDisbanded 
FieldDied 
FieldStereoMode 
FieldUserRating 
FieldRelevance 
FieldClientChannelOrder 
FieldBPM 
FieldMusicBitRate 
FieldSampleRate 
FieldNoOfChannels 
FieldAlbumStatus 
FieldAlbumDuration 
FieldHdrType 
FieldProvider 
FieldUserPreference 
FieldMax