Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CVideoDatabase Member List

This is the complete list of members for CVideoDatabase, including all inherited members.

AddActor(const std::string &strActor, const std::string &thumbURL, const std::string &thumb="")CVideoDatabaseprotected
AddActorLinksToItem(int mediaId, const std::string &mediaType, const std::string &field, const std::vector< std::string > &values)CVideoDatabaseprotected
AddBookMarkForEpisode(const CVideoInfoTag &tag, const CBookmark &bookmark)CVideoDatabase
AddBookMarkToFile(const std::string &strFilenameAndPath, const CBookmark &bookmark, CBookmark::EType type=CBookmark::STANDARD)CVideoDatabase
AddCast(int mediaId, const char *mediaType, const std::vector< SActorInfo > &cast)CVideoDatabaseprotected
AddFile(const std::string &url, const std::string &parentPath="", const CDateTime &dateAdded=CDateTime(), int playcount=0, const CDateTime &lastPlayed=CDateTime())CVideoDatabase
AddFile(const CFileItem &item)CVideoDatabase
AddFile(const CVideoInfoTag &details, const std::string &parentPath="")CVideoDatabase
AddLinksToItem(int mediaId, const std::string &mediaType, const std::string &field, const std::vector< std::string > &values)CVideoDatabaseprotected
AddLinkToActor(int mediaId, const char *mediaType, int actorId, const std::string &role, int order)CVideoDatabaseprotected
AddNewEpisode(int idShow, CVideoInfoTag &details)CVideoDatabase
AddNewMovie(CVideoInfoTag &details)CVideoDatabaseprotected
AddNewMusicVideo(CVideoInfoTag &details)CVideoDatabaseprotected
AddPath(const std::string &strPath, const std::string &parentPath="", const CDateTime &dateAdded=CDateTime())CVideoDatabase
AddPathToTvShow(int idShow, const std::string &path, const std::string &parentPath, const CDateTime &dateAdded=CDateTime())CVideoDatabaseprotected
AddRatings(int mediaId, const char *mediaType, const RatingMap &values, const std::string &defaultRating)CVideoDatabaseprotected
AddSeason(int showID, int season, const std::string &name="")CVideoDatabase
AddSet(const std::string &strSet, const std::string &strOverview="", const bool updateOverview=true)CVideoDatabase
AddTag(const std::string &tag)CVideoDatabase
AddTagToItem(int idItem, int idTag, const std::string &type)CVideoDatabase
AddToLinkTable(int mediaId, const std::string &mediaType, const std::string &table, int valueId, const char *foreignKey=NULL)CVideoDatabaseprotected
AddToTable(const std::string &table, const std::string &firstField, const std::string &secondField, const std::string &value)CVideoDatabaseprotected
AddTvShow()CVideoDatabaseprotected
AddUniqueIDs(int mediaId, const char *mediaType, const CVideoInfoTag &details)CVideoDatabaseprotected
AddVideoAsset(VideoDbContentType itemType, int dbId, int idVideoAsset, VideoAssetType videoAssetType, CFileItem &item)CVideoDatabase
AddVideoVersionType(const std::string &typeVideoVersion, VideoAssetTypeOwner owner, VideoAssetType assetType)CVideoDatabase
BeginMultipleExecute()CDatabase
BeginTransaction()CDatabase
BuildSQL(const std::string &strBaseDir, const std::string &strQuery, Filter &filter, std::string &strSQL, CDbUrl &dbUrl)CDatabasevirtual
BuildSQL(const std::string &strBaseDir, const std::string &strQuery, Filter &filter, std::string &strSQL, CDbUrl &dbUrl, SortDescription &sorting)CDatabasevirtual
BuildSQL(const std::string &strQuery, const Filter &filter, std::string &strSQL) constCDatabaseprotected
CDatabase()CDatabase
CleanDatabase(CGUIDialogProgressBarHandle *handle=NULL, const std::set< int > &paths=std::set< int >(), bool showProgress=true)CVideoDatabase
ClearBookMarkOfFile(const std::string &strFilenameAndPath, CBookmark &bookmark, CBookmark::EType type=CBookmark::STANDARD)CVideoDatabase
ClearBookMarksOfFile(const std::string &strFilenameAndPath, CBookmark::EType type=CBookmark::STANDARD)CVideoDatabase
ClearBookMarksOfFile(int idFile, CBookmark::EType type=CBookmark::STANDARD)CVideoDatabase
ClearMovieSet(int idMovie)CVideoDatabase
Close()CDatabasevirtual
CommitDeleteQueries()CDatabase
CommitInsertQueries()CDatabase
CommitMultipleExecute()CDatabase
CommitTransaction() overrideCVideoDatabasevirtual
Compress(bool bForce=true)CDatabase
Connect(const std::string &dbName, const DatabaseSettings &db, bool create)CDatabase
ConvertVideoToVersion(VideoDbContentType itemType, int dbIdSource, int dbIdTarget, int idVideoVersion, VideoAssetType assetType)CVideoDatabase
CopyDB(const std::string &latestDb)CDatabase
CreateDatabase()CDatabaseprotected
CVideoDatabase(void)CVideoDatabase
DeleteBookMarkForEpisode(const CVideoInfoTag &tag)CVideoDatabase
DeleteDetailsForTvShow(int idTvShow)CVideoDatabase
DeleteEpisode(int idEpisode, bool bKeepId=false)CVideoDatabase
DeleteMovie(int idMovie, DeleteMovieCascadeAction action=DeleteMovieCascadeAction::ALL_ASSETS, DeleteMovieHashAction hashAction=DeleteMovieHashAction::HASH_DELETE)CVideoDatabase
DeleteMusicVideo(int idMusicVideo, bool bKeepId=false)CVideoDatabase
DeleteResumeBookMark(const CFileItem &item)CVideoDatabase
DeleteSeason(int idSeason, bool bKeepId=false)CVideoDatabase
DeleteSet(int idSet)CVideoDatabase
DeleteStreamDetails(int idFile)CVideoDatabase
DeleteTag(int idTag, VideoDbContentType mediaType)CVideoDatabase
DeleteTvShow(int idTvShow, bool bKeepId=false)CVideoDatabase
DeleteTvShow(const std::string &strPath)CVideoDatabase
DeleteValues(const std::string &strTable, const Filter &filter=Filter())CDatabase
DeleteVideoAsset(int idFile)CVideoDatabase
DropAnalytics()CDatabase
DumpToDummyFiles(const std::string &path)CVideoDatabase
EraseAllForFile(const std::string &fileNameAndPath)CVideoDatabase
EraseAllForPath(const std::string &path)CVideoDatabase
EraseAllVideoSettings()CVideoDatabase
EraseAllVideoSettings(const std::string &path)CVideoDatabase
EraseVideoSettings(const CFileItem &item)CVideoDatabase
ExecuteQuery(const std::string &strQuery)CDatabase
ExportActorThumbs(const std::string &path, const CVideoInfoTag &tag, bool singleFiles, bool overwrite=false)CVideoDatabase
ExportToXML(const std::string &path, bool singleFile=true, bool images=false, bool actorThumbs=false, bool overwrite=false)CVideoDatabase
GetActorsNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetAndFillFileId(CVideoInfoTag &details)CVideoDatabaseprotected
GetArtForAsset(int assetId, ArtFallbackOptions fallback, std::map< std::string, std::string > &art)CVideoDatabase
GetArtForItem(int mediaId, const MediaType &mediaType, std::map< std::string, std::string > &art)CVideoDatabase
GetArtForItem(int mediaId, const MediaType &mediaType, const std::string &artType)CVideoDatabase
GetArtTypes(const MediaType &mediaType, std::vector< std::string > &artTypes)CVideoDatabase
GetAssetsForVideo(VideoDbContentType itemType, int mediaId, VideoAssetType assetType, CFileItemList &items)CVideoDatabase
GetAvailableArtForItem(int mediaId, const MediaType &mediaType, const std::string &artType)CVideoDatabase
GetAvailableArtTypesForItem(int mediaId, const MediaType &mediaType)CVideoDatabase
GetBasicDetailsForEpisode(std::unique_ptr< dbiplus::Dataset > &pDS)CVideoDatabaseprotected
GetBasicDetailsForEpisode(const dbiplus::sql_record *const record)CVideoDatabaseprotected
GetBookMarkForEpisode(const CVideoInfoTag &tag, CBookmark &bookmark)CVideoDatabase
GetBookMarksForFile(const std::string &strFilenameAndPath, VECBOOKMARKS &bookmarks, CBookmark::EType type=CBookmark::STANDARD, bool bAppend=false, long partNumber=0)CVideoDatabase
GetCast(int media_id, const std::string &media_type, std::vector< SActorInfo > &cast)CVideoDatabaseprotected
GetContentForPath(const std::string &strPath)CVideoDatabase
GetCountriesNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetCountryById(int id)CVideoDatabase
GetDBVersion()CDatabaseprotected
GetDefaultVersionForVideo(VideoDbContentType itemType, int mediaId, CFileItem &item)CVideoDatabase
GetDefaultVideoVersion(VideoDbContentType itemType, int dbId, CFileItem &item)CVideoDatabase
GetDeleteQueriesCount()CDatabase
GetDetailsByTypeAndId(CFileItem &item, VideoDbContentType type, int id)CVideoDatabase
GetDetailsByTypeAndId(VideoDbContentType type, int id)CVideoDatabase
GetDetailsForEpisode(std::unique_ptr< dbiplus::Dataset > &pDS, int getDetails=VideoDbDetailsNone)CVideoDatabaseprotected
GetDetailsForEpisode(const dbiplus::sql_record *const record, int getDetails=VideoDbDetailsNone)CVideoDatabaseprotected
GetDetailsForMovie(std::unique_ptr< dbiplus::Dataset > &pDS, int getDetails=VideoDbDetailsNone)CVideoDatabaseprotected
GetDetailsForMovie(const dbiplus::sql_record *const record, int getDetails=VideoDbDetailsNone)CVideoDatabaseprotected
GetDetailsForMusicVideo(std::unique_ptr< dbiplus::Dataset > &pDS, int getDetails=VideoDbDetailsNone)CVideoDatabaseprotected
GetDetailsForMusicVideo(const dbiplus::sql_record *const record, int getDetails=VideoDbDetailsNone)CVideoDatabaseprotected
GetDetailsForTvShow(std::unique_ptr< dbiplus::Dataset > &pDS, int getDetails=VideoDbDetailsNone, CFileItem *item=NULL)CVideoDatabaseprotected
GetDetailsForTvShow(const dbiplus::sql_record *const record, int getDetails=VideoDbDetailsNone, CFileItem *item=NULL)CVideoDatabaseprotected
GetDetailsFromDB(std::unique_ptr< dbiplus::Dataset > &pDS, int min, int max, const SDbTableOffsets *offsets, CVideoInfoTag &details, int idxOffset=2)CVideoDatabaseprotected
GetDetailsFromDB(const dbiplus::sql_record *const record, int min, int max, const SDbTableOffsets *offsets, CVideoInfoTag &details, int idxOffset=2)CVideoDatabaseprotected
GetDirectorsNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetEpisodeBasicInfo(const std::string &strFilenameAndPath, CVideoInfoTag &details, int idEpisode=-1)CVideoDatabase
GetEpisodeId(const std::string &strFilenameAndPath, int idEpisode=-1, int idSeason=-1)CVideoDatabase
GetEpisodeInfo(const std::string &strFilenameAndPath, CVideoInfoTag &details, int idEpisode=-1, int getDetails=VideoDbDetailsAll)CVideoDatabase
GetEpisodesByActor(const std::string &strActor, CFileItemList &items)CVideoDatabase
GetEpisodesByFile(const std::string &strFilenameAndPath, std::vector< CVideoInfoTag > &episodes)CVideoDatabase
GetEpisodesByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetEpisodesByPlot(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetEpisodesByWhere(const std::string &strBaseDir, const Filter &filter, CFileItemList &items, bool appendFullShowPath=true, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetEpisodesNav(const std::string &strBaseDir, CFileItemList &items, int idGenre=-1, int idYear=-1, int idActor=-1, int idDirector=-1, int idShow=-1, int idSeason=-1, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetFileBasePathById(int idFile)CVideoDatabase
GetFileId(const CFileItem &item)CVideoDatabaseprotected
GetFileId(const CVideoInfoTag &details)CVideoDatabaseprotected
GetFileId(const std::string &url)CVideoDatabaseprotected
GetFileIdByMovie(int idMovie)CVideoDatabase
GetFileInfo(const std::string &strFilenameAndPath, CVideoInfoTag &details, int idFile=-1)CVideoDatabase
GetFilePathById(int idMovie, std::string &filePath, VideoDbContentType iType)CVideoDatabase
GetFilter(CDbUrl &videoUrl, Filter &filter, SortDescription &sorting) overrideCVideoDatabasevirtual
GetGenreById(int id)CVideoDatabase
GetGenresNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetInProgressTvShowsNav(const std::string &strBaseDir, CFileItemList &items, unsigned int limit=0, int getDetails=VideoDbDetailsNone)CVideoDatabase
GetInsertQueriesCount()CDatabase
GetItemById(const std::string &itemType, int id)CVideoDatabase
GetItems(const std::string &strBaseDir, CFileItemList &items, const Filter &filter=Filter(), const SortDescription &sortDescription=SortDescription())CVideoDatabase
GetItems(const std::string &strBaseDir, const std::string &mediaType, const std::string &itemType, CFileItemList &items, const Filter &filter=Filter(), const SortDescription &sortDescription=SortDescription())CVideoDatabase
GetItems(const std::string &strBaseDir, VideoDbContentType mediaType, const std::string &itemType, CFileItemList &items, const Filter &filter=Filter(), const SortDescription &sortDescription=SortDescription())CVideoDatabase
GetItemsForPath(const std::string &content, const std::string &path, CFileItemList &items)CVideoDatabase
GetLastPlayed(const std::string &strFilenameAndPath)CVideoDatabase
GetLinksToTvShow(int idMovie, std::vector< int > &ids)CVideoDatabase
GetMatchingMusicVideo(const std::string &strArtist, const std::string &strAlbum="", const std::string &strTitle="")CVideoDatabase
GetMatchingTvShow(const CVideoInfoTag &show)CVideoDatabaseprotected
GetMovieActorsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMovieCountriesByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMovieDirectorsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMovieGenresByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMovieId(const std::string &strFilenameAndPath)CVideoDatabase
GetMovieInfo(const std::string &strFilenameAndPath, CVideoInfoTag &details, int idMovie=-1, int idVersion=-1, int getDetails=VideoDbDetailsAll)CVideoDatabase
GetMoviesByActor(const std::string &strActor, CFileItemList &items)CVideoDatabase
GetMoviesByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMoviesByPlot(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMoviesByWhere(const std::string &strBaseDir, const Filter &filter, CFileItemList &items, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetMoviesNav(const std::string &strBaseDir, CFileItemList &items, int idGenre=-1, int idYear=-1, int idActor=-1, int idDirector=-1, int idStudio=-1, int idCountry=-1, int idSet=-1, int idTag=-1, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetMovieTitle(int idMovie)CVideoDatabase
GetMusicVideoAlbumById(int id)CVideoDatabase
GetMusicVideoAlbumsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMusicVideoAlbumsNav(const std::string &strBaseDir, CFileItemList &items, int idArtist, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetMusicVideoArtistsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMusicVideoDirectorsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMusicVideoGenresByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMusicVideoId(const std::string &strFilenameAndPath)CVideoDatabaseprotected
GetMusicVideoInfo(const std::string &strFilenameAndPath, CVideoInfoTag &details, int idMVideo=-1, int getDetails=VideoDbDetailsAll)CVideoDatabase
GetMusicVideosByAlbum(const std::string &strAlbum, CFileItemList &items)CVideoDatabase
GetMusicVideosByArtist(const std::string &strArtist, CFileItemList &items)CVideoDatabase
GetMusicVideosByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetMusicVideosByWhere(const std::string &baseDir, const Filter &filter, CFileItemList &items, bool checkLocks=true, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetMusicVideosNav(const std::string &strBaseDir, CFileItemList &items, int idGenre=-1, int idYear=-1, int idArtist=-1, int idDirector=-1, int idStudio=-1, int idAlbum=-1, int idTag=-1, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetNavCommon(const std::string &strBaseDir, CFileItemList &items, const char *type, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabaseprotected
GetPathHash(const std::string &path, std::string &hash)CVideoDatabase
GetPathId(const std::string &strPath)CVideoDatabase
GetPaths(std::set< std::string > &paths)CVideoDatabase
GetPathsForTvShow(int idShow, std::set< int > &paths)CVideoDatabase
GetPathsLinkedToTvShow(int idShow, std::vector< std::string > &paths)CVideoDatabase
GetPeopleNav(const std::string &strBaseDir, CFileItemList &items, const char *type, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabaseprotected
GetPersonById(int id)CVideoDatabase
GetPlayCount(const CFileItem &item)CVideoDatabase
GetPlayCount(const std::string &strFilenameAndPath)CVideoDatabase
GetPlayCounts(const std::string &path, CFileItemList &items)CVideoDatabase
GetRandomMusicVideoIDs(const std::string &strWhere, std::vector< std::pair< int, int > > &songIDs)CVideoDatabase
GetRatings(int media_id, const std::string &media_type, RatingMap &ratings)CVideoDatabaseprotected
GetRecentlyAddedEpisodesNav(const std::string &strBaseDir, CFileItemList &items, unsigned int limit=0, int getDetails=VideoDbDetailsNone)CVideoDatabase
GetRecentlyAddedMoviesNav(const std::string &strBaseDir, CFileItemList &items, unsigned int limit=0, int getDetails=VideoDbDetailsNone)CVideoDatabase
GetRecentlyAddedMusicVideosNav(const std::string &strBaseDir, CFileItemList &items, unsigned int limit=0, int getDetails=VideoDbDetailsNone)CVideoDatabase
GetResumeBookMark(const std::string &strFilenameAndPath, CBookmark &bookmark)CVideoDatabase
GetResumePoint(CVideoInfoTag &tag)CVideoDatabase
GetSameVideoItems(const CFileItem &item, CFileItemList &items)CVideoDatabase
GetScraperForPath(const std::string &strPath)CVideoDatabase
GetScraperForPath(const std::string &strPath, KODI::VIDEO::SScanSettings &settings)CVideoDatabase
GetScraperForPath(const std::string &strPath, KODI::VIDEO::SScanSettings &settings, bool &foundDirectly)CVideoDatabase
GetSeasonForEpisode(int idEpisode)CVideoDatabase
GetSeasonId(int idShow, int season)CVideoDatabase
GetSeasonInfo(const std::string &path, int season, CVideoInfoTag &details, CFileItem *item)CVideoDatabase
GetSeasonInfo(int idSeason, CVideoInfoTag &details, CFileItem *item)CVideoDatabase
GetSeasonInfo(int idSeason, CVideoInfoTag &details, bool allDetails=true)CVideoDatabase
GetSeasonsByWhere(const std::string &strBaseDir, const Filter &filter, CFileItemList &items, bool appendFullShowPath=true, const SortDescription &sortDescription=SortDescription())CVideoDatabase
GetSeasonsNav(const std::string &strBaseDir, CFileItemList &items, int idActor=-1, int idDirector=-1, int idGenre=-1, int idYear=-1, int idShow=-1, bool getLinkedMovies=true)CVideoDatabase
GetSetById(int id)CVideoDatabase
GetSetByNameLike(const std::string &nameLike) constCVideoDatabase
GetSetInfo(int idSet, CVideoInfoTag &details, CFileItem *item=nullptr)CVideoDatabase
GetSetsByWhere(const std::string &strBaseDir, const Filter &filter, CFileItemList &items, bool ignoreSingleMovieSets=false)CVideoDatabase
GetSetsNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool ignoreSingleMovieSets=false)CVideoDatabase
GetSingleValue(const std::string &strTable, const std::string &strColumn, const std::string &strWhereClause=std::string(), const std::string &strOrderBy=std::string()) constCDatabase
GetSingleValue(const std::string &query) constCDatabase
GetSingleValue(const std::string &query, const std::unique_ptr< dbiplus::Dataset > &ds) constCDatabase
GetSingleValueInt(const std::string &strTable, const std::string &strColumn, const std::string &strWhereClause=std::string(), const std::string &strOrderBy=std::string()) constCDatabase
GetSingleValueInt(const std::string &query) constCDatabase
GetSingleValueInt(const std::string &query, const std::unique_ptr< dbiplus::Dataset > &ds) constCDatabase
GetSortedVideos(const MediaType &mediaType, const std::string &strBaseDir, const SortDescription &sortDescription, CFileItemList &items, const Filter &filter=Filter())CVideoDatabase
GetSourcePath(const std::string &path, std::string &sourcePath)CVideoDatabase
GetSourcePath(const std::string &path, std::string &sourcePath, KODI::VIDEO::SScanSettings &settings)CVideoDatabase
GetStackTimes(const std::string &filePath, std::vector< uint64_t > &times)CVideoDatabase
GetStreamDetails(CFileItem &item)CVideoDatabase
GetStreamDetails(CVideoInfoTag &tag)CVideoDatabase
GetStreamDetails(const std::string &filenameAndPath, CStreamDetails &details)CVideoDatabase
GetStudioById(int id)CVideoDatabase
GetStudiosNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetSubPaths(const std::string &basepath, std::vector< std::pair< int, std::string > > &subpaths)CVideoDatabase
GetTagById(int id)CVideoDatabase
GetTags(int media_id, const std::string &media_type, std::vector< std::string > &tags)CVideoDatabaseprotected
GetTagsNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetTvShowForEpisode(int idEpisode)CVideoDatabase
GetTvShowGenresByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetTvShowId(const std::string &strPath)CVideoDatabase
GetTvShowInfo(const std::string &strPath, CVideoInfoTag &details, int idTvShow=-1, CFileItem *item=NULL, int getDetails=VideoDbDetailsAll)CVideoDatabase
GetTvShowNamedSeasonById(int tvshowId, int seasonId)CVideoDatabase
GetTvShowNamedSeasons(int showId, std::map< int, std::string > &seasons)CVideoDatabase
GetTvShowsActorsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetTvShowsByActor(const std::string &strActor, CFileItemList &items)CVideoDatabase
GetTvShowsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetTvShowsByWhere(const std::string &strBaseDir, const Filter &filter, CFileItemList &items, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetTvShowsDirectorsByName(const std::string &strSearch, CFileItemList &items)CVideoDatabase
GetTvShowSeasonArt(int mediaId, std::map< int, std::map< std::string, std::string > > &seasonArt)CVideoDatabase
GetTvShowSeasons(int showId, std::map< int, int > &seasons)CVideoDatabase
GetTvShowsNav(const std::string &strBaseDir, CFileItemList &items, int idGenre=-1, int idYear=-1, int idActor=-1, int idDirector=-1, int idStudio=-1, int idTag=-1, const SortDescription &sortDescription=SortDescription(), int getDetails=VideoDbDetailsNone)CVideoDatabase
GetTvShowTitleById(int id)CVideoDatabase
GetUniqueIDs(int media_id, const std::string &media_type, CVideoInfoTag &details)CVideoDatabaseprotected
GetUseAllExternalAudioForVideo(const std::string &videoPath)CVideoDatabase
GetUsedImages(const std::vector< std::string > &imagesToCheck)CVideoDatabase
GetValueString(const CVideoInfoTag &details, int min, int max, const SDbTableOffsets *offsets) constCVideoDatabaseprotected
GetVideoItemTitle(VideoDbContentType itemType, int dbId)CVideoDatabase
GetVideoSettings(int idFile, CVideoSettings &settings)CVideoDatabase
GetVideoSettings(const CFileItem &item, CVideoSettings &settings)CVideoDatabase
GetVideoSettings(const std::string &filePath, CVideoSettings &settings)CVideoDatabase
GetVideoVersionById(int id)CVideoDatabase
GetVideoVersionInfo(const std::string &filenameAndPath)CVideoDatabase
GetVideoVersions(VideoDbContentType itemType, int dbId, CFileItemList &items, VideoAssetType videoAssetType)CVideoDatabase
GetVideoVersionsNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter())CVideoDatabase
GetVideoVersionTypes(VideoDbContentType idContent, VideoAssetType asset, CFileItemList &items)CVideoDatabase
GetWritersNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter(), bool countOnly=false)CVideoDatabase
GetYearsNav(const std::string &strBaseDir, CFileItemList &items, VideoDbContentType idContent=VideoDbContentType::UNKNOWN, const Filter &filter=Filter())CVideoDatabase
HasArtForItem(int mediaId, const MediaType &mediaType)CVideoDatabase
HasContent()CVideoDatabase
HasContent(VideoDbContentType type)CVideoDatabase
HasEpisodeInfo(const std::string &strFilenameAndPath)CVideoDatabase
HasMovieInfo(const std::string &strFilenameAndPath)CVideoDatabase
HasMusicVideoInfo(const std::string &strFilenameAndPath)CVideoDatabase
HasSets() constCVideoDatabase
HasTvShowInfo(const std::string &strFilenameAndPath)CVideoDatabase
ImportArtFromXML(const TiXmlNode *node, std::map< std::string, std::string > &artwork)CVideoDatabase
ImportFromXML(const std::string &path)CVideoDatabase
IncrementPlayCount(const CFileItem &item)CVideoDatabase
InitializeVideoVersionTypeTable(int schemaVersion)CVideoDatabase
Interrupt()CDatabase
IsDefaultVideoVersion(int idFile)CVideoDatabase
IsLinkedToTvshow(int idMovie)CVideoDatabase
IsOpen()CDatabase
LinkMovieToTvshow(int idMovie, int idShow, bool bRemove)CVideoDatabase
LoadVideoInfo(const std::string &strFilenameAndPath, CVideoInfoTag &details, int getDetails=VideoDbDetailsAll)CVideoDatabase
m_pDBCDatabaseprotected
m_pDSCDatabaseprotected
m_pDS2CDatabaseprotected
m_profileManagerCDatabaseprotected
m_sqliteCDatabaseprotected
Open() overrideCVideoDatabasevirtual
CDatabase::Open(const DatabaseSettings &db)CDatabase
PrepareSQL(std::string strStmt,...) constCDatabase
QueueDeleteQuery(const std::string &strQuery)CDatabase
QueueInsertQuery(const std::string &strQuery)CDatabase
RemoveArtForItem(int mediaId, const MediaType &mediaType, const std::string &artType)CVideoDatabase
RemoveArtForItem(int mediaId, const MediaType &mediaType, const std::set< std::string > &artTypes)CVideoDatabase
RemoveContentForPath(const std::string &strPath, CGUIDialogProgress *progress=NULL)CVideoDatabase
RemoveFromLinkTable(int mediaId, const std::string &mediaType, const std::string &table, int valueId, const char *foreignKey=NULL)CVideoDatabaseprotected
RemoveTagFromItem(int idItem, int idTag, const std::string &type)CVideoDatabase
RemoveTagsFromItem(int idItem, const std::string &type)CVideoDatabase
ResultQuery(const std::string &strQuery) constCDatabase
RollbackTransaction()CDatabase
ScraperInUse(const std::string &scraperID) constCVideoDatabase
SetArtForItem(int mediaId, const MediaType &mediaType, const std::string &artType, const std::string &url)CVideoDatabase
SetArtForItem(int mediaId, const MediaType &mediaType, const std::map< std::string, std::string > &art)CVideoDatabase
SetDefaultVideoVersion(VideoDbContentType itemType, int dbId, int idFile)CVideoDatabase
SetDetailsForEpisode(CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, int idShow, int idEpisode=-1)CVideoDatabase
SetDetailsForItem(CVideoInfoTag &details, const std::map< std::string, std::string > &artwork)CVideoDatabase
SetDetailsForItem(int id, const MediaType &mediaType, CVideoInfoTag &details, const std::map< std::string, std::string > &artwork)CVideoDatabase
SetDetailsForMovie(CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, int idMovie=-1)CVideoDatabase
SetDetailsForMovieSet(const CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, int idSet=-1)CVideoDatabase
SetDetailsForMusicVideo(CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, int idMVideo=-1)CVideoDatabase
SetDetailsForSeason(const CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, int idShow, int idSeason=-1)CVideoDatabase
SetDetailsForTvShow(const std::vector< std::pair< std::string, std::string > > &paths, CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, const std::map< int, std::map< std::string, std::string > > &seasonArt, int idTvShow=-1)CVideoDatabase
SetFileForEpisode(const std::string &fileAndPath, int idEpisode, int idFile)CVideoDatabase
SetFileForMovie(const std::string &fileAndPath, int idMovie, int idFile)CVideoDatabase
SetMovieSet(int idMovie, int idSet)CVideoDatabase
SetPathHash(const std::string &path, const std::string &hash)CVideoDatabase
SetPlayCount(const CFileItem &item, int count, const CDateTime &date=CDateTime())CVideoDatabase
SetScraperForPath(const std::string &filePath, const ADDON::ScraperPtr &info, const KODI::VIDEO::SScanSettings &settings)CVideoDatabase
SetSingleValue(VideoDbContentType type, int dbId, int dbField, const std::string &strValue)CVideoDatabase
SetSingleValue(VideoDbContentType type, int dbId, Field dbField, const std::string &strValue)CVideoDatabase
SetSingleValue(const std::string &table, const std::string &fieldName, const std::string &strValue, const std::string &conditionName="", int conditionValue=-1)CVideoDatabase
SetStackTimes(const std::string &filePath, const std::vector< uint64_t > &times)CVideoDatabase
SetStreamDetailsForFile(const CStreamDetails &details, const std::string &strFileNameAndPath)CVideoDatabase
SetStreamDetailsForFileId(const CStreamDetails &details, int idFile)CVideoDatabase
SetVideoSettings(const CFileItem &item, const CVideoSettings &settings)CVideoDatabase
SetVideoSettings(int idFile, const CVideoSettings &settings)CVideoDatabase
SetVideoUserRating(int dbId, int rating, const MediaType &mediaType)CVideoDatabase
SetVideoVersion(int idFile, int idVideoVersion)CVideoDatabase
SetVideoVersionDefaultArt(int dbId, int idFrom, VideoDbContentType type)CVideoDatabase
Split(const std::string &strFileNameAndPath, std::string &strPath, std::string &strFileName)CDatabaseprotected
UpdateActorLinksToItem(int mediaId, const std::string &mediaType, const std::string &field, const std::vector< std::string > &values)CVideoDatabaseprotected
UpdateArtForItem(int mediaId, const MediaType &mediaType)CVideoDatabase
UpdateAssetsOwner(const std::string &mediaType, int dbIdSource, int dbIdTarget)CVideoDatabase
UpdateDetailsForMovie(int idMovie, CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, const std::set< std::string > &updatedDetails)CVideoDatabase
UpdateDetailsForTvShow(int idTvShow, CVideoInfoTag &details, const std::map< std::string, std::string > &artwork, const std::map< int, std::map< std::string, std::string > > &seasonArt)CVideoDatabase
UpdateFanart(const CFileItem &item, VideoDbContentType type)CVideoDatabase
UpdateFileDateAdded(CVideoInfoTag &details)CVideoDatabase
UpdateLastPlayed(const CFileItem &item)CVideoDatabase
UpdateLinksToItem(int mediaId, const std::string &mediaType, const std::string &field, const std::vector< std::string > &values)CVideoDatabaseprotected
UpdateMovieTitle(int idMovie, const std::string &strNewMovieTitle, VideoDbContentType iType=VideoDbContentType::MOVIES)CVideoDatabase
UpdateRatings(int mediaId, const char *mediaType, const RatingMap &values, const std::string &defaultRating)CVideoDatabaseprotected
UpdateUniqueIDs(int mediaId, const char *mediaType, const CVideoInfoTag &details)CVideoDatabaseprotected
UpdateVideoSortTitle(int idDb, const std::string &strNewSortTitle, VideoDbContentType iType=VideoDbContentType::MOVIES)CVideoDatabase
UpdateVideoVersionTypeTable()CVideoDatabase
VideoContentTypeToString(VideoDbContentType type, std::string &out)CVideoDatabaseinlinestatic
~CDatabase(void)CDatabasevirtual
~CVideoDatabase(void) overrideCVideoDatabase