YACReader / yacreader

This repo contains the code of YACReader's desktop version.
https://www.yacreader.com
GNU General Public License v3.0
960 stars 94 forks source link

[Feature Request] Add "rescan library for XML" feature to YACReaderLibraryServer #376

Closed thedeany closed 1 year ago

thedeany commented 1 year ago

Currently there is no way to rescan the library for XML info via the server CLI. Per our discussion in Discord, I was able to locally mount the network drive on which my comic library sits and use the desktop version of YACReaderLibrary to do the rescan on the "remote" library. However, future users may not have this ability with their network drives or the know-how to do so, so adding the ability to rescan from the server CLI itself would be great!

For example:

YACReaderLibraryServer rescan-library [library name]

or perhaps some sort of flag on update-library to rescan the XML and update the library in one command:

YACReaderLibraryServer update-library [library name] --rescan-xml
luisangelsm commented 1 year ago

Done here: https://github.com/YACReader/yacreader/commit/39ba4efcd23935a03ccb4d08f253fa96f00bcc41

yacreaderlibraryserver rescan-xml-info "C:\xml test import info"
Scanning comics.............Done!
Number of comics processed = 13

Also, this: https://github.com/YACReader/yacreader/blob/develop/YACReaderLibraryServer/SETTINGS_README.md

IMPORT_COMIC_INFO_XML_METADATA=true can be used to scan xml while adding new comics to the library.