MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / play_song

Method play_song

src/ext/makerbot_driver/Gcode/Parser.py:274–277  ·  view source on GitHub ↗

Plays a song as a certain register on the bot.

(self, codes, flags, comment)

Source from the content-addressed store, hash-verified

272 )
273
274 def play_song(self, codes, flags, comment):
275 """Plays a song as a certain register on the bot.
276 """
277 self.s3g.queue_song(codes['P'])
278
279 def set_build_percentage(self, codes, flags, comment):
280 """Sets the build percentage to a certain percentage.

Callers

nothing calls this directly

Calls 1

queue_songMethod · 0.80

Tested by

no test coverage detected