From 16c2df08aec5327bc821c4a19e3ed15fd60b1b99 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sun, 12 Jul 2020 12:39:52 -0500 Subject: [PATCH] When bouncing, use a TAG rather than changing the region name. --- libs/ardour/session.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/ardour/session.cc b/libs/ardour/session.cc index ca6d3a0cfa..b485f70e0f 100644 --- a/libs/ardour/session.cc +++ b/libs/ardour/session.cc @@ -5731,7 +5731,7 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end, goto out; } - legal_playlist_name = "(bounce)" + legalize_for_path (playlist->name()); + legal_playlist_name = legalize_for_path (playlist->name()); for (uint32_t chan_n = 0; chan_n < diskstream_channels.n(data_type); ++chan_n) { @@ -5914,6 +5914,7 @@ Session::write_one_track (Track& track, samplepos_t start, samplepos_t end, plist.add (Properties::whole_file, true); plist.add (Properties::length, srcs.front()->length(srcs.front()->natural_position())); plist.add (Properties::name, region_name_from_path (srcs.front()->name(), true)); + plist.add (Properties::tags, "(bounce)"); result = RegionFactory::create (srcs, plist, true);