<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def genre(self):
 """Genre of the currently playing song."""

        if self._metadata:
            from pyatv.mrp.protobuf import ContentItem_pb2
            transaction = ContentItem_pb2.ContentItem()
            transaction.ParseFromString(self._metadata)