![]() |
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include "network/Network.h"
#include "AirPlayServer.h"
#include <netinet/in.h>
#include <arpa/inet.h>
#include "DllLibPlist.h"
#include "utils/log.h"
#include "utils/StringUtils.h"
#include "threads/SingleLock.h"
#include "filesystem/File.h"
#include "filesystem/Directory.h"
#include "FileItem.h"
#include "Application.h"
#include "ServiceBroker.h"
#include "messaging/ApplicationMessenger.h"
#include "PlayListPlayer.h"
#include "utils/Digest.h"
#include "utils/Variant.h"
#include "settings/Settings.h"
#include "settings/SettingsComponent.h"
#include "input/Key.h"
#include "URL.h"
#include "cores/IPlayer.h"
#include "interfaces/AnnouncementManager.h"
Macros | |
#define | RECEIVEBUFFER 1024 |
#define | AIRPLAY_STATUS_OK 200 |
#define | AIRPLAY_STATUS_SWITCHING_PROTOCOLS 101 |
#define | AIRPLAY_STATUS_NEED_AUTH 401 |
#define | AIRPLAY_STATUS_NOT_FOUND 404 |
#define | AIRPLAY_STATUS_METHOD_NOT_ALLOWED 405 |
#define | AIRPLAY_STATUS_PRECONDITION_FAILED 412 |
#define | AIRPLAY_STATUS_NOT_IMPLEMENTED 501 |
#define | AIRPLAY_STATUS_NO_RESPONSE_NEEDED 1000 |
#define | EVENT_NONE -1 |
#define | EVENT_PLAYING 0 |
#define | EVENT_PAUSED 1 |
#define | EVENT_LOADING 2 |
#define | EVENT_STOPPED 3 |
#define | PLAYBACK_INFO |
#define | PLAYBACK_INFO_NOT_READY |
#define | SERVER_INFO |
#define | EVENT_INFO |
#define | AUTH_REALM "AirPlay" |
#define | AUTH_REQUIRED "WWW-Authenticate: Digest realm=\"" AUTH_REALM "\", nonce=\"%s\"\r\n" |
Functions | |
void | ClearPhotoAssetCache () |
void | handleZeroconfAnnouncement () |
std::string | calcResponse (const std::string &username, const std::string &password, const std::string &realm, const std::string &method, const std::string &digestUri, const std::string &nonce) |
std::string | getFieldFromString (const std::string &str, const char *field) |
void | dumpPlist (DllLibPlist *pLibPlist, plist_t *dict) |
std::string | getStringFromPlist (DllLibPlist *pLibPlist, plist_t node) |
Variables | |
const char * | eventStrings [] = {"playing", "paused", "loading", "stopped"} |
#define AIRPLAY_STATUS_METHOD_NOT_ALLOWED 405 |
#define AIRPLAY_STATUS_NEED_AUTH 401 |
#define AIRPLAY_STATUS_NO_RESPONSE_NEEDED 1000 |
#define AIRPLAY_STATUS_NOT_FOUND 404 |
#define AIRPLAY_STATUS_NOT_IMPLEMENTED 501 |
#define AIRPLAY_STATUS_OK 200 |
#define AIRPLAY_STATUS_PRECONDITION_FAILED 412 |
#define AIRPLAY_STATUS_SWITCHING_PROTOCOLS 101 |
#define AUTH_REALM "AirPlay" |
#define AUTH_REQUIRED "WWW-Authenticate: Digest realm=\"" AUTH_REALM "\", nonce=\"%s\"\r\n" |
#define EVENT_INFO |
#define EVENT_LOADING 2 |
#define EVENT_NONE -1 |
#define EVENT_PAUSED 1 |
#define EVENT_PLAYING 0 |
#define EVENT_STOPPED 3 |
#define PLAYBACK_INFO |
#define PLAYBACK_INFO_NOT_READY |
#define RECEIVEBUFFER 1024 |
#define SERVER_INFO |
std::string calcResponse | ( | const std::string & | username, |
const std::string & | password, | ||
const std::string & | realm, | ||
const std::string & | method, | ||
const std::string & | digestUri, | ||
const std::string & | nonce | ||
) |
void ClearPhotoAssetCache | ( | ) |
void dumpPlist | ( | DllLibPlist * | pLibPlist, |
plist_t * | dict | ||
) |
std::string getFieldFromString | ( | const std::string & | str, |
const char * | field | ||
) |
std::string getStringFromPlist | ( | DllLibPlist * | pLibPlist, |
plist_t | node | ||
) |
void handleZeroconfAnnouncement | ( | ) |
const char* eventStrings[] = {"playing", "paused", "loading", "stopped"} |