search: improve podcast and episode search
This commit is contained in:
parent
123eae7370
commit
be7a6090b0
3 changed files with 14 additions and 10 deletions
|
|
@ -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),
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue