|
| static void | CleanString (const std::string &strFileName, std::string &strTitle, std::string &strTitleAndYear, std::string &strYear, bool bRemoveExtension=false, bool bCleanChars=true) |
| |
| static std::string | GetTitleFromPath (const CURL &url, bool bIsFolder=false) |
| |
| static std::string | GetTitleFromPath (const std::string &strFileNameAndPath, bool bIsFolder=false) |
| |
| static void | GetQualifiedFilename (const std::string &strBasePath, std::string &strFilename) |
| |
| static void | RunShortcut (const char *szPath) |
| |
| static std::string | GetHomePath (std::string strTarget="KODI_HOME") |
| |
| static bool | IsPVR (const std::string &strFile) |
| |
| static bool | IsHTSP (const std::string &strFile) |
| |
| static bool | IsLiveTV (const std::string &strFile) |
| |
| static bool | IsTVRecording (const std::string &strFile) |
| |
| static bool | ExcludeFileOrFolder (const std::string &strFileOrFolder, const std::vector< std::string > ®exps) |
| |
| static void | GetFileAndProtocol (const std::string &strURL, std::string &strDir) |
| |
| static int | GetDVDIfoTitle (const std::string &strPathFile) |
| |
| static bool | IsPicture (const std::string &strFile) |
| |
| static std::string | GetSplashPath () |
| | Get resolved filesystem location of splash image. More...
|
| |
| static std::string | GetFileDigest (const std::string &strPath, KODI::UTILITY::CDigest::Type type) |
| | retrieve MD5sum of a file More...
|
| |
| static bool | GetDirectoryName (const std::string &strFileName, std::string &strDescription) |
| |
| static void | GetDVDDriveIcon (const std::string &strPath, std::string &strIcon) |
| |
| static void | RemoveTempFiles () |
| |
| static void | ClearTempFonts () |
| |
| static void | ClearSubtitles () |
| |
| static void | ScanForExternalSubtitles (const std::string &strMovie, std::vector< std::string > &vecSubtitles) |
| |
| static ExternalStreamInfo | GetExternalStreamDetailsFromFilename (const std::string &videoPath, const std::string &associatedFile) |
| | Retrieves stream info of external associated files, e.g., subtitles, for a given video. More...
|
| |
| static bool | FindVobSubPair (const std::vector< std::string > &vecSubtitles, const std::string &strIdxPath, std::string &strSubPath) |
| | in a vector of subtitles finds the corresponding .sub file for a given .idx file More...
|
| |
| static bool | IsVobSub (const std::vector< std::string > &vecSubtitles, const std::string &strSubPath) |
| | checks if in the vector of subtitles the given .sub file has a corresponding idx and hence is a vobsub file More...
|
| |
| static std::string | GetVobSubSubFromIdx (const std::string &vobSubIdx) |
| | find a plain or archived vobsub .sub file corresponding to an .idx file More...
|
| |
| static std::string | GetVobSubIdxFromSub (const std::string &vobSub) |
| | find a .idx file from a path of a plain or archived vobsub .sub file More...
|
| |
| static void | ScanForExternalAudio (const std::string &videoPath, std::vector< std::string > &vecAudio) |
| | Retrieves paths of external audio files for a given video. More...
|
| |
| static void | ScanForExternalDemuxSub (const std::string &videoPath, std::vector< std::string > &vecSubtitles) |
| |
| static int64_t | ToInt64 (uint32_t high, uint32_t low) |
| |
| static std::string | GetNextFilename (const std::string &fn_template, int max) |
| |
| static std::string | GetNextPathname (const std::string &path_template, int max) |
| |
| static void | StatToStatI64 (struct _stati64 *result, struct stat *stat) |
| |
| static void | StatToStat64 (struct __stat64 *result, const struct stat *stat) |
| |
| static void | Stat64ToStatI64 (struct _stati64 *result, struct __stat64 *stat) |
| |
| static void | StatI64ToStat64 (struct __stat64 *result, struct _stati64 *stat) |
| |
| static void | Stat64ToStat (struct stat *result, struct __stat64 *stat) |
| |
| static bool | CreateDirectoryEx (const std::string &strPath) |
| |
| static std::string | MakeLegalFileName (const std::string &strFile, int LegalType=LEGAL_NONE) |
| |
| static std::string | MakeLegalPath (const std::string &strPath, int LegalType=LEGAL_NONE) |
| |
| static std::string | ValidatePath (const std::string &path, bool bFixDoubleSlashes=false) |
| | return a validated path, with correct directory separators. More...
|
| |
| static bool | IsUsingTTFSubtitles () |
| |
| static void | SplitParams (const std::string ¶mString, std::vector< std::string > ¶meters) |
| | Split a comma separated parameter list into separate parameters. Takes care of the case where we may have a quoted string containing commas, or we may have a function (i.e. parentheses) with multiple parameters as a single parameter. More...
|
| |
| static void | SplitExecFunction (const std::string &execString, std::string &function, std::vector< std::string > ¶meters) |
| |
| static int | GetMatchingSource (const std::string &strPath, VECSOURCES &VECSOURCES, bool &bIsSourceName) |
| |
| static std::string | TranslateSpecialSource (const std::string &strSpecial) |
| |
| static void | DeleteDirectoryCache (const std::string &prefix="") |
| |
| static void | DeleteMusicDatabaseDirectoryCache () |
| |
| static void | DeleteVideoDatabaseDirectoryCache () |
| |
| static std::string | MusicPlaylistsLocation () |
| |
| static std::string | VideoPlaylistsLocation () |
| |
| static void | GetSkinThemes (std::vector< std::string > &vecTheme) |
| |
| static void | GetRecursiveListing (const std::string &strPath, CFileItemList &items, const std::string &strMask, unsigned int flags=0) |
| |
| static void | GetRecursiveDirsListing (const std::string &strPath, CFileItemList &items, unsigned int flags=0) |
| |
| static void | ForceForwardSlashes (std::string &strPath) |
| |
| static double | AlbumRelevance (const std::string &strAlbumTemp1, const std::string &strAlbum1, const std::string &strArtistTemp1, const std::string &strArtist1) |
| |
| static bool | MakeShortenPath (std::string StrInput, std::string &StrOutput, size_t iTextMaxLength) |
| |
| static bool | SupportsWriteFileOperations (const std::string &strPath) |
| | Checks wether the supplied path supports Write file operations (e.g. Rename, Delete, ...) More...
|
| |
| static bool | SupportsReadFileOperations (const std::string &strPath) |
| | Checks wether the supplied path supports Read file operations (e.g. Copy, ...) More...
|
| |
| static std::string | GetDefaultFolderThumb (const std::string &folderThumb) |
| |
| static void | InitRandomSeed () |
| |
| static int | LookupRomanDigit (char roman_digit) |
| |
| static int | TranslateRomanNumeral (const char *roman_numeral) |
| |
| static std::string | ResolveExecutablePath () |
| |
| static std::string | GetFrameworksPath (bool forPython=false) |
| |
| static bool | CanBindPrivileged () |
| |
| static bool | ValidatePort (int port) |
| |
| static int | GetRandomNumber () |
| | Thread-safe random number generation. More...
|
| |
| static int64_t | ConvertSecsToMilliSecs (double secs) |
| |
| static double | ConvertMilliSecsToSecs (int64_t offset) |
| |
| static int64_t | ConvertMilliSecsToSecsInt (int64_t offset) |
| |
| static int64_t | ConvertMilliSecsToSecsIntRounded (int64_t offset) |
| |