TTKMusicPlayer
4.1.3.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 |
Definition at line 283 of file musickgqueryinterface.cpp.
References parseSongPropertyV1(), parseSongPropertyV2(), parseSongPropertyV3(), and parseSongPropertyV4().
Referenced by ReqKGInterface::parseFromSongProperty().
|
static |
Definition at line 120 of file musickgqueryinterface.cpp.
References 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(), QJson::Parser::parse(), qAsConst, TTK::Number::sizeByteToLabel(), TTK::syncNetworkQueryForGet(), and TTK_INFO_STREAM.
Referenced by parseSongProperty().
|
static |
Definition at line 160 of file musickgqueryinterface.cpp.
References 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(), QJson::Parser::parse(), qAsConst, TTK::Number::sizeByteToLabel(), TTK::syncNetworkQueryForGet(), and TTK_INFO_STREAM.
Referenced by parseSongProperty().
|
static |
Definition at line 208 of file musickgqueryinterface.cpp.
References TTKDateTime::currentTimestamp(), FLAC_FILE_SUFFIX, 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, QJson::Parser::parse(), TTK::Number::sizeByteToLabel(), TTK::syncNetworkQueryForGet(), and TTK_BN_320.
Referenced by parseSongProperty(), and parseSongPropertyV3().
|
static |
Definition at line 248 of file musickgqueryinterface.cpp.
References TTK::MusicSongInformation::m_songProps, parseSongPropertyV3(), qAsConst, and TTK_INFO_STREAM.
|
static |
Definition at line 265 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 4 of file musickgqueryinterface.cpp.
Referenced by ReqKGInterface::makeRequestRawHeader().