From 6bf369be2c40f07b8076be79c3c6ed7a450cb8cc Mon Sep 17 00:00:00 2001 From: bashrc Date: Mon, 13 Apr 2026 14:15:32 +0100 Subject: [PATCH] Add explicit icon to podcast title --- webapp_podcast.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/webapp_podcast.py b/webapp_podcast.py index 5223df772..ff3ba5d61 100644 --- a/webapp_podcast.py +++ b/webapp_podcast.py @@ -435,6 +435,11 @@ def html_podcast_episode(translate: {}, podcast_title = \ remove_html(html.unescape(urllib.parse.unquote_plus(newswire_item[0]))) if podcast_title: + # if this is an "explicit" podcast then add a corresponding icon + # to the title + if 'explicit' in podcast_properties: + if podcast_properties['explicit'] is True: + podcast_title += ' 🔞' podcast_str += \ '