summaryrefslogtreecommitdiff
path: root/PVideo.cpp
diff options
context:
space:
mode:
authorChristian <zerov83@gmail.com>2016-02-13 21:39:23 +0100
committerChristian <zerov83@gmail.com>2016-02-13 21:39:23 +0100
commit96a27aa661e2e5562dd9fac1b8eadf0304f92da1 (patch)
tree37d5ba75017552e71524be02c563aa97311b83ff /PVideo.cpp
parent63f30c89b51e54301d5dbfa981dc95e8f11af6c5 (diff)
downloadvdr-plugin-plex-96a27aa661e2e5562dd9fac1b8eadf0304f92da1.tar.gz
vdr-plugin-plex-96a27aa661e2e5562dd9fac1b8eadf0304f92da1.tar.bz2
define for compiling without libskindesiger.
Use 'make DISABLESKINDESIGNER=1'
Diffstat (limited to 'PVideo.cpp')
-rw-r--r--PVideo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/PVideo.cpp b/PVideo.cpp
index d5e279c..b7ad379 100644
--- a/PVideo.cpp
+++ b/PVideo.cpp
@@ -6,7 +6,6 @@
#include <vdr/tools.h>
#include "PlexHelper.h"
-#include "pictureCache.h"
namespace plexclient
{
@@ -228,6 +227,7 @@ bool Video::SetWatched()
}
}
+#ifdef SKINDESIGNER
void Video::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bool clear, std::function<void(cGridElement*)> OnCached)
{
if(clear) grid->ClearTokens();
@@ -315,6 +315,7 @@ void Video::AddTokens(std::shared_ptr<skindesignerapi::cOsdElement> grid, bool c
m_Media.AddTokens(grid);
}
+#endif
std::string Video::ArtUri()
{