later.
#### List of all the actions:
+- `comment`: does nothing, but shows a comment in the action windows
+ * `message: "some text"` the message to show
- `play` : start a music. Music Sampler only runs a music once (if you want to
have it playing several time concurrently, duplicate it or make symbolic
link). Parameters:
avançant de 5 secondes dans la musique.
#### Liste des actions possibles:
+- `comment`: ne fait aucune action, mais affiche un message dans la zone des actions
+ * `message: "some text"` le message à afficher
- `play` : joue une musique. music_sampler ne joue qu'une musique à la fois : si
la musique demandée est déjà en train d'être jouée, elle n'est pas relancée ou
jouée "par dessus". Paramètres :
+from . import comment
from . import interrupt_wait
from . import load_music
from . import pause
--- /dev/null
+def run(action, music=None, **kwargs):
+ pass
+
+def description(action, message, **kwargs):
+ return message
item, max_size, getattr(Config, item)))
def build_config(args):
- stream = open(Config.yml_file, "r")
+ stream = open(Config.yml_file, "r", encoding='utf8')
try:
config = yaml.safe_load(stream)
except Exception as e:
"a float, ignored".format(filename))
return music_property
- stream = open(Config.yml_file, "r")
+ stream = open(Config.yml_file, "r", encoding='utf8')
try:
config = yaml.safe_load(stream)
except Exception as e:
# get the font name
name = None
- if len(values) > 3:
+ if len(values) > 4:
fullnames, fullnamelangs = values[3:]
langs = fullnamelangs.split(",")
try: