From 15a915474a22d12ce424324049c30870ce860f1c Mon Sep 17 00:00:00 2001 From: montellese Date: Sun, 28 Jul 2013 21:50:08 +0200 Subject: video: fix search for movies being part of a set (fixes #14471) --- xbmc/video/VideoDatabase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp index 5e6fabac56..7bbb1bb433 100644 --- a/xbmc/video/VideoDatabase.cpp +++ b/xbmc/video/VideoDatabase.cpp @@ -7511,7 +7511,7 @@ void CVideoDatabase::GetMoviesByName(const CStdString& strSearch, CFileItemList& int setId = m_pDS->fv("movie.idSet").get_asInt(); CFileItemPtr pItem(new CFileItem(m_pDS->fv(1).get_asString())); CStdString path; - if (setId <= 0) + if (setId <= 0 || !CSettings::Get().GetBool("videolibrary.groupmoviesets")) path.Format("videodb://movies/titles/%i", movieId); else path.Format("videodb://movies/sets/%i/%i", setId, movieId); -- cgit v1.2.3