Permalink
Browse files

[thumbs] deprecate HTTP-API GetThumbFilename for albums

  • Loading branch information...
Jonathan Marshall
Jonathan Marshall committed Jun 26, 2012
1 parent dad0f19 commit e079b96035bbb662e99f9f7e48a9a3fc86fa5a59
Showing with 1 addition and 10 deletions.
  1. +1 −10 xbmc/interfaces/http-api/XBMChttp.cpp
@@ -51,7 +51,6 @@
#include "utils/URIUtils.h"
#include "utils/log.h"
#include "TextureCache.h"
-#include "ThumbnailCache.h"
#include "ThumbLoader.h"
#ifdef _WIN32
@@ -1805,15 +1804,7 @@ int CXbmcHttp::xbmcGetThumb(int numParas, CStdString paras[], bool bGetThumb)
int CXbmcHttp::xbmcGetThumbFilename(int numParas, CStdString paras[])
{
- CStdString thumbFilename="";
-
- if (numParas>1)
- {
- thumbFilename = CThumbnailCache::GetAlbumThumb(paras[0], paras[1]);
- return SetResponse(openTag+thumbFilename ) ;
- }
- else
- return SetResponse(openTag+"Error:Missing parameter (album;artist)") ;
+ return SetResponse(openTag+"Error:Deprecated function") ;
}
int CXbmcHttp::xbmcPlayerPlayFile(int numParas, CStdString paras[])

0 comments on commit e079b96

Please sign in to comment.