diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-08-28 09:29:00 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-08-28 09:29:00 +0000 |
commit | e58b3d064ef0f1ac3e6cc5b06d9371ed8f7d2fc2 (patch) | |
tree | 774840ff2ce0a220c3f5f268a11a552831e3f7cc | |
parent | ca267e26df569c50210f8074ddbc944de358af8e (diff) |
changed: unify the way season thumbs are exported to be the same as folder.jpg/fanart.jpg
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@33273 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | xbmc/VideoDatabase.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xbmc/VideoDatabase.cpp b/xbmc/VideoDatabase.cpp index 8eac19a769..cb9f273068 100644 --- a/xbmc/VideoDatabase.cpp +++ b/xbmc/VideoDatabase.cpp @@ -6914,10 +6914,9 @@ void CVideoDatabase::ExportToXML(const CStdString &path, bool singleFiles /* = f strSeasonThumb = "season-specials.tbn"; else strSeasonThumb.Format("season%02i.tbn",iSeason); - CUtil::GetParentPath(saveItem.GetFolderThumb(), strParent); - + CStdString cachedThumb(items[i]->GetCachedSeasonThumb()); - CStdString savedThumb(CUtil::AddFileToFolder(strParent, strSeasonThumb)); + CStdString savedThumb(saveItem.GetFolderThumb(strSeasonThumb)); if (CFile::Exists(cachedThumb, false) && (overwrite || !CFile::Exists(savedThumb, false))) if (!CFile::Cache(cachedThumb, savedThumb)) |