Create playlist based on tag/metadata #1755
Replies: 8 comments
-
One possibility is to use the
another possibility is to use
|
Beta Was this translation helpful? Give feedback.
-
Really thank you @smimram! May I ask you a little help with this? I'm editing an existing .liq config used by Azuracast. I only have the ability to edit this in order to add some functionalities to something they call "Advanced Playlist" in which you can customize parts of the .liq. Said that, here is how I tried to add the check_next based on your answer (unfortunately noy working):
that is just before these lines that are not directly editable:
I know that i'm wrong in something, could you help me in identifying at which point? |
Beta Was this translation helpful? Give feedback.
-
What do you mean exactly by "not working"? Is there a particular error message? Which version of Liquidosap are you using? |
Beta Was this translation helpful? Give feedback.
-
I'm sorry. I found this error in liquidsoap log: Liquidsoap version is 1.4.4 For not working i mean that no playlist is written into the file playlist_test.m3u specified in config. Here is the full config. |
Beta Was this translation helpful? Give feedback.
-
Can you try without the
It might work in 1.4.4. I also added a printing of recieved metadata to help debugging. |
Beta Was this translation helpful? Give feedback.
-
I can confirm that error 4 has gone away. Now we have a warn: I also fixed a typo on line 34 of config (no space between var and "="). Am i wrong in thinking that liquidsoap read its config from top to bottom? In this case, is it possible that these following statements redefine the playlist?
No log lines in logfile about the "Checking request:..." but maybe this has to do with this line: |
Beta Was this translation helpful? Give feedback.
-
Ok my fault: i used that playlist var, now I have logs and it is working! Thank you @smimram, I'll write here as i will have something good that other could also use. |
Beta Was this translation helpful? Give feedback.
-
Sorry for so much posts: using the request.metadata, confirming that the playlist now is playing tracks on this criteria, is it possible to write that playlist into a specified file? I've also noticed that i have to restart liquidsoap in order to refresh the playlist but, maybe, this could be avoided by including the watch directive. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Is there any way for Liquidsoap to generate a playlist based on files' id3tag/metadata? If not, is there any resource that you can suggest in order to make this possilbe (scripts, docs, etc.)?
Thank you,
Marco.
Beta Was this translation helpful? Give feedback.
All reactions