#include "route_ui.h"
#include "gui_thread.h"
-#include "i18n.h"
+#include "pbd/i18n.h"
using namespace std;
using namespace Gtk;
boost::shared_ptr<Track> tr = boost::dynamic_pointer_cast<Track> (_session->route_by_id (x->first));
- /* legacy sessions stored the diskstream ID as the original
- * playlist owner. so try there instead.
- */
-
- if (tr == 0) {
- tr = _session->track_by_diskstream_id (x->first);
- }
-
- if (tr == 0) {
- continue;
- }
-
/* add a node for the track */
string nodename;
return;
}
- at->use_playlist (apl);
+ at->use_playlist (DataType::AUDIO, apl);
hide ();
}