Updating YAC Reader Library Server - Post Processing?

Information and Tutorials on features in Mylar and how to use it
Post Reply
LowVibe75
Posts: 13
Joined: Sun Jun 17, 2018 5:21 am

Updating YAC Reader Library Server - Post Processing?

Post 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.
synapseattack
Posts: 1
Joined: Thu Jul 30, 2020 3:43 am

Re: Updating YAC Reader Library Server - Post Processing?

Post 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.
LowVibe75
Posts: 13
Joined: Sun Jun 17, 2018 5:21 am

Re: Updating YAC Reader Library Server - Post Processing?

Post 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.
Post Reply