mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 23:39:42 +01:00
* Don't consider artists with a playcount of 1 as part of the charts.
This commit is contained in:
parent
073cbf8e03
commit
4c46425cbb
@ -53,8 +53,10 @@ DatabaseCommand_ArtistStats::exec( DatabaseImpl* dbi )
|
||||
QHash< QString, unsigned int > charts;
|
||||
while ( query.next() )
|
||||
{
|
||||
chartCount++;
|
||||
if ( query.value( 0 ).toUInt() < 2 )
|
||||
break;
|
||||
|
||||
chartCount++;
|
||||
if ( chartPos == 0 && query.value( 1 ).toUInt() == artistId )
|
||||
{
|
||||
chartPos = chartCount;
|
||||
|
Loading…
x
Reference in New Issue
Block a user