Quote:
Originally Posted by JimmXinu
The plugin code is all in the plugin zip file. If you put your adapter (and edited __init__.py file) in fanficfare\adapters in the installed zip file it should work.
You can find the dir with the plugin zips from Calibre Preferences > Misc > Open calibre config dir. Dir named 'plugins'.
|
Hmm, so your method takes me to /home/myusername/.config/calibre/plugins/ (i'm on arch linux, but I just started to learn how to use linux rn, so that's why I have issues now, rip), but there is no fanficfare.zip file in there. I found the .zip file in /usr/share/calibre/system-plugins/, and that might actually be fine for my distro. However my issue is that there is no "adapters" folder in this .zip file. So after I open the FanFicFare.zip file, and then open fanficfare folder, the only things inside are default.ini, example.ini and browsercache folder. So clearly the plugin stores even my personal.ini somewhere else and it must be pulling adapters from somewhere else, but I have no idea from where. And this is definitely a correct .zip file, as I slightly modified plugin-defaults.ini (really, I just added a line that says #TEST123) and it was visible in calibre plugin.
EDIT:
Here's a screenshot of my FanFicFare.zip file content, so that it's easier to understand what I mean, because I don't believe I explain myself well. I uploaded the screenshot to GoogleDrive, because it was easiest.
EDIT2: NVM, PROBLEM SOLVED.
Apparently it does pull adapters from same folder as CLI. Adn apparently it works just fine right now, without me changing anything. Why it didn't work yesterday? No idea! I've changed nothing. Maybe turning the PC on/off did the trick, how should I know. Still, thanks for help.