prepareResources method
override
If a media source requires resources to function, they can be prepared here and this function will be run once only at runtime during the initialisation step.
Implementation
@override
Future<void> prepareResources() async {
NowPlaying.instance.start();
}