Hi !
in v5.30, track infos can be returned by two ways:
The GET/TRACK way with
or the TRACK way with:
Quote:
wwr_req_recur("TRACK",1000);
|
Which return a table with privileged (:P ) parameters:
Code:
TRACK \t tracknumber \t trackname \t trackflags \t volume \t pan \t last_meter_peak \t last_meter_pos \t width/pan2 \t panmode \t sendcnt \t recvcnt \t hwoutcnt \t color
The trackflags compacts several infos in one value for :
Code:
1: folder
2: selected
4: has FX
8: muted
16: soloed (32: solo-in-place)
64: record armed
128: record monitoring on
256: record monitoring auto
--
Suggestion:
I don't think these methods are handy to get other track infos like B_SHOWINTCP for all tracks,
It would be easier if
all track infos could be in the table returned by TRACK,
this would allow way more handy parsing and data manipulation, in one single request.
As this web browser interface is Track oriented, having flexible way to make modifications can go a long way. :P
The current method to get info like B_SHOWINTCP for all tracks is to have a request like for first counting tracks, then create a loop with the custom request, merge it with the other table info etc... unless there is a simpler way I missed to get all track info in one single request and table ?
Thanks for listening!