diff options
author | Jonathan Marshall <jmarshall@xbmc.org> | 2013-12-29 11:35:04 +1300 |
---|---|---|
committer | Jonathan Marshall <jmarshall@xbmc.org> | 2013-12-29 11:35:04 +1300 |
commit | 4f66ff69f0fdd2f38014181f7a8ae03ca7800907 (patch) | |
tree | 982501ece13fca4d02c95212a69a0db530c2a182 | |
parent | d76431ee81b6834a864f89a3edbfa3310df25640 (diff) |
[musicdb] fix incorrect query for song by artist/album/title. fixes #14775
-rw-r--r-- | xbmc/music/MusicDatabase.cpp | 2 |
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; |