Skip to content

Commit

Permalink
Fix compile errors due to item->m_strPath becoming private after mass…
Browse files Browse the repository at this point in the history
…ive merge.
  • Loading branch information
David Teirney committed Sep 4, 2011
1 parent 87144e6 commit af84e6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion xbmc/filesystem/MythSession.cpp
Expand Up @@ -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;
Expand Down
6 changes: 3 additions & 3 deletions xbmc/video/VideoInfoScanner.cpp
Expand Up @@ -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;
}
}
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit af84e6e

Please sign in to comment.