1
0

No need in preloading. Because in this moment liquidsoap starts and adds a new song that Icecast writes in playlist.log so IN_MODIFY is being triggered.

This commit is contained in:
Alexander Andreev 2023-03-13 05:35:39 +04:00
parent c02442ebcd
commit eb6b0c68b3
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -184,10 +184,6 @@ func (pw *PlaylistLogWatcher) Watch(playlistPath string, n int) (err error) {
lastPlayedCache = make([]Song, 0, n)
if songs, err := icecastLastPlayedSongs(playlistPath, 1); err == nil && len(songs) > 0 {
currentlyPlaying = songs[0]
}
go func() {
for {
select {