Replies: 1 comment 25 replies
-
Also, there is a bug #3134 that could lead to an insatiable hunger mode for
|
Beta Was this translation helpful? Give feedback.
25 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Back in 2019, tristan-nel asked the question,
How to dynamically manage a playlist
.On Mar 2, 2020, he provided the code on how to do it, but for those who have never used Python scripting language, I am at a loss on what to do with it to use it.
This was his final post, and it was cool that he returned and posted it.
===Final Post===
So I ended up using
request.dynamic
, and using a Python script to request what the next song in the user-managed playlist will be from Cloud Firestore:In the liquidsoap server:
In the Python script:
===End Final Post===
I am going to guess here on what to do.
I would have to install
python3
(After running the below command, it lets me know I don't have it installed.)The Python script would need to be saved as
request.py
in the same folder as the.liq
file.The code in the liq file is similar to the example code on Request.dynamic.
Will this make it look at the playlist file for new entries, or will you have to do some injection to get the new songs added to the queue?
Beta Was this translation helpful? Give feedback.
All reactions