Open leonardr opened 6 years ago
After conversation with Amy I'd revise this issue like so: every license import mechanism should have a self-test, and no import should happen unless the self-test passes. So this "is it the right kind of feed" thing would be part of the self-test for an OPDS Import type collection.
If a circ manager use tries to import an OPDS For Distributors feed as a normal OPDS feed, the metadata will be imported but none of the books will actually be available. It should be possible for the core OPDSImporter to detect an OPDS For Distrubutors feed and refuse to do the import, providing a useful error message.