TTKMusicPlayer
3.7.0.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
#include "musickwqueryinterface.h"
#include "musicabstractnetwork.h"
#include "qalgorithm/deswrapper.h"
Go to the source code of this file.
Functions | |
static void | parseSongProperty (TTK::MusicSongInformation *info) |
static void | parseSongProperty (TTK::MusicSongInformation *info, const QString &suffix, const QString &bitrate, QString &url) |
static void | parseSongProperty (TTK::MusicSongInformation *info, const QString &suffix, const QString &format, int bitrate) |
|
static |
Definition at line 34 of file musickwqueryinterface.cpp.
References KW_SONG_DETAIL_CGG_URL, TTK::MusicSongProperty::m_bitrate, TTK::MusicSongProperty::m_format, TTK::MusicSongProperty::m_size, TTK::MusicSongInformation::m_songId, TTK::MusicSongInformation::m_songProps, TTK::MusicSongProperty::m_url, ReqKWInterface::makeRequestRawHeader(), TTK::Algorithm::mdII(), MP3_FILE_SUFFIX, qAsConst, TTK::syncNetworkQueryForGet(), TTK_BN_128, and TTK_DEFAULT_STR.
Referenced by ReqKWInterface::parseFromSongProperty(), and parseSongProperty().
|
static |
Definition at line 62 of file musickwqueryinterface.cpp.
References KW_SONG_DETAIL_URL, TTK::MusicSongInformation::m_songId, ReqKWInterface::makeRequestRawHeader(), TTK::Algorithm::mdII(), QJson::Parser::parse(), and TTK::syncNetworkQueryForGet().
|
static |
Definition at line 97 of file musickwqueryinterface.cpp.
References TTK::MusicSongProperty::isEmpty(), TTK::MusicSongProperty::m_bitrate, TTK::MusicSongProperty::m_format, TTK::MusicSongProperty::m_size, TTK::MusicSongInformation::m_songProps, TTK::MusicSongProperty::m_url, parseSongProperty(), qAsConst, TTK::String::suffix(), TTK_BN_1000, TTK_BN_128, TTK_BN_192, TTK_BN_320, and TTK_DEFAULT_STR.