-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevices.ini
More file actions
60 lines (46 loc) · 2.11 KB
/
Copy pathdevices.ini
File metadata and controls
60 lines (46 loc) · 2.11 KB
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
# Copy this file to devices.ini and put your own players in.
#
# One section per device. The section name is also the key for its logins, so
# renaming a device means entering its logins again. Exactly one device must be
# "role = master", everything else is a clone.
#
# No passwords in here. Run save_credentials.py after adding a device.
[player-lobby]
ip = 192.168.1.10
role = master
[player-canteen]
ip = 192.168.1.11
[player-hallway]
ip = 192.168.1.12
# Everything below is optional. These are the defaults, so you can delete
# single lines or the whole section.
[settings]
# Samba share that holds the media files, and the SMB port.
share_name = PiShare
smb_port = 139
# Seconds to wait for a single SMB / HTTP answer before a device counts as dead.
# This is per request, not for the whole transfer - big files are fine.
smb_timeout = 60
http_timeout = 20
# Seconds between phase 1 (files) and phase 2 (settings).
delay_between_phases = 5
# Hard stop. After this many minutes the script kills itself with exit code 3,
# even if it is stuck in a dead network connection. Keep it below the interval
# of the scheduled task so a run can never block the next one.
max_runtime_minutes = 45
# yes = before doing anything, compare the clone's asset list with the master's.
# Clones that already match are skipped completely, so an hourly run with
# no changes takes seconds instead of minutes.
# no = wipe every clone and copy everything, every single run.
# The comparison ignores asset_id, uri, start_date, end_date, is_active and
# is_processing, because Anthias overwrites those when it imports an asset.
copy_only_changed = yes
# A file being copied is held in memory up to this size. Anything bigger is
# written to a temp file instead and deleted again right after. Only one file is
# ever buffered at a time, so this is also the peak memory the script can use.
memory_buffer_mb = 64
# Where those temp files go. Empty = the Windows temp folder of the task user.
temp_dir =
# Paths, relative to this file unless they are absolute.
credential_file = anthias_secure_credentials.dat
log_file = logs/anthias.log