int64_t time;
fscanf (f, "%63s %d %ld", id, &index, &time);
int64_t time;
fscanf (f, "%63s %d %ld", id, &index, &time);
- _selected_playlist = i;
- _selected_playlist_position = index;
+ cout << "Found playlist " << id << "\n";
+ select_playlist (i, index);
update_current_content ();
_viewer->seek (DCPTime(time), false);
_viewer->start ();
update_current_content ();
_viewer->seek (DCPTime(time), false);
_viewer->start ();
+ " " + dcp::raw_convert<string>(_viewer->position().get());
checked_fwrite (p.c_str(), p.length(), f, Config::path("position"));
+ " " + dcp::raw_convert<string>(_viewer->position().get());
checked_fwrite (p.c_str(), p.length(), f, Config::path("position"));
wxString ts = std_to_wx(string(buffer)) + N_(": ");
_log->SetValue(_log->GetValue() + ts + s + "\n");
wxString ts = std_to_wx(string(buffer)) + N_(": ");
_log->SetValue(_log->GetValue() + ts + s + "\n");
log (wxString::Format("load-playlist %s", std_to_wx(_playlists[selected].name()).data()));
wxProgressDialog dialog (_("DCP-o-matic"), "Loading playlist and KDMs");
log (wxString::Format("load-playlist %s", std_to_wx(_playlists[selected].name()).data()));
wxProgressDialog dialog (_("DCP-o-matic"), "Loading playlist and KDMs");