#1 2022-05-01 20:00:03

antiwesley
New member
Registered: 2022-04-28
Posts: 3

moving plugins

So I copied the Amazon US plug-in to my GCcomics directory, but it's not appearing in the list after restarting.

I've restarted, started a new collection, etc..
It doesn't appear as an option to add in Preferences, so I'm stumped.

Offline

 

#2 2022-05-02 07:14:32

kerenoc
Administrator
Registered: 2016-03-19
Posts: 482
Website

Re: moving plugins

Moving plugin in a folder for another model is not enough, you have to change the package name hierarchy (first line), the class definition (around line 33), the inheritage (around line 37) and the dependencies (around line 28).

You also have to tweak some fields that has different names in the two models (serie/series, cover/image, illustrator/artist, publication/publishdate, writer/authors, description/synopsis).

As an example, you can check the BDphile plugin that exists both for books and for comics.

Offline

 



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.