Searched refs:metadata2 (Results 1 – 1 of 1) sorted by relevance
107 def compare_metadata(log, metadata1, metadata2): argument121 log_metadata(log, metadata2)123 if not (metadata1[MEDIA_KEY_TITLE] == metadata2[MEDIA_KEY_TITLE]):127 if not (metadata1[MEDIA_KEY_ALBUM] == metadata2[MEDIA_KEY_ALBUM]):131 if not (metadata1[MEDIA_KEY_ARTIST] == metadata2[MEDIA_KEY_ARTIST]):135 if not (metadata1[MEDIA_KEY_DURATION] == metadata2[MEDIA_KEY_DURATION]):139 if not (metadata1[MEDIA_KEY_NUM_TRACKS] == metadata2[MEDIA_KEY_NUM_TRACKS]162 metadata2 = device2.droid.bluetoothMediaGetCurrentMediaMetaData()163 if metadata2 is None:165 return compare_metadata(log, metadata1, metadata2)