qtractor icon indicating copy to clipboard operation
qtractor copied to clipboard

qtractor project file not found after NSM duplicate

Open Houston4444 opened this issue 4 years ago • 2 comments

Hi. under NSM, Qtractor saves its project file with the session name, I must say that I really appreciate this, I don't like the idea that all displayed projects names have the name of their program under NSM. But, after duplicate the session ("Save & Dupl." in new session manager), the project path is not found and qtractor starts with an empty project, because the .qtr file in the path given by server has the name of the previous session (previous_session.qtr).

Maybe something simple could achieve the project rename, for example: at save: save the session name in a file in the dir at load:check the file above if it exists: rename the project with the new session name and load it else if there is only one qtr file, rename it and load it

But you'll better know than me how to achieve this.

Houston4444 avatar Oct 22 '20 14:10 Houston4444

qtractor doesn't handle nor it ever requests "/nsm/server/duplicate" , that's probably entire responsibility of the session manager, none of the client.

rncbc avatar Oct 22 '20 15:10 rncbc

No, you didn't understand me. I never said that qtractor request /nsm/server/duplicate. What I said is, if user duplicate the session, or if user simply renames the session folder (session not open of course), qtractor doesn't find its existing project because it doesn't matches anymore with session_name.qtr .

Houston4444 avatar Oct 22 '20 15:10 Houston4444