[scrobbles] Add some tests around jellyfin and start cleaning up

This commit is contained in:
2024-08-16 12:04:09 -04:00
parent b414bbf59c
commit 9affd6e03a
6 changed files with 216 additions and 45 deletions

View File

@ -54,7 +54,7 @@ def parse_mopidy_uri(uri: str) -> dict:
}
def get_or_create_podcast(post_data: dict):
def get_or_create_podcast(post_data: dict) -> PodcastEpisode:
mopidy_uri = post_data.get("mopidy_uri", "")
parsed_data = parse_mopidy_uri(mopidy_uri)