[Fix] Re-get details from nfo file after advancing to first episodedetails
authorLee Pollock <scudlee@gmail.com>
Wed, 8 May 2013 17:04:41 +0000 (18:04 +0100)
committerLee Pollock <scudlee@gmail.com>
Wed, 8 May 2013 17:04:41 +0000 (18:04 +0100)
xbmc/NfoFile.cpp

index 973e4d0..791c92e 100644 (file)
@@ -71,6 +71,7 @@ CNfoFile::NFOResult CNfoFile::Create(const CStdString& strPath, const ScraperPtr
     {
       int infos=0;
       m_headofdoc = strstr(m_headofdoc,"<episodedetails");
+      bNfo = GetDetails(details);
       while (m_headofdoc && details.m_iEpisode != episode)
       {
         m_headofdoc = strstr(m_headofdoc+1,"<episodedetails");