+void Edit::get_title(char *title)
+{
+ if( user_title[0] ) {
+ strcpy(title, user_title);
+ return;
+ }
+ Indexable *idxbl = asset ? (Indexable*)asset : (Indexable*)nested_edl;
+ if( !idxbl ) {
+ title[0] = 0;
+ return;
+ }
+ FileSystem fs;
+ fs.extract_name(title, idxbl->path);
+ if( asset || track->data_type == TRACK_AUDIO ) {
+ char number[BCSTRLEN];
+ sprintf(number, " #%d", channel + 1);
+ strcat(title, number);
+ }
+}
+