Skip to content

Commit

Permalink
invalid use of genre ID when checking for a scraper set on an album
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Marshall authored and davilla committed Oct 27, 2013
1 parent 6e0d152 commit 9d75530
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/music/MusicDatabase.cpp
Expand Up @@ -4364,7 +4364,7 @@ bool CMusicDatabase::GetScraperForPath(const CStdString& strPath, ADDON::Scraper
}
if (m_pDS->eof() && params.GetAlbumId() != -1) // check album
{
strSQL = PrepareSQL("select * from content where strPath='musicdb://3/%i/'",params.GetGenreId());
strSQL = PrepareSQL("select * from content where strPath='musicdb://3/%i/'",params.GetAlbumId());
m_pDS->query(strSQL.c_str());
if (m_pDS->eof()) // general albums setting
{
Expand Down

0 comments on commit 9d75530

Please sign in to comment.