diff options
Diffstat (limited to 'httpresource.c')
-rwxr-xr-x | httpresource.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/httpresource.c b/httpresource.c index 7ab75af..c6050e3 100755 --- a/httpresource.c +++ b/httpresource.c @@ -495,7 +495,11 @@ int cHttpResource::processRequest() { } +#if VDRVERSNUM >= 20102 + if (mPath.compare(0, strlen(cVideoDirectory::Name()), cVideoDirectory::Name()) == 0) { +#else if (mPath.compare(0, strlen(VideoDirectory), VideoDirectory) == 0) { +#endif *(mLog->log())<< DEBUGPREFIX << " Found video dir request. serving " << mPath << endl; ok_to_serve = true; |