Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
KODI::MUSIC Namespace Reference

Functions

bool IsAudio (const CFileItem &item)
 Check whether an item is an audio item.
 
bool IsAudioBook (const CFileItem &item)
 Check whether an item is an audio book item.
 
bool IsCDDA (const CFileItem &item)
 Check whether an item is an audio cd item.
 
bool IsCUESheet (const CFileItem &item)
 Check whether an item is a cue sheet.
 
bool IsLyrics (const CFileItem &item)
 Check whether an item is a lyrics file.
 
bool IsMusicDb (const CFileItem &item)
 Check whether an item is a music database item.
 

Function Documentation

◆ IsAudio()

bool KODI::MUSIC::IsAudio ( const CFileItem & item)

Check whether an item is an audio item.

Note that this returns true for anything with a music info tag, so that may include eg. folders.

Todo
If the file is a zip file, ask the game clients if any support this

◆ IsAudioBook()

bool KODI::MUSIC::IsAudioBook ( const CFileItem & item)

Check whether an item is an audio book item.

◆ IsCDDA()

bool KODI::MUSIC::IsCDDA ( const CFileItem & item)

Check whether an item is an audio cd item.

◆ IsCUESheet()

bool KODI::MUSIC::IsCUESheet ( const CFileItem & item)

Check whether an item is a cue sheet.

◆ IsLyrics()

bool KODI::MUSIC::IsLyrics ( const CFileItem & item)

Check whether an item is a lyrics file.

◆ IsMusicDb()

bool KODI::MUSIC::IsMusicDb ( const CFileItem & item)

Check whether an item is a music database item.