Add new comment to Improved .QTZ Saving

Permalink

Now it just works as expected.

My first test was a disaster... until I figured it out.

Attention!!!
Don't edit the path as relative in properties, or it will be a disaster. Just let Qtractor do the magic.

Now it works like this:
Session folders are saved within the "directory" tag in a path relative to the qtr file. No matter where you defined that folder, it will be saved correctly within the file as relative to the .qtr itself. Recordings (samples, midis...) remain relative to the session directory.

Examples:
1
Directory=MyPath/Projects/Project_A/
SessionFile Save in=MyPath/Projects/Project_A/Project_A.qtr
Saved in Project_A.qtr= <directory>.</directory>

2
Directory=MyPath/Projects/Project_A/Wavs_MIDI
SessionFile Save in=MyPath/Projects/Project_A/Project_A.qtr
Saved in Project_A.qtr= <directory>Wavs_MIDI</directory>

3
Directory=MyPath/SamplesAndRecordsOfAllProjects
SessionFile Save in=MyPath/Projects/Project_A/Project_A.qtr
Saved in Project_A.qtr= <directory>../../</directory>
I don't recommend it. It's a known shared dependency model that causes a lot of problems :).

Logic tells me it should work just as well with older projects, but I haven't tested it enough, so I'm sticking with it.

PS
To summarize:
1- Dependencies are still relative to the session folder, since that's where they're stored.
2- Session folders are now relative to the document, which gives the project its identity.

Conclusion:
Finally, portable projects without having to use QTZ :).
The user will simply notice that everything works as expected.
1. If you duplicate a folder to create a new version of the project.
2. If you migrate all your projects and samples to another location (as long as they maintain the same structure relational/relative between them at the destination, of course).

The content of this field is kept private and will not be shown publicly.

Markdown

  • Parses markdown and converts it to HTML.
  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type='1 A I'> <li> <dl> <dt> <dd> <h2 id='jump-*'> <h3 id> <h4 id> <h5 id> <h6 id> <img src alt height width> <strike> <pre> <p> <br>
  • Lines and paragraphs break automatically.

Filtered HTML

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <b> <i> <pre> <img src alt height width> <strike>
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.
File attachments
Unlimited number of files can be uploaded to this field.
2 MB limit.
Allowed types: jpg jpeg gif png txt doc docx xls xlsx pdf ppt pps odt ods odp zip gz bz2 xz patch diff wav ogg flac ogv mp4 qtz.