anime-db / catalog-bundle

Catalog anime
GNU General Public License v3.0
0 stars 1 forks source link

Contain list fillers in new item event #199

Closed peter-gribanov closed 9 years ago

peter-gribanov commented 9 years ago

Event a new item must no contain filler to fill it. Event must contain the list of excipients which participated in completing the item.

The plugin receives an event and check whether it is filled record or he can fill it. If he can, then fills the item, adds itself to the event and sends a new event(clone of the old), and stops the original event.

This approach allows us to complete the item of plugins that were not able to complete the item initially, but to do it after the item filled with other plugins.