No internet connection
  1. Home
  2. How to

Renaming duplicate tracks main playlist and alternate playlists

By Thomas Gloor @Thomas_Gloor
    2022-04-28 15:10:19.991Z2022-04-28 15:27:41.208Z

    Hi!

    I'm working on a script that involves duplicating a track to get rid of it's original group assignments (which is the only way I found to do it completely automatically).

    I have no problem renaming the duplicate track's MAIN (displayed) playlist, but I'd like to know if there is a way to expand the track view to see all playlists and simply get rid of the ".dup1" or ".dup2" on the duplicate.

    I know that the track rename dialog extends to playlists when the are all visible. So I guess it would have to map all playlists for a specific track and go rename them (taking out the extension). Would that be a right start?

    Anyone would know something about that? @chrscheuer maybe?

    Thank you lots!

    • 3 replies
    1. Chris Shaw @Chris_Shaw2022-04-28 17:37:48.126Z2022-04-28 18:12:50.028Z

      Another option (but it would require a bit of coding) would be to Export Selected Tracks to New Session for the track you want to ungroup (make sure audio files is unchecked in the following dialog), delete the track (making sure that in the following dialog you delete the playlists) , then use import session data to reimport it and make sure that "Mix / Edit Groups" is unchecked (as well as import clips, markers etc).

      This would eliminate the need for extensive checking for playlist suffixes that are created when renaming the playlists.

      1. Also before deleting the track, get the name of the track above it, then select it just before importing the Track / Session so that it is imported into the same position.

        1. In reply toChris_Shaw:
          TThomas Gloor @Thomas_Gloor
            2022-04-28 21:01:14.091Z

            Hey @Chris_Shaw ! Thank you for the idea.
            It could work but will indeed need a bit of coding. And might also require to setup a folder in the finder where to store the "track session" as a pre-requisite.

            Thanks!