1
0
mirror of https://github.com/VDR4Arch/vdr.git synced 2023-10-10 13:36:52 +02:00

The SVDRP command GRAB allows file names without extension again

This commit is contained in:
Klaus Schmidinger 2006-01-14 16:12:13 +01:00
parent dea4bf298a
commit 1de5335922
3 changed files with 5 additions and 5 deletions

View File

@ -213,6 +213,8 @@ Stefan Huelswitt <huels@iname.com>
is 0 is 0
for fixing canonicalizing the file name in the SVDRP command GRAB to allow full for fixing canonicalizing the file name in the SVDRP command GRAB to allow full
path names path names
for suggesting that the SVDRP command GRAB should allow file names without extension
again
Ulrich Röder <roeder@efr-net.de> Ulrich Röder <roeder@efr-net.de>
for pointing out that there are channels that have a symbol rate higher than 27500 for pointing out that there are channels that have a symbol rate higher than 27500

View File

@ -4174,3 +4174,5 @@ Video Disk Recorder Revision History
channel's schedule in the cChannel data. channel's schedule in the cChannel data.
- Made the log messages regarding lost lock of devices "info" instead of "error" - Made the log messages regarding lost lock of devices "info" instead of "error"
(suggested by Andreas Brachold). (suggested by Andreas Brachold).
- The SVDRP command GRAB allows file names without extension again (suggested by
Stefan Huelswitt).

View File

@ -10,7 +10,7 @@
* and interact with the Video Disk Recorder - or write a full featured * and interact with the Video Disk Recorder - or write a full featured
* graphical interface that sits on top of an SVDRP connection. * graphical interface that sits on top of an SVDRP connection.
* *
* $Id: svdrp.c 1.92 2006/01/14 14:55:52 kls Exp $ * $Id: svdrp.c 1.93 2006/01/14 16:08:20 kls Exp $
*/ */
#include "svdrp.h" #include "svdrp.h"
@ -683,10 +683,6 @@ void cSVDRP::CmdGRAB(const char *Option)
} }
else if (strcmp(FileName, "-") == 0) else if (strcmp(FileName, "-") == 0)
FileName = NULL; FileName = NULL;
else {
Reply(501, "Missing filename extension in \"%s\"", FileName);
return;
}
// image quality (and obsolete type): // image quality (and obsolete type):
if ((p = strtok_r(NULL, delim, &strtok_next)) != NULL) { if ((p = strtok_r(NULL, delim, &strtok_next)) != NULL) {
if (strcasecmp(p, "JPEG") == 0 || strcasecmp(p, "PNM") == 0) { if (strcasecmp(p, "JPEG") == 0 || strcasecmp(p, "PNM") == 0) {