From 188e899357fc9840ce8ee83404ab0499efbd20b8 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 14 Oct 2025 11:52:23 -0400 Subject: [PATCH] [podcasts] Fix podcast data --- vrobbler/apps/podcasts/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vrobbler/apps/podcasts/utils.py b/vrobbler/apps/podcasts/utils.py index b0ee75e..2e03855 100644 --- a/vrobbler/apps/podcasts/utils.py +++ b/vrobbler/apps/podcasts/utils.py @@ -70,7 +70,7 @@ def parse_mopidy_uri(uri: str) -> dict[str, Any]: parsed_uri = os.path.splitext(unquote(uri))[0].split("/") podcast_data = { - "episode_filename": parsed_uri[-1], + "title": parsed_uri[-1], "episode_num": None, "podcast_name": parsed_uri[-2].strip(), "pub_date": None, @@ -105,7 +105,7 @@ def parse_mopidy_uri(uri: str) -> dict[str, Any]: if podcast_data["episode_num"]: gap_to_strip += episode_num_pad - podcast_data["episode_name"] = episode_str[gap_to_strip:].replace("-", " ").strip() + podcast_data["title"] = episode_str[gap_to_strip:].replace("-", " ").strip() return podcast_data