[tvigle] Adapt to the new API