-
Notifications
You must be signed in to change notification settings - Fork 11
/
defaults.env
3066 lines (2554 loc) · 89 KB
/
defaults.env
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#
# Welcome to PhotoStructure! These are the settings for version 1.0.0.
#
# Please see <https://photostructure.com/environment-variables> for more
# information about using environment variables with PhotoStructure.
#
# PLEASE NOTE: PhotoStructure does not read the contents of this
# "defaults.env" (or any ".env" variant).
#
# The following settings categories are stored in the system settings.toml:
#
# * System.Desktops
# * System.Logging
# * System.Networking
# * System.Paths
# * System.Processes
# * System.Timeouts
# * System.Tools
# * System.Updates
# * System.Volumes
#
# The following settings categories are stored in the library settings.toml:
#
# * Library.Db
# * Library.Deduping
# * Library.Filters
# * Library.HealthChecks
# * Library.Parsing
# * Library.Previews
# * Library.Reporting
# * Library.Sidecars
# * Library.Subscriptions
# * Library.Sync
# * Library.Tagging
# * Library.Web
#
# Please visit <https://forum.photostructure.com> if you find anything that
# may be a bug or have any questions, ideas, or feedback. We'd love to hear
# from you!
#
##############################################################################
#
# Settings for System.paths:
#
# +-----------------------+
# | copyAssetsToLibrary |
# +-----------------------+
#
# Should PhotoStructure copy photos and videos to your PhotoStructure Library?
# This setting holds the value for the welcome page's "May PhotoStructure
# organize your photos and videos?" section. Read more about this setting
# here:
# <https://photostructure.com/getting-started/automatic-library-organization/>.
#
# PS_COPY_ASSETS_TO_LIBRARY="true"
# +--------------+
# | libraryDir |
# +--------------+
#
# This is the absolute path to your PhotoStructure library. If missing, or set
# to an empty string, the welcome page will be shown when PhotoStructure
# launches. Use native file separators (so on windows, use back-slashes).
#
# Aliases: PS_LIBRARY
#
# PS_LIBRARY_DIR=""
# +-----------------+
# | scanAllDrives |
# +-----------------+
#
# Should PhotoStructure scan all folders on all drives available to this
# computer for photos and videos?
#
# PS_SCAN_ALL_DRIVES="true"
# +------------------+
# | scanMyPictures |
# +------------------+
#
# Deprecated, and will be removed in the next version. If set, PhotoStructure
# will automatically add your pictures directory to your `scanPaths` setting
# and then flip this setting back to false.
#
# PS_SCAN_MY_PICTURES="false"
# +-------------+
# | scanPaths |
# +-------------+
#
# This holds an array of absolute paths to scan for assets. If you are setting
# this via an environment variable, you may use either standard PATH
# formatting, like `PS_SCAN_PATHS="/path/one:/path/two"`, or use JSON
# encoding, like `PS_SCAN_PATHS='["/path/one","/path/two"]'`.
#
# PS_SCAN_PATHS=""
# +------------+
# | cacheDir |
# +------------+
#
# Where would you like PhotoStructure's scratch file directory? This must be a
# fast, local disk with several gigabytes free. Note that if
# PS_FORCE_LOCAL_DB_REPLICA is enabled, the local DB replica will be stored in
# this directory.
#
# PS_CACHE_DIR="$HOME/.cache/photostructure"
# +-----------------------+
# | forceLocalDbReplica |
# +-----------------------+
#
# Libraries on remote filesystems can suffer from bad performance and
# inconsistent transactions due to slow file I/O and missing file locking
# mechanics. When opening libraries on remote filesystems, or if this setting
# is `true`, PhotoStructure will copy the library database to the `cacheDir`
# and perform I/O against this local replica. Changes made to the local db
# replica are then periodically copied back to the remote library.
#
# For details, see
# <https://forum.photostructure.com/t/whats-force-local-db-replica/837>.
#
# PS_FORCE_LOCAL_DB_REPLICA="false"
# +----------------+
# | neverIgnored |
# +----------------+
#
# Paths to files or directories that should not be ignored, even if they are
# hidden or have .nomedia files.
#
# PS_NEVER_IGNORED=""
# +----------------+
# | originalsDir |
# +----------------+
#
# This is the directory that PhotoStructure uses to store original images when
# "copyAssetsToLibrary" is enabled. Absolute paths are supported. Relative
# paths are evaluated from your libraryDir. This setting defaults to ".",
# which is the same as your PhotoStructure library directory.
#
# If you open your PhotoStructure library on a different computer, and that
# computer doesn't have access to your originals volume, full-screen zoom
# won't work, and non-transcoded videos will not play.
#
# This system setting needs to be set appropriately on different computers (it
# won't be set automatically!)
#
# If you have a large library and want to use an SSD, we recommend you set
# your libraryDir to your SSD, and use this setting to store your originals on
# a larger volume, rather than using the "previewsDir" setting.
#
# See
# <https://forum.photostructure.com/t/hybrid-photostructure-libraries/775>.
#
# PS_ORIGINALS_DIR="."
# +-----------+
# | pidfile |
# +-----------+
#
# This is the absolute path to the PID file for the main process. This is
# optional and only used by PhotoStructure for Servers.
#
# Aliases: PIDFILE
#
# PS_PIDFILE=""
# +---------------+
# | previewsDir |
# +---------------+
#
# This is the directory that PhotoStructure uses to store preview images. This
# defaults to the ".photostructure/previews" directory inside your
# PhotoStructure library. Absolute paths here are supported, but if you keep
# your library and previews directory separated, take care when you open your
# library on different computers, as this setting needs to be adjusted for
# those computers as well.
#
# NOTE: "originalDirs" is recommended instead of this setting; If you get
# "previewsDir" wrong, your library won't work. If you get "originalsDir"
# wrong, you just break full-screen asset zooming and playback for
# non-transcoded videos.
#
# See
# <https://forum.photostructure.com/t/hybrid-photostructure-libraries/775>.
#
# PS_PREVIEWS_DIR=".photostructure/previews"
# +--------------------+
# | scanLibraryFirst |
# +--------------------+
#
# Should PhotoStructure scan your library before all other paths are
# synchronized?
#
# PS_SCAN_LIBRARY_FIRST="false"
# +-------------------+
# | scanLibraryLast |
# +-------------------+
#
# Should PhotoStructure scan your library after all other paths are
# synchronized?
#
# PS_SCAN_LIBRARY_LAST="true"
##############################################################################
#
# Settings for System.logging:
#
# +------------+
# | logColor |
# +------------+
#
# Output all logs with terminal escape codes to colorize output. If NO_COLOR
# is set, this defaults to false. See <https://no-color.org/>.
#
# PS_LOG_COLOR="true"
# +------------------+
# | logCompression |
# +------------------+
#
# Should log files be compressed as they are rotated?
#
# PS_LOG_COMPRESSION="true"
# +----------+
# | logDir |
# +----------+
#
# Determines the directory that log files will be written to.
#
# PS_LOG_DIR="$HOME/.config/PhotoStructure/logs"
# +----------------+
# | logElapsedMs |
# +----------------+
#
# Prefix log entries by a timestamp (if set to false), or by the number of
# milliseconds since startup (if set to true).
#
# PS_LOG_ELAPSED_MS="false"
# +------------+
# | logLevel |
# +------------+
#
# Determines which level of log messages are emitted to log files. May be
# "debug", "info", "warn", "error", "fatal", or several log level directives
# followed by a context (like "debug:rpc").
#
# Aliases: PS_LOG,LOG
#
# PS_LOG_LEVEL="error"
# +----------+
# | logSql |
# +----------+
#
# Log SQL queries to the default log level. *This is really chatty* and
# impacts performance. Normally these log messages are completely disabled.
#
# PS_LOG_SQL="false"
# +-------------+
# | logStdout |
# +-------------+
#
# Log to stdout? This should be false unless you're running a service by hand.
#
# This setting is transient and only set via environment variables.
#
#
# Aliases: LOG_STDOUT,PS_STDOUT
#
# PS_LOG_STDOUT="false"
# +-------------+
# | logWebDir |
# +-------------+
#
# Determines the directory that log files will be written to. If unset, will
# use logDir.
#
# PS_LOG_WEB_DIR=""
# +------------------+
# | logWebRequests |
# +------------------+
#
# Write an access log for all web requests?
#
# PS_LOG_WEB_REQUESTS="false"
# +------------+
# | tailLogs |
# +------------+
#
# Output all logs from currently running PhotoStructure processes? This should
# be false unless you're running a service by hand.
#
# This setting is transient and only set via environment variables.
#
#
# PS_TAIL_LOGS="false"
##############################################################################
#
# Settings for System.timeouts:
#
# +--------------------+
# | commandTimeoutMs |
# +--------------------+
#
# How long should PhotoStructure wait for a command that touches the
# filesystem (and doesn't do anything computationally expensive)? Note that
# external hard drives can take 10-15 seconds to spin up, so values less than
# that may result in timeouts.
#
# PS_COMMAND_TIMEOUT_MS="25000"
# +-----------------+
# | debugTimeouts |
# +-----------------+
#
# Should PhotoStructure log timeout sources? Note that this instrumentation
# has a performance impact.
#
# PS_DEBUG_TIMEOUTS="false"
# +--------------------+
# | mountpointsTtlMs |
# +--------------------+
#
# How frequently should PhotoStructure scan for new volumes (so PhotoStructure
# can detect when drives are inserted or ejected)? Shorter than 10-15 seconds
# may cause issues on Windows.
#
# PS_MOUNTPOINTS_TTL_MS="60000"
# +-----------------------+
# | volumeMetadataTtlMs |
# +-----------------------+
#
# How frequently should PhotoStructure reload volume metadata (like
# bytes-free, which is used in a health check)? Values less than a minute are
# not necessary.
#
# PS_VOLUME_METADATA_TTL_MS="900000"
##############################################################################
#
# Settings for System.networking:
#
# +----------------------------+
# | exposeNetworkWithoutAuth |
# +----------------------------+
#
# Normally the web service is only accessible to the computer running
# PhotoStructure. Setting this to true will expose your library to all
# computers on your network. You should own or trust all systems on that
# network, as there is no auth in PhotoStructure currently. Future versions of
# PhotoStructure will add authorization mechanisms, at which point this
# setting will be deleted.
#
# **Don't enable this unless you know what you are doing**.
#
# PS_EXPOSE_NETWORK_WITHOUT_AUTH="false"
# +------------+
# | httpPort |
# +------------+
#
# Network port for HTTP access to your PhotoStructure library.
#
# PS_HTTP_PORT="1787"
# +-------------+
# | localhost |
# +-------------+
#
# If "exposeNetworkWithoutAuth" is false, what value should PhotoStructure use
# for localhost? (Some firewalls are OK with "127.0.0.1", some require
# "localhost"). See <https://letsencrypt.org/docs/certificates-for-localhost/>
# and
# <https://photostructure.com/faq/troubleshooting/#windows-firewall-issues>.
#
# PS_LOCALHOST="127.0.0.1"
# +-----------+
# | rpcPort |
# +-----------+
#
# Network port for rpc access to your PhotoStructure library. Only binds to
# loopback (even if exposeNetworkWithoutAuth is true).
#
# PS_RPC_PORT="1807"
# +--------------+
# | trustProxy |
# +--------------+
#
# Support for PhotoStructure instances running behind a reverse proxy. See
# <http://expressjs.com/en/guide/behind-proxies.html>. This setting should
# either be "false" (don't trust any proxies), "loopback", (only trust
# localhost), a single subnet (like "127.0.0.0/8"), or a comma-delimited set
# of subnets.
#
# PS_TRUST_PROXY="false"
##############################################################################
#
# Settings for System.processes:
#
# +------------------+
# | cpuLoadPercent |
# +------------------+
#
# PhotoStructure runs many things in parallel during library synchronization.
# The maximum number of concurrent file imports that PhotoStructure will
# schedule at a time will be the number of CPUs that this system has
# multiplied by this percent. A higher value here will allow PhotoStructure to
# run more tasks in parallel, but may impact your system's responsiveness. 75%
# should be a reasonable balance between keeping your system responsive and
# importing your library quickly. Setting this value to 0 will still allow 1
# task to run concurrently. System memory will also be taken into account to
# try to prevent swapping.
#
# This setting is ignored if "maxSyncFileJobs" and "sharpThreadsPerJob" are
# set.
#
# Min value: 0
# Max value: 200
#
# PS_CPU_LOAD_PERCENT="75"
# +-------------------------+
# | exiftoolProcsPerChild |
# +-------------------------+
#
# Each PhotoStructure process spins up an ExifTool when needed. Note that the
# `web`, `sync`, and `sync-file` services all use exiftool, so the total
# number of exiftool processes can be many times larger than this value.
#
# Min value: 1
# Max value: 8
#
# PS_EXIFTOOL_PROCS_PER_CHILD="2"
# +---------------------------+
# | fatalErrorRatePerMinute |
# +---------------------------+
#
# If PhotoStructure sees errors at a higher rate per minute than this setting,
# PhotoStructure will shut down. If this value is too high, PhotoStructure may
# look busy, but it's just busyfailing. If this value is set too low,
# temporary errors (due to network flakiness or USB hiccups) might shut down
# PhotoStructure needlessly.
#
# PS_FATAL_ERROR_RATE_PER_MINUTE="10"
# +-----------------+
# | ffmpegThreads |
# +-----------------+
#
# When transcoding videos, what value should we give to "ffmpeg -threads"?
#
# This defaults to min(1, <# of cpus> * cpuLoadPercent / 4).
#
# Note that "ffmpeg -threads" _most likely doesn't do what you expect_: a
# value of 0 will consume all CPUs (which is why it isn't allowed). A value of
# N will actually mean > N CPUs are used (due to demux threading and other
# details). See <https://stackoverflow.com/a/41010102>.
#
# PS_FFMPEG_THREADS=""
# +-----------+
# | inspect |
# +-----------+
#
# Should processes run with --inspect? This should only be enabled
# temporarily, as it impacts both performance and security.
#
# This setting is transient and only set via environment variables.
#
#
# PS_INSPECT="false"
# +---------------+
# | maxMemoryMb |
# +---------------+
#
# PhotoStructure will restart services if they use more than this value
# (measured in megabytes, or 1,000,000 bytes). Note that this is not the
# allocated memory. See maxRssMemoryMb for total allocated.
#
# Min value: 0
# Max value: 8000
#
# PS_MAX_MEMORY_MB="500"
# +------------------+
# | maxRssMemoryMb |
# +------------------+
#
# PhotoStructure will restart services if their' resident set size consumes
# more than this value (measured in megabytes, or 1,000,000 bytes).
#
# Min value: 0
# Max value: 8000
#
# PS_MAX_RSS_MEMORY_MB="1024"
# +-------------------+
# | maxSyncFileJobs |
# +-------------------+
#
# How many concurrent "sync-file" jobs can run during an import? This will be
# clamped between 1 and 24.
#
# If set explicitly, this and "sharpThreadsPerJob" will override
# "cpuLoadPercent" and "maxSyncFileJobsWhenRemote" settings.
#
# PS_MAX_SYNC_FILE_JOBS=""
# +-----------------------------+
# | maxSyncFileJobsWhenRemote |
# +-----------------------------+
#
# How many concurrent "sync-file" jobs can run if the library is on a remote
# volume? This defaults to 2 to try to avoid overwhelming HDD I/O on the
# remote NAS.
#
# PS_MAX_SYNC_FILE_JOBS_WHEN_REMOTE="2"
# +----------------------+
# | maxTasksPerProcess |
# +----------------------+
#
# PhotoStructure will recycle sync-file processes after they handle this
# number of requests. Smaller values may reduce overall memory pressure.
# Larger values amortize startup costs over fewer restarts.
#
# Min value: 1
# Max value: 5000
#
# PS_MAX_TASKS_PER_PROCESS="250"
# +-----------------+
# | minDiskFreeGb |
# +-----------------+
#
# PhotoStructure will pause processing if the GB free on the disk that your
# library is stored on drops below this value. The value provided here will be
# multiplied by 1000^3. Note that many OSes will corrupt themselves when disks
# fill up, and SSDs can fail as they approach full capacity. A value of less
# than 8 may be unsafe (due to hibernation and OS update files).
#
# Set this value to 0 to disable free disk space health checks.
#
# PS_MIN_DISK_FREE_GB="6"
# +-----------------------------------+
# | minTimeBetweenServiceRestartsMs |
# +-----------------------------------+
#
# If a service (like web, sync, or sync-file) is restarted due to an error,
# how many ms must elapse before another restart is allowed? This helps
# prevent system load due to service flapping.
#
# PS_MIN_TIME_BETWEEN_SERVICE_RESTARTS_MS="7000"
# +------------------+
# | pollIntervalMs |
# +------------------+
#
# The number of milliseconds we wait between polling for changes in remote
# filesystems. This defaults to 1 minute, to minimize remote filesystem load.
#
# PS_POLL_INTERVAL_MS="60000"
# +---------------+
# | probationMs |
# +---------------+
#
# Normally when subsystems crash, PhotoStructure restarts them after a delay.
# Unfortunately, if there is a persistent error, this means PhotoStructure
# keeps trying something that won't ever work; it looks busy, but it's just
# busy failing. To prevent this situation, PhotoStructure will shut down if
# there are high error rates within 2 minutes of starting. (2 minutes should
# be long enough to spin up the web process, sync process, and import at least
# one pending file). Setting this to 0 will prevent PhotoStructure from
# exiting due to high error rates.
#
# PS_PROBATION_MS="120000"
# +-------------------+
# | processPriority |
# +-------------------+
#
# By default, PhotoStructure runs child processes with a "below normal"
# priority, so your system remains usable while imports run. Changing this
# value to "normal" or "above normal" may speed up imports but cause your
# system to be unresponsive. Changing this value to "idle" may prevent imports
# from running at all.
#
# Valid values: AboveNormal,Normal,BelowNormal,Idle
#
# PS_PROCESS_PRIORITY="BelowNormal"
# +----------------------+
# | sensitiveEnvRegExp |
# +----------------------+
#
# PhotoStructure spawns a number of processes (including "exiftool" and
# "ffmpeg"), and passes through environment variables, mostly to ensure locale
# and TZ settings are correct. To prevent environment values that contain
# sensitive information, like API access tokens, from either being logged, or
# being accessed by external tools, all environment variables whose key
# matches this setting will be removed. This regex is applied
# case-insensitively.
#
# PS_SENSITIVE_ENV_REG_EXP="key|secret|pass|_user|aws_"
# +------------------+
# | setupTimeoutMs |
# +------------------+
#
# To prevent unhealthy services running as zombies, they self-terminate if the
# setup processes are not complete within this amount of time. Note that only
# the environment variable value is used for this setting.
#
# PS_SETUP_TIMEOUT_MS="35000"
# +----------------------+
# | sharpThreadsPerJob |
# +----------------------+
#
# How many image processing threads can be spun per sync-file process? This
# will be clamped between 1 and 6.
#
# This and "maxSyncFileJobs" override "cpuLoadPercent".
#
# PS_SHARP_THREADS_PER_JOB=""
##############################################################################
#
# Settings for System.tools:
#
# +-----------------+
# | dcraw_emuPath |
# +-----------------+
#
# This should be the absolute, native path to the "dcraw_emu" binary on this
# system. If this is set to "dcraw_emu", PhotoStructure will search your
# $PATH. See <https://www.libraw.org/docs/Samples-LibRaw.html>.
#
# PS_DCRAW_EMU_PATH="dcraw_emu"
# +--------------+
# | enableSIMD |
# +--------------+
#
# Should PhotoStructure enable SIMD extensions when running image operations?
# This defaults to false on macOS due to instability on that platform.
#
# PS_ENABLE_SIMD="true"
# +-------------------+
# | enableVipsCache |
# +-------------------+
#
# Should PhotoStructure enable VIPS caching, which may help speed up image
# operations? This defaults to false to reduce memory consumption.
#
# PS_ENABLE_VIPS_CACHE="false"
# +-----------------+
# | ffmpegHwaccel |
# +-----------------+
#
# FFmpeg supports both software and hardware encoders. Valid values include
# "auto" which should work for everyone, "cuda" for NVIDIA GPUs, or use
# "disable", "no", "false", or "" to disable. Run "ffmpeg -hwaccels" to see
# supported acceleration methods. See
# <https://forum.photostructure.com/t/hardware-accelerated-encoding-transcoding/166>,
# <https://trac.ffmpeg.org/wiki/HWAccelIntro>, and
# <https://github.com/NVIDIA/nvidia-docker> for more details.
#
# PS_FFMPEG_HWACCEL="disable"
# +--------------+
# | ffmpegPath |
# +--------------+
#
# This should be the absolute, native path to the "ffmpeg" binary on this
# system. If this is set to "ffmpeg", PhotoStructure will search your $PATH.
# PhotoStructure prefers using ffmpeg to vlc. See
# <https://photostructure.com/getting-started/video-support/>.
#
# PS_FFMPEG_PATH="ffmpeg"
# +-----------------------+
# | ffmpegTranscodeArgs |
# +-----------------------+
#
# The following are the default arguments added to transcode requests made to
# ffmpeg (when ffmpeg is available). The following arguments will follow
# "ffmpeg -loglevel error -threads T -i INPUT_FILE_PATH" (where T is replaced
# by ~half the available CPU threads, and INPUT_FILE_PATH is the full native
# pathname to the source video).
#
# CAUTION: this is an advanced setting. Editing this may cause videos that
# require transcoding to not be imported, or not be viewable on all browsers
# and platforms. See
# <https://forum.photostructure.com/t/poor-transcoding-of-videos-in-wider-color-spaces-rec-2020/646>
# for more details.
#
# PS_FFMPEG_TRANSCODE_ARGS="[\"-c:a\",\"aac\",\"-c:v\",\"libx264\",\"-pix_fmt\",\"yuv420p\",\"-color_trc\",\"smpte2084\",\"-color_primaries\",\"bt2020\",\"-movflags\",\"faststart\",\"-profile:v\",\"high\"]"
# +-------------------+
# | heifConvertPath |
# +-------------------+
#
# This should be the absolute, native path to the "heif-convert" binary on
# this system. If this is set to "heif-convert", PhotoStructure will search
# your $PATH. See <https://photostructure.com/getting-started/heif-support/>.
#
# PS_HEIF_CONVERT_PATH="heif-convert"
# +------------------+
# | powerShellArgs |
# +------------------+
#
# The following are the default arguments added to spin up PowerShell on
# Windows devices.
#
# See
# <https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_powershell_exe?view=powershell-5.1>
# for all arguments that PowerShell.exe accepts.
#
# See
# <https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-5.1>
# for a description of Bypass.
#
# See
# <https://forum.photostructure.com/t/eliminate-powershell-profile-and-execution-policy-related-errors/184>
# for more details about why this needs to be configurable.
#
# (Versions prior to v1.0.0 only specified "-NoLogo").
#
# PS_POWER_SHELL_ARGS="[\"-NoLogo\",\"-NoProfile\",\"-ExecutionPolicy\",\"Bypass\"]"
# +---------------------+
# | powerShellCulture |
# +---------------------+
#
# If set to a non-blank value, PhotoStructure on Windows machines will set
# PowerShell's `[System.Threading.Thread]::CurrentThread.CurrentCulture` to
# this value. This allows PhotoStructure to parse PowerShell output reliably.
#
# PS_POWER_SHELL_CULTURE="en-US"
# +---------------------------+
# | showFileInFolderCommand |
# +---------------------------+
#
# If set, the first argument will be used as a command (or path to command),
# and the subsequent arguments (if present) will be used as arguments. The
# native path to the file or the file: URI will be appended, based on the
# value given to the "showFileInFolderUsesFileUri" setting. If this is set to
# an empty array, the default tool for your platform will be used instead:
# "nautilus -s" on linux, "open -R" on mac, and "explorer /select" on Windows.
#
# This is provided to support Linux desktops that don't use Gnome.
#
# PS_SHOW_FILE_IN_FOLDER_COMMAND=""
# +-------------------------------+
# | showFileInFolderUsesFileUri |
# +-------------------------------+
#
# Does the showFileInFolderCommand expect a file: URI to the file? If this is
# false, the native path will be appended instead.
#
# PS_SHOW_FILE_IN_FOLDER_USES_FILE_URI="true"
# +------------------------------+
# | showFileInFolderUsesThunar |
# +------------------------------+
#
# If we're on Linux, should we use Thunar (via dbus) to "show file in folder"?
#
# PS_SHOW_FILE_IN_FOLDER_USES_THUNAR="false"
# +-------------+
# | toolPaths |
# +-------------+
#
# These paths are appended to the PATH to ensure PhotoStructure can find and
# run external tools like ffmpeg. Use your operating system's separator to
# separate paths (":" for mac and linux, ";" for windows).
#
# PS_TOOL_PATHS="[\"/usr/local/bin\",\"/usr/local/sbin\",\"/usr/lib/libraw\",\"/opt/local/bin\",\"/opt/local/sbin\",\"/usr/sbin\",\"/usr/bin\",\"/sbin\",\"/bin\"]"
# +-----------+
# | vlcPath |
# +-----------+
#
# This should be the absolute, native path to the "vlc" binary on this system.
# If this is set to "vlc", PhotoStructure will search your $PATH.
#
# PS_VLC_PATH="vlc"
##############################################################################
#
# Settings for System.desktops:
#
# +-------------------+
# | autoHideMenuBar |
# +-------------------+
#
# If true, PhotoStructure for Desktops on Windows and Linux will auto hide the
# menu bar unless the Alt key is pressed.
#
# PS_AUTO_HIDE_MENU_BAR="false"
# +-----------------+
# | updateChannel |
# +-----------------+
#
# TL:DR; keep this on "latest." This setting only applies to PhotoStructure
# for Desktops, and controls which builds of PhotoStructure you are eligible
# to automatically update to. Please note that "alpha" builds may not even
# launch, and "beta" builds have not been thoroughly tested. Please only
# consider changing this if customer support asks you to, and that you have
# recent backups of your system.
#
# Valid values: alpha,beta,latest
#
# PS_UPDATE_CHANNEL="latest"
# +----------------------+
# | updateCheckMinutes |
# +----------------------+
#
# While running, PhotoStructure will check periodically for updates. The
# default is daily.
#
# PS_UPDATE_CHECK_MINUTES="1440"
# +------------------+
# | updateOnLaunch |
# +------------------+
#
# If true, PhotoStructure will check for updates automatically on launch.
#
# PS_UPDATE_ON_LAUNCH="true"
##############################################################################
#
# Settings for System.volumes:
#
# +--------------------------+
# | ignoreUnhealthyVolumes |
# +--------------------------+
#
# When true, PhotoStructure ignores volumes that are not healthy (due to
# needing filesystem checks, or remote filesystems that are not available).
#
# PS_IGNORE_UNHEALTHY_VOLUMES="true"
# +-----------------------+
# | readVolumeUuidFiles |
# +-----------------------+
#
# When true, PhotoStructure uses ".uuid" files found in the root directory of
# volumes as the volume UUID, which can help with cross-host library
# portability. Set this to false if you don't want PhotoStructure to read
# these ".uuid" files. See https://photostructure.com/faq/what-is-a-volume for
# more information.
#
# PS_READ_VOLUME_UUID_FILES="true"
# +-------------------------+
# | remoteFilesystemTypes |
# +-------------------------+
#
# Filesystems with these types should always be considered "remote".
#
# PS_REMOTE_FILESYSTEM_TYPES="[\"sshfs\",\"s3fs\"]"
# +-----------------------+
# | validateMountpoints |
# +-----------------------+
#
# When true, PhotoStructure ignores volumes whose mountpoints do not exist.
#
# PS_VALIDATE_MOUNTPOINTS="true"