I had this issue a few months ago and what I found out is liquidsoap will close 
a playlist if the file disappears.  Like when you delete it.  The way I have 
found to change a play list is redirect input to the file.    

 

cat  new playlist  > playlist.

 

 

 

From: Damian <d...@riseup.net> 
Sent: Monday, October 8, 2018 6:22 AM
To: savonet-users <savonet-users@lists.sourceforge.net>
Subject: Re: [Savonet-users] Reload_mode=watch

 

Hi,

 

Is anyone able to help?





On 1 Oct 2018, at 10:22 pm, Damian <d...@riseup.net <mailto:d...@riseup.net> > 
wrote:

 

Hi,

 

I’m running Liquidsoap version 1.1.1 with icecast on Debian 9. It’s been 
practically flawless, except for the fact that the reload_mode=“watch" no 
longer works. Checking the logs shows no signs of the playlist being refreshed 
when a file is moved, added or deleted. 

 

I have tried removing Liquidoap and reinstalling using apt-get install 
liquidsoap-plugin-all but this hasn’t helped. My script is below. Any pointers 
as to the cause of the problem would be greatly appreciated.

 

#!/usr/bin/liquidsoap

# Log Dir

set("log.file.path","/var/log/liquidsoap/ch1.log")

 

#-----PLAYLIST PARTS-----#

#-----Ambient

ambid = playlist(mode="randomize", reload_mode = "watch", 
"/home/amdin/music/ambid")

ambfre = playlist(mode="randomize", reload_mode = "watch", 
"/home/amdin/music/ambfre")

ambgen = playlist(mode="randomize", reload_mode = "watch", 
"/home/amdin/music/ambgen")

 

 

#-----TRACK ROTATION-----#

# Ambient Playlist

ambient = rotate(weights = [1,1,1,1,1,1,1],

[ambid,ambfre,ambgen,ambfre,ambgen,ambfre,ambgen])

 

radio = ambient

 

#-----FALLIBILITY-----#

radio = mksafe(radio)

 

#-----STREAM OUTPUT-----#

output.icecast(%mp3(bitrate=256,samplerate=44100,internal_quality=0,id3v2=true,stereo=true,stereo_mode="stereo"),

name="Systrum Sistum - Nil",

genre="Ambient / Drone / Electronic",

description="Ambient Radio",

host="systrum.net <http://systrum.net/> ",

port=8000,

password=“****************",

mount="Systrum-Channel1",

radio)

#-----END OF SCRIPT-----#

 

 

 

_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net 
<mailto:Savonet-users@lists.sourceforge.net> 
https://lists.sourceforge.net/lists/listinfo/savonet-users

 

_______________________________________________
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to