aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Marshall <jmarshall@xbmc.org>2013-12-29 11:35:04 +1300
committerJonathan Marshall <jmarshall@xbmc.org>2013-12-29 11:35:04 +1300
commit4f66ff69f0fdd2f38014181f7a8ae03ca7800907 (patch)
tree982501ece13fca4d02c95212a69a0db530c2a182
parentd76431ee81b6834a864f89a3edbfa3310df25640 (diff)
[musicdb] fix incorrect query for song by artist/album/title. fixes #14775
-rw-r--r--xbmc/music/MusicDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/music/MusicDatabase.cpp b/xbmc/music/MusicDatabase.cpp
index b22e3d26d4..d703977fa4 100644
--- a/xbmc/music/MusicDatabase.cpp
+++ b/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;