summaryrefslogtreecommitdiff
path: root/database/resources.cpp
diff options
context:
space:
mode:
authorDenis Loh <denis.loh@gmail.com>2010-01-25 11:47:10 +0100
committerDenis Loh <denis.loh@gmail.com>2010-01-25 11:47:10 +0100
commit0152f33daffe3fe943d6a134409d02df7ecaa982 (patch)
treecbfd6232e9e8d87ac1c034be41202ca576f81fe9 /database/resources.cpp
parent2103055b5ebfa389a5bec4c98f414608e959bba4 (diff)
downloadvdr-plugin-upnp-0152f33daffe3fe943d6a134409d02df7ecaa982.tar.gz
vdr-plugin-upnp-0152f33daffe3fe943d6a134409d02df7ecaa982.tar.bz2
Fixed small bug which leads to an empty TV folder
Diffstat (limited to 'database/resources.cpp')
-rw-r--r--database/resources.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/database/resources.cpp b/database/resources.cpp
index d0ca481..8ff478f 100644
--- a/database/resources.cpp
+++ b/database/resources.cpp
@@ -184,7 +184,7 @@ int cUPnPResources::createFromChannel(cUPnPClassVideoBroadcast* Object, cChannel
cAudioVideoDetector* Detector = new cAudioVideoDetector(Channel);
- if(!Detector->detectProperties()){
+ if(Detector->detectProperties()){
ERROR("Cannot detect channel properties");
delete Detector;
return -1;