Skip to content

Commit

Permalink
Config: Search /opt/photoprism for assets and media files photoprism#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lastzero committed Dec 17, 2021
1 parent bd1d37c commit 10d9ec7
Showing 1 changed file with 19 additions and 4 deletions.
23 changes: 19 additions & 4 deletions pkg/fs/dirs.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,17 @@ import (
)

var OriginalPaths = []string{
"/photoprism/photos/originals",
"/photoprism/library/originals",
"/photoprism/storage/originals",
"/photoprism/originals",
"/opt/photoprism/library/originals",
"/opt/photoprism/storage/originals",
"/opt/photoprism/originals",
"/library/originals",
"/storage/originals",
"/originals",
"library/originals",
"storage/originals",
"photoprism/originals",
"PhotoPrism/Originals",
"photoprism/original",
Expand All @@ -24,7 +32,6 @@ var OriginalPaths = []string{
"Pictures/Original",
"photos/originals",
"Photos/Originals",
"storage/originals",
"photos/original",
"Photos/Original",
"originals",
Expand Down Expand Up @@ -67,16 +74,23 @@ var OriginalPaths = []string{
}

var ImportPaths = []string{
"/photoprism/photos/import",
"/photoprism/library/import",
"/photoprism/storage/import",
"/photoprism/import",
"/opt/photoprism/library/import",
"/opt/photoprism/storage/import",
"/opt/photoprism/import",
"/library/import",
"/storage/import",
"/import",
"library/import",
"storage/import",
"photoprism/import",
"PhotoPrism/Import",
"pictures/import",
"Pictures/Import",
"photos/import",
"Photos/Import",
"storage/import",
"import",
"Import",
"~/pictures/import",
Expand All @@ -92,6 +106,7 @@ var ImportPaths = []string{

var AssetPaths = []string{
"/photoprism/assets",
"/opt/photoprism/assets",
"~/.photoprism/assets",
"~/photoprism/assets",
"photoprism/assets",
Expand Down

0 comments on commit 10d9ec7

Please sign in to comment.