Fixed broken karaoke import due to change in songview
authorGeorge Yunaev <oldnemesis@xbmc>
Fri, 27 Dec 2013 07:50:24 +0000 (23:50 -0800)
committerGeorge Yunaev <oldnemesis@xbmc>
Fri, 27 Dec 2013 07:50:24 +0000 (23:50 -0800)
xbmc/music/MusicDatabase.cpp

index 492907e..1a996fe 100644 (file)
@@ -5427,7 +5427,7 @@ void CMusicDatabase::ImportKaraokeInfo(const CStdString & inputFile)
 
         linestart = p + 1;
         CStdString strSQL=PrepareSQL("select idSong from songview "
-                     "where strArtist like '%s' and strTitle like '%s'", artist, title );
+                     "where strArtists like '%s' and strTitle like '%s'", artist, title );
 
         if ( !m_pDS->query(strSQL.c_str()) )
         {