Is there any way to trigger a specific job (i.e. video converting) via CLI? #842
-
I run pigallery2 without "Password protection" and as a LimitedGuest. Thanks for such a great app. So everytime I upload some video, to transcode them, I need to enable Password protection and then run job from WEBUI's settings and once that is done, turn off Password protection. This work flow is cumbersome. If I could do run the job via CLI, it would be great. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
There is a similar issue somewhere.
Ppl use curl or similar to do the http call that the app does from settings.
…-- Sorry for being brief, sent from my phone.
On Sat, 2 Mar 2024, 06:31 Rahil Bhimjiani, ***@***.***> wrote:
I run pigallery2 without "Password protection" and as a LimitedGuest.
Thanks for such a great app.
So everytime I upload some video, to transcode them, I need to enable
Password protection and then run job from WEBUI's settings and once that is
done, turn off Password protection.
This work flow is cumbersome. If I could do run the job via CLI, it would
be great.
—
Reply to this email directly, view it on GitHub
<#842>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZKA5Q5PVHNU3W26HGUP2TYWFP2TAVCNFSM6AAAAABEC2I2J2VHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGMYDGMBTHE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
That's exactly what I'm trying to do. Setup some kind of a cron job. But I'm not that familiar with JS. That's why I was asking for some CLI (bash) solution |
Beta Was this translation helpful? Give feedback.
The app has a built in scheuler I mean to use that:
using bash and cron will be very complex, you will need to emulate a browser and do a log in. If you do not have password protection enabled but the default user is not admin, its not possible to do.