anytime_podcast_player
anytime_podcast_player copied to clipboard
Add metadata hook.
Since some tags that returned from the Podcast Index API do not exist in the rss feed, we need to call this API in order to load it, specifically the value tag. When these tags are fully adopted they will be part of the rss feed but until then I suggest here to add this hook so external caller have a way to load their own metadata. We will call podcast index API and add the value tags as metadata. This can be used later by payment app to pay for the podcast streaming time. The other option is to call the API internally in the search result and add another parsing method (from json) so I preferred this small hook and keep the library clean.