Skip to content
This repository
Browse code

video: fix search for movies being part of a set (fixes #14471)

  • Loading branch information...
commit 15a915474a22d12ce424324049c30870ce860f1c 1 parent d274a2d
Sascha Montellese authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/video/VideoDatabase.cpp
2  xbmc/video/VideoDatabase.cpp
@@ -7511,7 +7511,7 @@ void CVideoDatabase::GetMoviesByName(const CStdString& strSearch, CFileItemList&
7511 7511
       int setId = m_pDS->fv("movie.idSet").get_asInt();
7512 7512
       CFileItemPtr pItem(new CFileItem(m_pDS->fv(1).get_asString()));
7513 7513
       CStdString path;
7514  
-      if (setId <= 0)
  7514
+      if (setId <= 0 || !CSettings::Get().GetBool("videolibrary.groupmoviesets"))
7515 7515
         path.Format("videodb://movies/titles/%i", movieId);
7516 7516
       else
7517 7517
         path.Format("videodb://movies/sets/%i/%i", setId, movieId);

0 notes on commit 15a9154

Please sign in to comment.
Something went wrong with that request. Please try again.