Skip to content
Discussion options

You must be logged in to vote

You can check if a book needs an update by checking ComicBook.ComicInfoIsDirty, this is what triggers the orange star saying an update is needed.

For individually adding books to the update queue, check how ComicRack.MainWindow.UpdateComics is done. It calls Program.QueueManager.AddBookToFileUpdate and passes the book object to it. Updating single books from the program, works the same way, it just does it on only the selected books.

public void UpdateFiles()
{
GetBookList(ComicBookFilterType.IsNotFileless | ComicBookFilterType.Selected).ForEach(delegate (ComicBook cb)
{
Program.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gitfirl
Comment options

Answer selected by gitfirl
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