1
0
mirror of https://github.com/sashacmc/photo-importer.git synced 2024-11-16 10:08:40 +02:00
photo-importer/photo-importer.cfg
sashacmc 3e37cb28d4 Version 1.2.4
Add time_shift options
Lower case file ext during renaming
2024-05-22 23:27:02 +02:00

68 lines
1.6 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 = 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