charts icon indicating copy to clipboard operation
charts copied to clipboard

[Enhancement] Add Photoprism watch import job-ini

Open Shadoweee77 opened this issue 2 years ago • 3 comments

Is your feature request related to a problem?

Photoprism's import folder could benefit from watch folder cron job.

Describe the solution you'd like

It would be nice to get a GUI button to enable / disable it. Something like this: image

Describe alternatives you've considered

Additional context

No response

I've read and agree with the following

  • [X] I've checked all open and closed issues and my request is not there.
  • [X] I've checked all open and closed pull requests and my request is not there.

Shadoweee77 avatar Apr 10 '22 19:04 Shadoweee77

It would be nice to have the docs on how this would be done on the specific app. Like do they have an API endpoint that should be called to start the job? Does the app has a command that can be run for that?

In the link all I see is a config file, but no idea where that should go? Also the link on the top leads to a totally different project?

stavros-k avatar Apr 10 '22 20:04 stavros-k

Honestly I can't give much info on it as I don't know :/

This is the github psot by one of the devs: https://github.com/photoprism/photoprism/issues/1288 AFAIK there is no endpoint in the app itself.

This is another usefull post: https://github.com/photoprism/photoprism/issues/281#issuecomment-703461268

Sorry about the lack of those in original post.

Shadoweee77 avatar Apr 10 '22 23:04 Shadoweee77

Its not a cronjob, its an Ini file.

PrivatePuffin avatar Apr 11 '22 07:04 PrivatePuffin

This would be really nice. Just moved to truecharts and dont know how to schedule cron jobs like I would with a traditional docker setup. To answer @stavros-k I dont believe there is an API endpoint to call but there is a command "photoprism index". The binary is located at /opt/photoprism/bin/ .

codebit3 avatar Aug 31 '22 04:08 codebit3

This "ofelia" container I read about, is a totally different container. However: this is so badly documented, that i'm going to close this as a "wont fix".

PR's are welcome, but the project is not going to focus on hidden features of other projects.

PrivatePuffin avatar Aug 31 '22 12:08 PrivatePuffin

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists

truecharts-admin avatar Feb 03 '23 13:02 truecharts-admin