aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Sommerfeld <3226626+ksooo@users.noreply.github.com>2023-10-22 18:55:32 +0200
committerGitHub <noreply@github.com>2023-10-22 18:55:32 +0200
commit8926df277219201a9b3330165e9c5658f576103b (patch)
tree2b82a18bc02fcfbaf78c61103c7a709838e90fb3
parentb3de3c2487d5477a133ac54dd8848c9fc6e5b3cf (diff)
parentb50de6968c3873ee6343514b5a8bbd1e4c20c518 (diff)
Merge pull request #23980 from ksooo/video-fix-musicvideo-load
[video] Fix CVideoDatabase::GetMusicVideosByWhere to set dyn path …
-rw-r--r--xbmc/video/VideoDatabase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/xbmc/video/VideoDatabase.cpp b/xbmc/video/VideoDatabase.cpp
index 6335ff9385..ba4a1e51fc 100644
--- a/xbmc/video/VideoDatabase.cpp
+++ b/xbmc/video/VideoDatabase.cpp
@@ -8925,6 +8925,7 @@ bool CVideoDatabase::GetMusicVideosByWhere(const std::string &baseDir, const Fil
std::string path = std::to_string(record->at(0).get_asInt());
itemUrl.AppendPath(path);
item->SetPath(itemUrl.ToString());
+ item->SetDynPath(musicvideo.m_strFileNameAndPath);
item->SetOverlayImage(CGUIListItem::ICON_OVERLAY_UNWATCHED, musicvideo.GetPlayCount() > 0);
items.Add(item);