Create variables from strings ? #1948
Russsgithub
started this conversation in
Ideas
Replies: 2 comments
-
I think i may have been wrong about this, .. I add unique id's for each source, and now have control over them, I think (brief test). |
Beta Was this translation helpful? Give feedback.
0 replies
-
I've got some ongoing work that potentially could lead to the equivalent to javascript's eval function: x = eval("<liquidsoap script>") Keep an eye on #1934 for more details! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm needing to create unique variable names pragmatically and wondered if it's possible to get something like the ability to create variable names from strings as in Python or JS ?
I'm making am identical playlist source multiple times (same var name) , but it creates a skip function once for all - x.skip already exists , so when i skip one instance of the source all skip. They also restart each time a new instance of source is started.
It would be very useful.
Beta Was this translation helpful? Give feedback.
All reactions