Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 15a915474a22d12ce424324049c30870ce860f1c 1 parent d274a2d
@Montellese Montellese authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.