-
Notifications
You must be signed in to change notification settings - Fork 8
/
photo-importer.cfg
67 lines (50 loc) · 1.63 KB
/
photo-importer.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
[main]
# time source order
time_src_image = exif,name
time_src_video = exif,name,attr
time_src_audio = exif,name,attr
# Date/Time formats
out_date_format = %%Y/%%Y-%%m-%%d
out_time_format = %%Y-%%m-%%d_%%H-%%M-%%S
# Output sub directorines
out_subdir_image = Foto
out_subdir_video = Video
out_subdir_audio = Audio
# File extensions
file_ext_image = jpeg,jpg,cr2
file_ext_video = mp4,mpg,mpeg,mov,avi,mts,3gp,m4v
file_ext_audio = mp3,3gpp,m4a,wav,aac
file_ext_garbage = thm,ctg
file_ext_ignore = ini,zip,db
# Thread count (int, count)
threads_count = 2
# Remove garbage files (photo config, thumbnails, etc.) (bool, 0/1)
remove_garbage = 1
# Remove empty directories (bool, 0/1)
remove_empty_dirs = 1
# Remove source files (in case of out_path specified) (bool, 0/1)
move_mode = 1
# Umask for new folder and copied files (int, octal)
umask = 0o000
# Use jpegtran in place of exiftran (bool, 0/1)
use_jpegtran = 0
# Use shutil libarary in place of system calls (bool, 0/1)
# slower but provide more cross platform compatibility
use_shutil = 0
# Add original filename, if it does not contain a timestamp (bool, 0/1)
# (Useful if filename contains some notable information)
add_orig_name = 0
# This time shift (in seconds) will be added to the original timestamp during renaming
# (useful if original file have a wrong timestamp, timestamp will no affected)
time_shift = 0
[server]
# Server port
port = 8080
# Path to html files
web_path = /usr/share/photo-importer/web/
# Imported output path
out_path = /mnt/multimedia/NEW/
# Fixed input path
in_path =
# Log file
log_file = /var/log/photo-importer-server.log