Permalink
Browse files

[musicdb] fix incorrect query for song by artist/album/title. fixes #…

…14775
  • Loading branch information...
1 parent d76431e commit 4f66ff69f0fdd2f38014181f7a8ae03ca7800907 Jonathan Marshall committed Dec 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/music/MusicDatabase.cpp
@@ -1784,7 +1784,7 @@ int CMusicDatabase::GetSongByArtistAndAlbumAndTitle(const CStdString& strArtist,
try
{
CStdString strSQL=PrepareSQL("select idSong from songview "
- "where strArtist like '%s' and strAlbum like '%s' and "
+ "where strArtists like '%s' and strAlbum like '%s' and "
"strTitle like '%s'",strArtist.c_str(),strAlbum.c_str(),strTitle.c_str());
if (!m_pDS->query(strSQL.c_str())) return false;

0 comments on commit 4f66ff6

Please sign in to comment.