I am trying to use assetSubdirectoryDatestampFormat and want to have it in YYYY/YYYY-MM format (without day). Changed
assetSubdirectoryDatestampFormat = “y/y-MM” in ~/Pictures/.photostructure/settings.toml but seeing no new directories in my Library dir ~/Pictures. Fresh PS installation.
@mrm Yes, the files are on NAS mounted share outside of ~/Pictures. They are imported OK, if I leave the assetSubdirectoryDatestampFormat setting commented out, but the directories structure is YYYY/YYYY-MM-DD and this is not what I am trying to achieve.
You’ve had a bunch of problems with settings, sorry about that! I wonder if the settings.toml that you’re editing isn’t the one that PhotoStructure is reading from, or however you’re editing it, results in an invalid config file?
Also: are you removing the comment in front of the default value? You need to remove the # prefix, which is a comment.
This will be ignored, as it’s a comment:
# assetSubdirectoryDatestampFormat = "y/y-MM"
This is correct:
assetSubdirectoryDatestampFormat = "y/y-MM"
If this isn’t the issue, can you email or DM me a file that you’ve edited so I can check?
FWIW, I use VS Code with the “Event Better TOML” extension, it helps making comments (and mistakes) nice and obvious:
For this setting (and all settings), know that you can also use environment variables, which always override any defaults or whatever’s found in your settings.toml files. Setting
I had an issue where I edited the settingsfile in notepad and PS started throwing errors related to not beeing able to read the settings file.
I managed to identify the problem and it was related to encoding. I dont remeber which one but i think it was that notepad changed from or to utf BOM/ w/o BOM. After reverting encoding with notepad++ to the same as the other settings file it worked perfect again.
It might be good if PS either could determine encoding before ingestion or simply retry With/without BOM in case it fails.
Also it would be good if PS recreated the default settings file on startup if it is missing so that you easily could restore defaults by removing the settings file.
//Hannes
Written on mobile, apologies for spelling
Sorry about delayed reply, but I already ditched that installation. New one works fine. I don’t know what was wrong with it, but I use vi on U18 to change settings file(s).
What I meant - I just use VI on Ubuntu 16, not Notepad or Notepad++ on Windows. What would be relevant bit in vimrc? I don’t have .vimrc in my ~/, but I have /etc/vim/vimrc file…