TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
Go to the source code of this file.
Functions | |
static void | parseSongPropertyV1 (TTK::MusicSongInformation *info, const QString &hash, int bitrate) |
static void | parseSongPropertyV2 (TTK::MusicSongInformation *info, const QString &hash, int bitrate) |
static void | parseSongPropertyV3 (TTK::MusicSongInformation *info, const QString &module, QString &id, int bitrate) |
static void | parseSongPropertyV3 (TTK::MusicSongInformation *info, const QString &hash, int bitrate) |
static void | parseSongPropertyV4 (TTK::MusicSongInformation *info, const QString &hash, int bitrate) |
static void | parseSongProperty (TTK::MusicSongInformation *info, const QString &hash, int bitrate) |
Variables | |
static constexpr const char * | KG_UA_URL = "cGhYNDZVdmNaVG5KZk50NVFvcUJyYWVQdmdNTkFTMmM=" |
static constexpr const char * | KG_COOKIE_URL = "M1BlYjdvWUlwdHJIYXgzeGpUVDlWbnB6ZGZPaUxWVzhKdEZ2RHBHR1RBckFUbG82ZzlOOHRnMW0wUUZpVmdDNGNQMFFjTXd1OVhidmwvdHh6NjNkZ08reXEzWUl0ZXl3d21Ka3ErM1Q1eEp3WUs0YkYvV3dWVUFDSVd3YmI3c3U3c09pZTlIM1FQRFUyMG43Z2ZqRXJVTHhubkhjRC9EN3hVbzhia1QzdUZQU3orRzZZRmRncGZLazhkMD0=" |
|
static |
Definition at line 285 of file musickgqueryinterface.cpp.
References parseSongPropertyV1(), parseSongPropertyV2(), parseSongPropertyV3(), and parseSongPropertyV4().
Referenced by ReqKGInterface::parseFromSongProperty().
|
static |
Definition at line 121 of file musickgqueryinterface.cpp.
References QJsonParseError::error, QJsonDocument::fromJson(), key, KG_SONG_PATH_V1_URL, TTK::MusicSongProperty::m_bitrate, TTK::MusicSongProperty::m_format, TTK::MusicSongProperty::m_size, TTK::MusicSongInformation::m_songProps, TTK::MusicSongProperty::m_url, ReqKGInterface::makeRequestRawHeader(), TTK::Algorithm::md5(), TTK::Algorithm::mdII(), QJsonParseError::NoError, qAsConst, TTK::Number::sizeByteToLabel(), TTK::syncNetworkQueryForGet(), QJsonDocument::toVariant(), and TTK_INFO_STREAM.
Referenced by parseSongProperty().
|
static |
Definition at line 160 of file musickgqueryinterface.cpp.
References QJsonParseError::error, QJsonDocument::fromJson(), key, KG_SONG_PATH_V2_URL, TTK::MusicSongProperty::m_bitrate, TTK::MusicSongProperty::m_format, TTK::MusicSongProperty::m_size, TTK::MusicSongInformation::m_songProps, TTK::MusicSongProperty::m_url, ReqKGInterface::makeRequestRawHeader(), TTK::Algorithm::md5(), TTK::Algorithm::mdII(), QJsonParseError::NoError, qAsConst, TTK::Number::sizeByteToLabel(), TTK::syncNetworkQueryForGet(), QJsonDocument::toVariant(), and TTK_INFO_STREAM.
Referenced by parseSongProperty().
|
static |
Definition at line 207 of file musickgqueryinterface.cpp.
References TTKDateTime::currentTimestamp(), QJsonParseError::error, FLAC_FILE_SUFFIX, QJsonDocument::fromJson(), key, KG_SONG_PATH_V3_DATA_URL, KG_SONG_PATH_V3_URL, TTK::MusicSongProperty::m_bitrate, TTK::MusicSongProperty::m_format, TTK::MusicSongProperty::m_size, TTK::MusicSongInformation::m_songProps, TTK::MusicSongProperty::m_url, ReqKGInterface::makeRequestRawHeader(), TTK::Algorithm::md5(), TTK::Algorithm::mdII(), MP3_FILE_SUFFIX, QJsonParseError::NoError, TTK::Number::sizeByteToLabel(), TTK::syncNetworkQueryForGet(), QJsonDocument::toVariant(), and TTK_BN_320.
Referenced by parseSongProperty(), and parseSongPropertyV3().
|
static |
Definition at line 246 of file musickgqueryinterface.cpp.
References TTK::MusicSongInformation::m_songProps, parseSongPropertyV3(), qAsConst, and TTK_INFO_STREAM.
|
static |
Definition at line 267 of file musickgqueryinterface.cpp.
References TTK::MusicSongInformation::m_songProps, ReqUnityInterface::parseFromSongProperty(), qAsConst, QUERY_KG_INTERFACE, TTK_BN_1000, TTK_BN_128, TTK_BN_320, and TTK_INFO_STREAM.
Referenced by parseSongProperty().
|
static |
Definition at line 5 of file musickgqueryinterface.cpp.
Referenced by ReqKGInterface::makeRequestRawHeader().
|
static |
Definition at line 4 of file musickgqueryinterface.cpp.
Referenced by ReqKGInterface::makeRequestRawHeader().