Skip to content
Browse files

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

  • Loading branch information...
1 parent d274a2d commit 15a915474a22d12ce424324049c30870ce860f1c @Montellese Montellese committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/video/VideoDatabase.cpp
View
2 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);

0 comments on commit 15a9154

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