TTKMusicPlayer
4.2.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The namespace of the unity request interface. More...
Functions | |
void | parseFromSongProperty (TTK::MusicSongInformation *info, const QString &type, const QString &id, int bitrate) |
The namespace of the unity request interface.
void ReqUnityInterface::parseFromSongProperty | ( | TTK::MusicSongInformation * | info, |
const QString & | type, | ||
const QString & | id, | ||
int | bitrate | ||
) |
Read tags(size and bitrate and url) from query results.
Definition at line 179 of file musicunityqueryinterface.cpp.
References APPCACHE_DIR_FULL, QJsonParseError::error, QJsonDocument::fromJson(), key, ServerModule::m_bitrate, ServerModule::m_key, ServerModule::m_quality, ServerModule::m_ua, ServerModule::m_url, makeModuleValue(), makeQualityValue(), TTK::Algorithm::mdII(), QJsonParseError::NoError, parseSongPropertyA(), parseSongPropertyB(), qAsConst, QUERY_MODULE_A, QUERY_MODULE_B, QUERY_PLUGINS_URL, QJsonDocument::toVariant(), TTK_ERROR_STREAM, and TTK_INFO_STREAM.
Referenced by parseSongPropertyV3(), and parseSongPropertyV4().