diff options
-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()); |