Skip to content
Discussion options

You must be logged in to vote

If you create an album using the web gui there is a button at the bottom called "To .pg2conf". That will output the JSON format of the search query that you created. You can then take that and paste it into a file called .saved_searches.pg2conf in the root of the folder where your pictures are stored.

I edit the file via Nextcloud (since thats how I upload my pictures) and PiGallery2 picks up the file. I've done many PG2 upgrades and have not "lost" a search query.

[
  {
    "name": "entire family saved search query",
    "searchQuery": {
      "type": 1,
      "list": [
        {
          "type": 105,
          "text": "person1 name",
          "matchType": 1
        },
        {
      …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by barncrow
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants