diff options
author | spiff <spiff@xbmc.org> | 2011-11-14 11:34:15 +0100 |
---|---|---|
committer | spiff <spiff@xbmc.org> | 2011-11-14 11:34:15 +0100 |
commit | 5a21792aff6d48667b9dfcdf7d25a277366f6bf9 (patch) | |
tree | ad18c920c0ced2c1ee79a74c737fa629289ae131 | |
parent | 4d3c90437da1b25997eacbb0ddc406682d51d3d8 (diff) |
Revert "fixed: invalid resume bookmarks - do not set the listitem property 'original_listitem_url' for videodb items (fixes #12205)"
This broke IsSamePath() comparisons for video library items
This reverts commit 7c38fb695910431dba5753896b0449d3fa744e25.
-rw-r--r-- | xbmc/video/windows/GUIWindowVideoBase.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/video/windows/GUIWindowVideoBase.cpp b/xbmc/video/windows/GUIWindowVideoBase.cpp index 30dfdbbddb..8bd983b221 100644 --- a/xbmc/video/windows/GUIWindowVideoBase.cpp +++ b/xbmc/video/windows/GUIWindowVideoBase.cpp @@ -1350,7 +1350,10 @@ bool CGUIWindowVideoBase::OnPlayMedia(int iItem) CFileItem item(*pItem); if (pItem->IsVideoDb()) + { item.SetPath(pItem->GetVideoInfoTag()->m_strFileNameAndPath); + item.SetProperty("original_listitem_url", pItem->GetPath()); + } PlayMovie(&item); |