Newbie here. This is my first question, so please be gentle. I have an RSS feed with the link of audio I want to play and I’m trying to extract the link to pass to a media player as part of a “morning briefing”. I can get close, but not all the way.
If I use this syntax:
{{ states.sensor.npr_news_briefing.attributes.entries[0]['links'] }}
I get this output:
[
{
"length": "4500000",
"type": "audio/mpeg",
"href": "https://play.podtrac.com/npr-500005/edge1.pod.npr.org/anon.npr-mp3/npr/newscasts/2022/01/24/newscast230735.mp3?awCollectionId=500005&awEpisodeId=1075473175&orgId=1&d=300&p=500005&story=1075473175&t=podcast&e=1075473175&size=4500000&ft=pod&f=500005",
"rel": "enclosure"
}
]
I am trying to get the link right after the “href”: term but nothing I’ve tried in the syntax has worked right. Can someone please help with some syntax for me?! Much appreciated and thanks in advance!