mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-02-22 19:05:05 +01:00
Parse Wah as regular chart
This commit is contained in:
parent
5bed90dbb7
commit
100f08b0b8
@ -53,11 +53,13 @@ ChartsPlugin::ChartsPlugin()
|
||||
, m_chartsFetchJobs( 0 )
|
||||
{
|
||||
tDebug( LOGVERBOSE ) << Q_FUNC_INFO << QThread::currentThread();
|
||||
/// If you add resource, update version aswell
|
||||
|
||||
// If you add resource, update version aswell
|
||||
m_chartVersion = "2.6.1";
|
||||
m_supportedGetTypes << InfoChart << InfoChartCapabilities;
|
||||
|
||||
// Charts that have geo or genre types
|
||||
m_geoChartIds << "wearehunted" << "itunes" << "hotnewhiphop" << "djshop.de" << "rdio";
|
||||
m_geoChartIds << "itunes" << "hotnewhiphop" << "djshop.de" << "rdio";
|
||||
}
|
||||
|
||||
|
||||
@ -432,9 +434,6 @@ ChartsPlugin::chartsList()
|
||||
// Itunes has geographic-area based charts. So we build a breadcrumb of
|
||||
// ITunes - Country - Albums - Top Chart Type
|
||||
// - Tracks - Top Chart Type
|
||||
// WeAreHunted has Mainstream/Emerging
|
||||
// WeAreHunted - Type - Artists - Chart Type
|
||||
// - Tracks - Chart Type
|
||||
QHash< QString, QVariantMap > extraType;
|
||||
QStringList processed;
|
||||
foreach ( const QVariant& chartObj, res.values() )
|
||||
@ -522,10 +521,6 @@ ChartsPlugin::chartsList()
|
||||
{
|
||||
chartName = "SoundCloudWall";
|
||||
}
|
||||
else if ( source == "wearehunted" )
|
||||
{
|
||||
chartName = "WeAreHunted";
|
||||
}
|
||||
else if ( source == "hotnewhiphop" )
|
||||
{
|
||||
chartName = "HotNewHiphop";
|
||||
|
Loading…
x
Reference in New Issue
Block a user