Closed ltctceplrm closed 1 year ago
The code LGTM. But it would be good to add a description of the new API to the readme.
Thank you for looking over the code, I've added documentation for the new API to the readme.
Great. Thanks for the PR.
Huh it looks like my changes may have broken the Movie and TV Series search modal somehow, when I try to add a movie it gives me an error saying Type Error: data.docs isn't iterable
(which is only used in OpenLibraryAPI.ts) but if I use the omdbapi through the API search modal rather than movie search then it works correctly. I'm not sure where my mistake is
i haven't tested the code yet, but i will test and fix it before i release it
Perfect, thank you.
I can not reproduce the error @ltctceplrm
The movie search works fine for me
Hmm would it be possible that something went wrong when I ran the yarn build command and that there's actually nothing wrong with the code itself? I did have some dependency problems at first. I'll try to reinstall it and rebuild the main.js file and see if the problem is fixed.
I reinstalled yarn and retried the build process and this time I don't get the error when adding movies so now I'm sure that there was just something wrong with my installation rather than the plugin code.
I've tested it out with a bunch of books and it seems to work fine but please let me know if I made a mistake somewhere. Hopefully this fulfills #102 and partially #3