diff options
author | montellese <montellese@xbmc.org> | 2013-07-28 21:50:08 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2013-07-28 21:50:29 +0200 |
commit | 15a915474a22d12ce424324049c30870ce860f1c (patch) | |
tree | 970b1fe534dd4a8b4cce7ca23e9732c6671f65a3 | |
parent | d274a2d761382806217e71075547764a1b1c9349 (diff) |
video: fix search for movies being part of a set (fixes #14471)
-rw-r--r-- | xbmc/video/VideoDatabase.cpp | 2 |
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); |