mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Compile time switch VFAT to enable Windows compatible file names
This commit is contained in:
parent
3586013b8f
commit
ad27adfef3
2
HISTORY
2
HISTORY
@ -397,3 +397,5 @@ Video Disk Recorder Revision History
|
|||||||
- SVDRP can now immediately reuse the same port if VDR is restarted.
|
- SVDRP can now immediately reuse the same port if VDR is restarted.
|
||||||
- SVDRP now has a timeout after which the connection is automatically closed
|
- SVDRP now has a timeout after which the connection is automatically closed
|
||||||
(default is 300 seconds, can be changed in "Setup").
|
(default is 300 seconds, can be changed in "Setup").
|
||||||
|
- The compile time switch VFAT can be used to make VDR avoid the ':' character
|
||||||
|
in file names (VFAT can't handle them). Do 'make VFAT=1' to enable this.
|
||||||
|
7
INSTALL
7
INSTALL
@ -46,6 +46,13 @@ interface. These modes are useful when testing new menus if you
|
|||||||
only have a remote connection to the VDR (which, in my case, is
|
only have a remote connection to the VDR (which, in my case, is
|
||||||
located in the living room and has neither a monitor nor a keyboard).
|
located in the living room and has neither a monitor nor a keyboard).
|
||||||
|
|
||||||
|
If your video directory will be on a VFAT partition, add the compile
|
||||||
|
time switch
|
||||||
|
|
||||||
|
VFAT=1
|
||||||
|
|
||||||
|
to the 'make' command.
|
||||||
|
|
||||||
When running, the 'vdr' program writes status information into the
|
When running, the 'vdr' program writes status information into the
|
||||||
system log file (/var/log/messages). You may want to watch these
|
system log file (/var/log/messages). You may want to watch these
|
||||||
messages (tail -f /var/log/mesages) to see if there are any problems.
|
messages (tail -f /var/log/mesages) to see if there are any problems.
|
||||||
|
7
Makefile
7
Makefile
@ -4,7 +4,7 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.18 2001/01/13 12:26:43 kls Exp $
|
# $Id: Makefile 1.19 2001/02/18 16:12:14 kls Exp $
|
||||||
|
|
||||||
DVBDIR = ../DVB
|
DVBDIR = ../DVB
|
||||||
|
|
||||||
@ -25,6 +25,11 @@ ifdef DEBUG_OSD
|
|||||||
DEFINES += -DDEBUG_OSD
|
DEFINES += -DDEBUG_OSD
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifdef VFAT
|
||||||
|
# for people who want their video directory on a VFAT partition
|
||||||
|
DEFINES += -DVFAT
|
||||||
|
endif
|
||||||
|
|
||||||
all: vdr
|
all: vdr
|
||||||
font: genfontfile fontfix.c fontosd.c
|
font: genfontfile fontfix.c fontosd.c
|
||||||
@echo "font files created."
|
@echo "font files created."
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: recording.c 1.27 2001/02/11 14:53:44 kls Exp $
|
* $Id: recording.c 1.28 2001/02/18 16:14:05 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
@ -21,7 +21,11 @@
|
|||||||
|
|
||||||
#define RECEXT ".rec"
|
#define RECEXT ".rec"
|
||||||
#define DELEXT ".del"
|
#define DELEXT ".del"
|
||||||
|
#ifdef VFAT
|
||||||
|
#define DATAFORMAT "%4d-%02d-%02d.%02d.%02d.%02d.%02d" RECEXT
|
||||||
|
#else
|
||||||
#define DATAFORMAT "%4d-%02d-%02d.%02d:%02d.%02d.%02d" RECEXT
|
#define DATAFORMAT "%4d-%02d-%02d.%02d:%02d.%02d.%02d" RECEXT
|
||||||
|
#endif
|
||||||
#define NAMEFORMAT "%s/%s/" DATAFORMAT
|
#define NAMEFORMAT "%s/%s/" DATAFORMAT
|
||||||
|
|
||||||
#define RESUMEFILESUFFIX "/resume.vdr"
|
#define RESUMEFILESUFFIX "/resume.vdr"
|
||||||
|
Loading…
Reference in New Issue
Block a user