calum74 / s2

Cross platform command line interface to the Spooky2
GNU General Public License v3.0
15 stars 7 forks source link

Help with presets #9

Open bigbruno opened 9 months ago

bigbruno commented 9 months ago

I've been trying to solve the preset reading part for 2 days, could you help me with this part?

For example:

s2 run preset="Intestinal Parasites (C) - BY.txt"

It only displays the message: Underterminated quote

antuanix commented 3 months ago

It seems it only allows line that start and end with quotes

But some lines coming from a preset (mostly Preset_Notes lines) can have multiple lines and confuses the script

By correcting these lines you can get past the "Underterminated quote" error but it doesn't seen to send anything to the generator In my case it detects the generator:

 ./s2 status
1 generators connected:
  1: /dev/ttyUSB0

But trying to run a preset produces no effect:

./s2 run generator=1 preset="preset.txt"
Total run time = 0s

This preset was generated by latest version of the software, can someone post a preset that works?