aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormontellese <montellese@xbmc.org>2013-07-28 21:50:08 +0200
committermontellese <montellese@xbmc.org>2013-07-28 21:50:29 +0200
commit15a915474a22d12ce424324049c30870ce860f1c (patch)
tree970b1fe534dd4a8b4cce7ca23e9732c6671f65a3
parentd274a2d761382806217e71075547764a1b1c9349 (diff)
video: fix search for movies being part of a set (fixes #14471)
-rw-r--r--xbmc/video/VideoDatabase.cpp2
1 files changed, 1 insertions, 1 deletions
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);