diff options
-rw-r--r-- | xbmc/FileItem.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xbmc/FileItem.cpp b/xbmc/FileItem.cpp index 43ca4749ed..98360446a3 100644 --- a/xbmc/FileItem.cpp +++ b/xbmc/FileItem.cpp @@ -2430,12 +2430,12 @@ bool CFileItem::LoadDetails() bool ret{false}; auto tag{std::make_unique<CVideoInfoTag>()}; if (params.GetMovieId() >= 0) - ret = db.GetMovieInfo(GetPath(), *tag, static_cast<int>(params.GetMovieId()), + ret = db.GetMovieInfo({}, *tag, static_cast<int>(params.GetMovieId()), static_cast<int>(params.GetVideoVersionId())); else if (params.GetMVideoId() >= 0) - ret = db.GetMusicVideoInfo(GetPath(), *tag, static_cast<int>(params.GetMVideoId())); + ret = db.GetMusicVideoInfo({}, *tag, static_cast<int>(params.GetMVideoId())); else if (params.GetEpisodeId() >= 0) - ret = db.GetEpisodeInfo(GetPath(), *tag, static_cast<int>(params.GetEpisodeId())); + ret = db.GetEpisodeInfo({}, *tag, static_cast<int>(params.GetEpisodeId())); else if (params.GetSetId() >= 0) // movie set ret = db.GetSetInfo(static_cast<int>(params.GetSetId()), *tag, this); else if (params.GetTvShowId() >= 0) @@ -2448,7 +2448,7 @@ bool CFileItem::LoadDetails() ret = db.GetSeasonInfo(idSeason, *tag, this); } else - ret = db.GetTvShowInfo(GetPath(), *tag, static_cast<int>(params.GetTvShowId()), this); + ret = db.GetTvShowInfo({}, *tag, static_cast<int>(params.GetTvShowId()), this); } if (ret) |