test_home: hotfix failing podcast entries on homepage

This commit is contained in:
sigma67 2024-01-01 18:51:39 +01:00
commit fb48dcc103
No known key found for this signature in database
GPG key ID: 1C314227DF0103D0

View file

@ -32,7 +32,9 @@ def parse_mixed_content(rows):
elif page_type == "MUSIC_PAGE_TYPE_PLAYLIST":
content = parse_playlist(data)
else:
data = nav(result, [MRLIR])
data = nav(result, [MRLIR], True)
if not data:
continue
content = parse_song_flat(data)
contents.append(content)