mherger wrote: > One major flaw I see in your code: you expect players to be in sync > gropus. Without a sync group the script would fail badly. Line 597 would > > crash the script.
Yes, all my players are always in a single sync group, so I missed that the server omits the syncgroups_loop variable in that case. It should be fixed in the latest version. Someone else reported the same problem: https://github.com/thoukydides/siri-squeezebox-control/issues/1 > Though I'd often get errors due to unknown sync groups. Eg. > "undefined now paused". Ive seen that once, but havent been able to reproduce it. I will investigate... > Which brings > me to the next question: what's a usable workflow? I didn't find any > search feature in scriptable's editor, nor line numbers. Which makes > navigating difficult. How did you write all that code? I do everything on my iPad Pro with external keyboard. For debugging I make do with Scriptables built-in editor, but for anything non-trivial I use Textastic: https://apps.apple.com/gb/app/textastic-code-editor-8/id1049254261 It can access the Scriptable folder on iCloud Drive directly. No need to explicitly upload/download or otherwise sync the file. ------------------------------------------------------------------------ thouky's Profile: http://forums.slimdevices.com/member.php?userid=42109 View this thread: http://forums.slimdevices.com/showthread.php?t=109784
_______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
