mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-14 10:36:57 -07:00
Fix loading custom fields for show/artist
This commit is contained in:
parent
969934b8c0
commit
56472f8dd5
1 changed files with 2 additions and 0 deletions
|
@ -2042,6 +2042,8 @@ def get_custom_fields(media_type, sub_media_type=None):
|
|||
break
|
||||
|
||||
child_media_type = export.CHILD_MEDIA_TYPES.get(fields_child_media_type)
|
||||
if child_media_type:
|
||||
child_media_type = child_media_type[0]
|
||||
|
||||
custom_fields['metadata_fields'] = [{'field': attr, 'level': level}
|
||||
for attr, level in sorted(metadata_levels_map.items()) if level]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue