@plugins.notify_info_yielded(u'trackinfo_received')
def tracks_for_id(track_id):
 t = track_for_mbid(track_id)
 if t:
  (yield t)
 for t in plugins.track_for_id(track_id):
  if t:
   (yield t)

@ plugins . notify_info_yielded ( u'trackinfo_received' ) def tracks_for_id ( track_id ) : t = track_for_mbid ( track_id ) if t : ( yield t ) for t in plugins . track_for_id ( track_id ) : if t : ( yield t )
get a list of tracks for an id .