search: improve podcast and episode search

This commit is contained in:
sigma67 2024-01-22 23:05:40 +01:00
commit be7a6090b0
No known key found for this signature in database
GPG key ID: 1C314227DF0103D0
3 changed files with 14 additions and 10 deletions

View file

@ -82,3 +82,10 @@ def i18n(method):
return method(self, *method_args, **method_kwargs)
return _impl
def parse_id_name(sub_run):
return {
"id": nav(sub_run, NAVIGATION_BROWSE_ID, True),
"name": nav(sub_run, ["text"], True),
}