You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">name</span></code>: the file’s name</p></li>
1266
1266
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">path</span></code>: the file’s path within its storage location</p></li>
1267
-
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">origin</span></code>: the origin storage location of the file, either <codeclass="docutils literal notranslate"><spanclass="pre">local</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">sdcard</span></code></p></li>
1267
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">origin</span></code>: the origin storage location of the file, either <codeclass="docutils literal notranslate"><spanclass="pre">local</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">printer</span></code></p></li>
1268
1268
</ul>
1269
1269
<divclass="admonition versionchanged">
1270
1270
<pclass="admonition-title"><spanclass="versionmodified changed">Changed in version 1.4.0.</span></p>
1271
1271
</div>
1272
1272
</dd>
1273
1273
<dt>FileDeselected</dt><dd><p>No file is selected any more for printing.</p>
1274
1274
</dd>
1275
-
<dt>TransferStarted</dt><dd><p>A file transfer to the printer’s SD has started.</p>
1275
+
<dt>TransferStarted</dt><dd><p>A file transfer to the printer’s storage has started.</p>
1276
1276
<p>Payload:</p>
1277
1277
<ulclass="simple">
1278
-
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">local</span></code>: the file’s name as stored locally</p></li>
1279
-
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">remote</span></code>: the file’s name as stored on SD</p></li>
1278
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">remote</span></code>: the file’s name as stored on the printer</p></li>
1280
1279
</ul>
1281
1280
<p><strong>Note:</strong> Name changed in version 1.1.0</p>
1282
1281
<divclass="admonition versionchanged">
1283
1282
<pclass="admonition-title"><spanclass="versionmodified changed">Changed in version 1.1.0.</span></p>
1284
1283
</div>
1284
+
<divclass="admonition versionchanged">
1285
+
<pclass="admonition-title"><spanclass="versionmodified changed">Changed in version 2.0.0: </span>Deprecated <codeclass="docutils literal notranslate"><spanclass="pre">local</span></code> payload, it’s always the same as <codeclass="docutils literal notranslate"><spanclass="pre">remote</span></code>.</p>
1286
+
</div>
1285
1287
</dd>
1286
-
<dt>TransferDone</dt><dd><p>A file transfer to the printer’s SD has finished.</p>
1288
+
<dt>TransferDone</dt><dd><p>A file transfer to the printer’s storage has finished.</p>
1287
1289
<p>Payload:</p>
1288
1290
<ulclass="simple">
1289
1291
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">time</span></code>: the time it took for the transfer to complete in seconds</p></li>
1290
-
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">local</span></code>: the file’s name as stored locally</p></li>
1291
-
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">remote</span></code>: the file’s name as stored on SD</p></li>
1292
+
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">remote</span></code>: the file’s name as stored on the printer</p></li>
1292
1293
</ul>
1294
+
<divclass="admonition versionchanged">
1295
+
<pclass="admonition-title"><spanclass="versionmodified changed">Changed in version 2.0.0: </span>Deprecated <codeclass="docutils literal notranslate"><spanclass="pre">local</span></code> payload, it’s always the same as <codeclass="docutils literal notranslate"><spanclass="pre">remote</span></code>.</p>
1296
+
</div>
1293
1297
</dd>
1294
1298
</dl>
1295
1299
<h3id="printing"><spanid="sec-events-available-events-printing"></span>Printing<aclass="headerlink" href="#printing" title="Link to this heading">¶</a></h3>
<h1 id="module-octoprint.printer.profile"><span id="octoprint-printer-profile"></span><span id="sec-modules-printer-profile"></span>octoprint.printer.profile<a class="headerlink" href="#module-octoprint.printer.profile" title="Link to this heading">¶</a></h1>
0 commit comments