]> git.vomp.tv Git - vompserver.git/commitdiff
Fix compat with vdr 1.2
authorChris Tallon <chris@vomp.tv>
Sun, 7 May 2006 20:44:50 +0000 (20:44 +0000)
committerChris Tallon <chris@vomp.tv>
Sun, 7 May 2006 20:44:50 +0000 (20:44 +0000)
mvpclient.c

index 8fd0b8daf3a5c150a8d2bf9d942ab27322e0aa6e..d3cd9c89a2fb50fc4a097a04c1ea37036130439c 100644 (file)
@@ -345,7 +345,9 @@ int MVPClient::processDeleteRecording(UCHAR* data, int length)
       if (recording->Delete())
       {
         // Copy svdrp's way of doing this, see if it works
+#if VDRVERSNUM > 10300
         ::Recordings.DelByName(recording->FileName());
+#endif
         sendULONG(1);
       }
       else