From 8cb88a097fe0d655f480276b11972c7250a57319 Mon Sep 17 00:00:00 2001
From: montellese <montellese@xbmc.org>
Date: Tue, 1 Mar 2011 18:11:57 +0100
Subject: JSONRPC: VideoLibrary.GetMovies returns (all) movies only and no
 moviesets

---
 xbmc/interfaces/json-rpc/VideoLibrary.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xbmc/interfaces/json-rpc/VideoLibrary.cpp b/xbmc/interfaces/json-rpc/VideoLibrary.cpp
index 3c6d14ea4c..57e81526b5 100644
--- a/xbmc/interfaces/json-rpc/VideoLibrary.cpp
+++ b/xbmc/interfaces/json-rpc/VideoLibrary.cpp
@@ -40,7 +40,7 @@ JSON_STATUS CVideoLibrary::GetMovies(const CStdString &method, ITransportLayer *
 //  int genreID = parameterObject.get("genreid", -1).asInt();
 
   CFileItemList items;
-  if (videodatabase.GetMoviesNav("videodb://", items))
+  if (videodatabase.GetMoviesByWhere("videodb://", "", "", items))
     HandleFileItemList("movieid", true, "movies", items, parameterObject, result);
 
   videodatabase.Close();
-- 
cgit v1.2.3