}
int r = 0;
- checked_set (_dcp[r++], std_to_wx(dcp->name()));
+ checked_set(_dcp[r], std_to_wx(dcp->name()));
+ wxString tooltip;
+ for (auto directory: dcp->directories()) {
+ tooltip += std_to_wx(directory.string()) + "\n";
+ }
+ if (!tooltip.empty()) {
+ _dcp[r]->SetToolTip(tooltip.substr(0, tooltip.length() - 1));
+ }
+ ++r;
if (dcp->needs_assets()) {
checked_set (_dcp[r], _("Needs OV"));
checked_set (_dcp[r++], wxString::Format(_("Frame rate: %d"), (int) lrint(*dcp->video_frame_rate())));
}
if (dcp->audio && !dcp->audio->streams().empty()) {
- checked_set (_dcp[r++], wxString::Format(_("Audio channels: %d"), dcp->audio->streams().front()->channels()));
+ checked_set(_dcp[r++], wxString::Format(_("Audio channels: %d"), dcp->active_audio_channels()));
}
if (!dcp->text.empty()) {
checked_set (_dcp[r++], _("Subtitles: yes"));