1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-20 15:59:42 +01:00

typo in EchonestGenerator

This commit is contained in:
Stefan Derkits 2014-02-14 20:55:45 +01:00
parent 8fa093a2e3
commit 085ad8ee92

View File

@ -633,7 +633,7 @@ EchonestGenerator::loadStyles()
{
if ( s_styles_lock.tryLockForRead() )
{
QVariant styles = TomahawkUtils::Cache::instance()->getData( "EchonesGenerator", "styles" );
QVariant styles = TomahawkUtils::Cache::instance()->getData( "EchonestGenerator", "styles" );
s_styles_lock.unlock();
if ( styles.isValid() && styles.canConvert< QStringList >() )
{
@ -661,7 +661,7 @@ EchonestGenerator::loadMoods()
{
if ( s_moods_lock.tryLockForRead() )
{
QVariant moods = TomahawkUtils::Cache::instance()->getData( "EchonesGenerator", "moods" );
QVariant moods = TomahawkUtils::Cache::instance()->getData( "EchonestGenerator", "moods" );
s_moods_lock.unlock();
if ( moods.isValid() && moods.canConvert< QStringList >() ) {
s_moods = moods.toStringList();
@ -688,7 +688,7 @@ EchonestGenerator::loadGenres()
{
if ( s_genres_lock.tryLockForRead() )
{
QVariant genres = TomahawkUtils::Cache::instance()->getData( "EchonesGenerator", "genres" );
QVariant genres = TomahawkUtils::Cache::instance()->getData( "EchonestGenerator", "genres" );
s_genres_lock.unlock();
if ( genres.isValid() && genres.canConvert< QStringList >() )
{
@ -732,7 +732,7 @@ EchonestGenerator::moodsReceived()
}
s_moodsJob = 0;
TomahawkUtils::Cache::instance()->putData( "EchonesGenerator", 1209600000 /* 2 weeks */, "moods", QVariant::fromValue< QStringList >( s_moods ) );
TomahawkUtils::Cache::instance()->putData( "EchonestGenerator", 1209600000 /* 2 weeks */, "moods", QVariant::fromValue< QStringList >( s_moods ) );
s_moods_lock.unlock();
emit moodsSaved();
}
@ -761,7 +761,7 @@ EchonestGenerator::stylesReceived()
}
s_stylesJob = 0;
TomahawkUtils::Cache::instance()->putData( "EchonesGenerator", 1209600000 /* 2 weeks */, "styles", QVariant::fromValue< QStringList >( s_styles ) );
TomahawkUtils::Cache::instance()->putData( "EchonestGenerator", 1209600000 /* 2 weeks */, "styles", QVariant::fromValue< QStringList >( s_styles ) );
s_styles_lock.unlock();
emit stylesSaved();
}
@ -788,7 +788,7 @@ EchonestGenerator::genresReceived()
}
s_genresJob = 0;
TomahawkUtils::Cache::instance()->putData( "EchonesGenerator", 1209600000 /* 2 weeks */, "genres", QVariant::fromValue< QStringList >( s_genres ) );
TomahawkUtils::Cache::instance()->putData( "EchonestGenerator", 1209600000 /* 2 weeks */, "genres", QVariant::fromValue< QStringList >( s_genres ) );
s_genres_lock.unlock();
emit genresSaved();
}