Getting Track ID of a routing Type
Hi,
I am using an external source in Device I/O with routing_types
to get audio coming from an external audio/MIDI/return/Master track inside the device. My problem is, since this is using a dictionary, I can't get the track iD from those routing types.
I would like to obtain the track iD of the selected external routing_type
I have tried many options but none are good enough, I'm afraid this requires some javascript coding skills.
I'm surprised that the Live.api doesn't let you easily get the path of the track that corresponds to the external input you loaded in the device.

Not all routing types are from/to Tracks (e.g. external audio, external MIDI, No Input). But yeah I wish there were an easier way to do it, too.
Yes unfortunately I will have to replicate a track IDs list (removing the empty MIDI tracks) and use the selected item from umenu to get the corresponding track ID.
That, or using the "getname" live.object assuming there is no duplicates.