Hi,

I am attaching a patch for vdr 1.7.23 for the problem described here:
http://www.vdr-portal.de/board1-news/board2-vdr-news/p1047199-announce-vdr-developer-version-1-7-23/#post1047199

There appears to be a problem in listing recordings due to a bug fix
in vdr 1.7.23. "Fixed handling symbolic links in
cRecordings::ScanVideoDir()"

The attached patch just disables the translation of symbolic links to
"real" paths. So that all recordings appear to be under the same
(recordings) directory tree, as it was earlier.

Please reply with your results.

-- 
Thanks,
Sundararaj
diff --git a/recording.c b/recording.c
index cf35bb7..5772dab 100644
--- a/recording.c
+++ b/recording.c
@@ -1120,9 +1120,13 @@ void cRecordings::ScanVideoDir(const char *DirName, bool Foreground, int LinkLev
                     continue;
                     }
                  Link = 1;
+#if 0 
+                 // do not resolve the symbolic links in paths to real path
+                 // thereby keeping all the recordings under one directory
                  buffer = ReadLink(buffer);
                  if (!*buffer)
                     continue;
+#endif
                  if (stat(buffer, &st) != 0)
                     continue;
                  }
_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to