Skip to content

Commit

Permalink
merge-parameters automatically sets the storable attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
hifiberry committed Dec 20, 2019
1 parent e5e7ea8 commit ab7a9fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hifiberrydsp/parser/xmlprofile.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ def update_metadata(self, metadata_dict):
attribute = metadata["@type"]
if attribute in md:
md_new.append(OrderedDict([('@type', attribute),
('@storable', "yes"),
('#text', metadata_dict[attribute])]))
del md[attribute]
else:
Expand Down

0 comments on commit ab7a9fc

Please sign in to comment.