Closed nirb999 closed 2 years ago
Yes, it should probably be str
. dependencyLevel should probably be str
too. Either these, or they should be parsed and written "properly", ie as whitespace-seperated lists.
As it is, is is definitely wrong 😄
Hi guys, I believe https://github.com/sangwonl/python-mpegdash/pull/48 should fix the bug. Could you try it and share if it works?
Thanks.
Closing this issue for now since it looks to work with the patch, but if it's still happening please file a new issue. Thanks.
In file mpegdash/nodes.py:
self.content_component = parse_attr_value(xmlnode, 'contentComponent', [str])
shouldn't it be: self.content_component = parse_attr_value(xmlnode, 'contentComponent', str) or self.content_component = parse_attr_value(xmlnode, 'contentComponent', int) ?
try this code:
The output contains this: contentComponent="[<class 'str'>]" :
manifest example taken from here: https://learn.akamai.com/en-us/webhelp/media-services-live/media-services-live-hls-hds-and-dash-ingest-user-guide-v3.2/GUID-A32F2823-ED4D-470B-9BC3-C4C455FE2F47.html