Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
PlaceholderPaths.h File Reference
#include "utils/StringUtils.h"
#include <string_view>

Namespaces

namespace  KODI
 
namespace  KODI::PLACEHOLDER
 The paths of list entries that stand for an action rather than an item, such as creating a playlist.
 

Functions

bool KODI::PLACEHOLDER::IsNewPlaylist (std::string_view path)
 Whether path is the entry that creates a playlist or a smart playlist.
 
bool KODI::PLACEHOLDER::IsNewItem (std::string_view path)
 Whether path is an entry that creates a playlist, a smart playlist or a tag.
 

Variables

constexpr char KODI::PLACEHOLDER::ADD_SOURCE [] = "add"
 The entry that adds a source.
 
constexpr char KODI::PLACEHOLDER::NEW_PLAYLIST [] = "newplaylist://"
 
constexpr char KODI::PLACEHOLDER::NEW_SMART_PLAYLIST [] = "newsmartplaylist://"
 
constexpr char KODI::PLACEHOLDER::NEW_TAG [] = "newtag://"
 
constexpr char KODI::PLACEHOLDER::MUSIC_SEARCH [] = "musicsearch://"