Permalink
Browse files

musicdb: fix playcount value of albums

  • Loading branch information...
Montellese committed Dec 1, 2012
1 parent 2a895ac commit 3cc5f7cbbccf773db0b38e944ae087634228c79d
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/music/MusicDatabase.cpp
@@ -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"
@@ -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)

0 comments on commit 3cc5f7c

Please sign in to comment.