diff options
author | dteirney <dteirney@svn> | 2009-12-05 00:58:52 +0000 |
---|---|---|
committer | dteirney <dteirney@svn> | 2009-12-05 00:58:52 +0000 |
commit | 6359b56ef545fee92d1e7a80f39bb324f4a79076 (patch) | |
tree | 649f0958d0fdd52e7b18d861cfc4ab06e5f9ca78 | |
parent | 673e91db1ce9aeed3b38d246e29337dc5668d4e6 (diff) |
Ticket #7672. Fixed: partial revert of r23763 so the recorded program path isn't converted to the Live TV path if the program is currently recording.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@25292 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/FileSystem/CMythDirectory.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xbmc/FileSystem/CMythDirectory.cpp b/xbmc/FileSystem/CMythDirectory.cpp index b801e02469..80b9ab2d0b 100644 --- a/xbmc/FileSystem/CMythDirectory.cpp +++ b/xbmc/FileSystem/CMythDirectory.cpp @@ -278,6 +278,11 @@ bool CCMythDirectory::GetRecordings(const CStdString& base, CFileItemList &items CFileItemPtr item(new CFileItem(url.Get(), false)); m_session->UpdateItem(*item, program); + /* + * TODO: Refactor UpdateItem so it doesn't change the path of a program that is currently + * recording if it wasn't opened through Live TV. + */ + item->m_strPath = url.Get(); // Overwrite potentially incorrect change to path if recording url.SetFileName("files/" + path + ".png"); item->SetThumbnailImage(url.Get()); |