change source from telnet #4390
Replies: 3 comments 2 replies
-
Hi! You can use server.register as follows:
That's the easy one! To set the playlist is a little more tricky. I imagine that you would do:
In this case:
Essentially, the function takes what is passed to the command as first argument and returns a string to print to the caller. |
Beta Was this translation helpful? Give feedback.
-
thank you @toots and @gAlleb works well, but how to stop the playlist that thank you :) |
Beta Was this translation helpful? Give feedback.
-
thank you @gAlleb is working like a charm, you're awesome! |
Beta Was this translation helpful? Give feedback.
-
the idea is not to stop the stream and stream always signal and choose what I want using telnet commands.
But, I don't know how to implement the server.register functions.
I know that I can call it like this and works fine:
Thank you very much :)
Beta Was this translation helpful? Give feedback.
All reactions