Skip to content

Commit

Permalink
musicdb: fix playcount value of albums
Browse files Browse the repository at this point in the history
  • Loading branch information
Montellese committed Dec 1, 2012
1 parent 2a895ac commit 3cc5f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xbmc/music/MusicDatabase.cpp
Expand Up @@ -245,7 +245,7 @@ void CMusicDatabase::CreateViews()
" idAlbumInfo, strMoods, strStyles, strThemes,"
" strReview, strLabel, strType, strImage, iRating, "
" bCompilation, "
" sum(song.iTimesPlayed) AS iTimesPlayed "
" MIN(song.iTimesPlayed) AS iTimesPlayed "
"FROM album "
" LEFT OUTER JOIN albuminfo ON"
" album.idAlbum=albuminfo.idAlbum"
Expand Down Expand Up @@ -3741,7 +3741,7 @@ bool CMusicDatabase::UpdateOldVersion(int version)

int CMusicDatabase::GetMinVersion() const
{
return 31;
return 32;
}

unsigned int CMusicDatabase::GetSongIDs(const Filter &filter, vector<pair<int,int> > &songIDs)
Expand Down

0 comments on commit 3cc5f7c

Please sign in to comment.