Page 1 of 1

Updating YAC Reader Library Server - Post Processing?

Posted: Sat Jul 18, 2020 9:14 am
by LowVibe75
Hi all, no luck on the Google or forum search on this one.

Looking for a way to automatically update my YAC Reader Library when a new comic is downloaded. Command line is:

/usr/bin/YACReaderLibraryServer update-library /home/..

Nothing too fancy. Not sure where, or how I would add this into my post processing for comics? If there is a way to do it in Mylar or it's something I would need to add to NZBGet. Just running it manually every so often now but would be good to fire it off when I get some new comics.

Thanks in advance for any pointers or help.

Cheers,

G.

Re: Updating YAC Reader Library Server - Post Processing?

Posted: Thu Jul 30, 2020 3:46 am
by synapseattack
I don't know any way to trigger it from mylar but if I had to do it a small python or bash script that counts the total number of files in all subdirectories and when the number changes trigger the command. Cron it once an hour or so and you could run it manually if needed otherwise.

Re: Updating YAC Reader Library Server - Post Processing?

Posted: Sun Dec 12, 2021 5:01 am
by LowVibe75
A bit beyond my capabilities, I might go down the path of a bash script added to NZBGET when the comic category is used.

Cheers.