- int n = sscanf(text, "%d %d %d %d %d %d %d %d %d %d %d %d",
- &dir_idx, &audio, &video, &theme, &realtime, &fileio, &uses_gui,
- &multichannel, &synthesis, &transition, &is_lad, &lad_index);
-
- return n == 12 ? 0 : 1;
+ char path[BCTEXTLEN], title[BCTEXTLEN];
+ int n = sscanf(text, "%d \"%[^\"]\" \"%[^\"]\" %d %d %d %d %d %d %d %d %d %d %d",
+ &plugin_type, path, title, &dir_idx, &audio, &video, &theme, &realtime,
+ &fileio, &uses_gui, &multichannel, &synthesis, &transition, &lad_index);
+ if( n != 14 ) return 1;
+ this->path = cstrdup(path);
+ this->title = cstrdup(title);
+ return 0;