Skip to content

Commit

Permalink
Merge pull request xbmc#23980 from ksooo/video-fix-musicvideo-load
Browse files Browse the repository at this point in the history
[video] Fix CVideoDatabase::GetMusicVideosByWhere to set dyn path …
  • Loading branch information
ksooo authored Oct 22, 2023
2 parents b3de3c2 + b50de69 commit 8926df2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xbmc/video/VideoDatabase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8926df2

Please sign in to comment.