Permalink
Browse files

Fix compile errors due to item->m_strPath becoming private after mass…

…ive merge.
  • Loading branch information...
1 parent 87144e6 commit af84e6e32a7d56bc720aad1b99acbbd0db9b4dde David Teirney committed Sep 4, 2011
Showing with 4 additions and 4 deletions.
  1. +1 −1 xbmc/filesystem/MythSession.cpp
  2. +3 −3 xbmc/video/VideoInfoScanner.cpp
View
2 xbmc/filesystem/MythSession.cpp
@@ -153,7 +153,7 @@ void CMythSession::SetFileItemMetaData(CFileItem &item, cmyth_proginfo_t program
* Set the VideoInfoTag meta-data so it matches the FileItem meta-data where possible.
*/
CVideoInfoTag* tag = item.GetVideoInfoTag();
- tag->m_strPath = item.m_strPath;
+ tag->m_strPath = item.GetPath();
tag->m_strTitle = subtitle; // The title is just supposed to be the episode title.
tag->m_strShowTitle = title;
tag->m_strOriginalTitle = title;
View
6 xbmc/video/VideoInfoScanner.cpp
@@ -501,7 +501,7 @@ namespace VIDEO
return INFO_ERROR;
INFO_RET ret = RetrieveInfoForEpisodes(pItem, lResult, info2, useLocal, pDlgProgress);
if (ret == INFO_ADDED)
- m_database.SetPathHash(pItem->m_strPath, pItem->GetProperty("hash"));
+ m_database.SetPathHash(pItem->GetPath(), pItem->GetProperty("hash"));
return ret;
}
}
@@ -770,7 +770,7 @@ namespace VIDEO
* using original air date or title if there isn't a valid season or episode number known.
*/
SEpisode episode;
- episode.strPath = item->m_strPath;
+ episode.strPath = item->GetPath();
episode.tag = *tag;
episode.iSeason = -1;
episode.iEpisode = -1;
@@ -810,7 +810,7 @@ namespace VIDEO
{
bValid = true;
CLog::Log(LOGDEBUG,"%s - found default match for: %s. Both season and episode are 0.",
- __FUNCTION__, item->m_strPath.c_str());
+ __FUNCTION__, item->GetPath().c_str());
}
if (bValid)

0 comments on commit af84e6e

Please sign in to comment.