356
356
# Check we have the right sort of element. tag can be an empty string
357
357
# which indicates that any tag is allowed (see eg the musicAlbum DIDL
363
363
# and that the upnp matches what we are expecting
364
364
item_class = element.find(ns_tag('upnp', 'class')).text
365
365
if item_class != cls.item_class: