Newer
Older
from funkwhale_api import plugins
plugins.hooks.register(
plugins.Hook("history.listening.created", providing_args=["listening"])
)
Eliot Berriot
committed
plugins.hooks.register(
plugins.Hook("history.listening.now", providing_args=["track", "user"])
)