1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2024-11-16 10:08:40 +02:00
photo-importer/photo-importer-win.cfg
Alexander Bushnev e1b4cc04b4 Add add_orig_name option
Add /etc/photo-importer.cfg as additional default config
Update config comments
2022-12-20 01:05:10 +01:00

64 lines
1.4 KiB
INI

[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 = 1
# Use shutil libarary in place of system calls (bool, 0/1)
# slower but provide more cross platform compatibility
use_shutil = 1
# Add original filename, if it does not contain a timestamp (bool, 0/1)
# (Useful if filename contains some notable information)
add_orig_name = 0
[server]
# Server port
port = 8080
# Path to html files
web_path = ..\web
# Imported output path
out_path = C:\
# Fixed input path
in_path =
# Log file
log_file = ..\photo-importer-server.log