def protocol_str(protocol):
if protocol == const.PROTOCOL_MRP:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if protocol == const.PROTOCOL_DMAP:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>if protocol == const.PROTOCOL_AIRPLAY:<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>return '<STR_LIT>'<EOL>
Convert internal API protocol to string.