Code:
--------------------
     presets: *5
--------------------

So... today I learned that * are used to create references within a a yaml file. Somehow the data structure in LMS must have become corrupted, creating references between some players instead of copies. I highly suspect the SettingsManager plugin. If it was in core LMS, we'd have these kinds of issues much more often.

In Perl this can happen quickly, if you eg. simply say "sync preference a on player 1 with preference a on player 2", and you implement this by assigning the same value whenever "a" changes. If "a" happens to be a reference to a data structure rather than a scalar (simple value), you don't copy the values, but a reference to that other data structure.
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to