Hi. So I have made changes in my script as you've advised.
news = prepend(news,fun (m) -> intro) But unfortunately I didn't get the concatenation. Intro or news item are played sequently every 20 minutes. When I add merge = true I get the following error: 2009/07/01 14:45:41 >>> LOG START 2009/07/01 14:45:41 [protocols.external:3] Didn't find "ufetch" 2009/07/01 14:45:41 [protocols.external:3] Found "/usr/local/bin/wget" 2009/07/01 14:45:41 [main:3] Liquidsoap 0.9.1 2009/07/01 14:45:41 [decoder:3] Decoder MP3 chosed for "/home/radio/ content/music/test1.mp3" 2009/07/01 14:45:41 [single:3] "/home/radio/content/music/test1.mp3" is static, resolving once for all... 2009/07/01 14:45:41 [threads:3] Created thread "non-blocking queue #1". 2009/07/01 14:45:41 [threads:3] Created thread "generic queue #1". 2009/07/01 14:45:41 [threads:3] Created thread "root" (1 total). 2009/07/01 14:45:41 [root:3] Waking up active nodes... 2009/07/01 14:45:41 [news(dot)txt:3] Loading playlist... 2009/07/01 14:45:41 [news(dot)txt:3] No mime type specified, trying autodetection. 2009/07/01 14:45:41 [news(dot)txt:3] Playlist treated as format audio/ x-mpegurl 2009/07/01 14:45:41 [news(dot)txt:3] Successfully loaded a playlist of 33 tracks. 2009/07/01 14:45:41 [intro(dot)txt:3] Loading playlist... 2009/07/01 14:45:41 [intro(dot)txt:3] No mime type specified, trying autodetection. 2009/07/01 14:45:41 [intro(dot)txt:3] Playlist treated as format audio/ x-mpegurl 2009/07/01 14:45:41 [intro(dot)txt:3] Successfully loaded a playlist of 20 tracks. 2009/07/01 14:45:41 [music(dot)txt:3] Loading playlist... 2009/07/01 14:45:41 [music(dot)txt:3] No mime type specified, trying autodetection. 2009/07/01 14:45:41 [music(dot)txt:3] Playlist treated as format audio/ x-mpegurl 2009/07/01 14:45:41 [music(dot)txt:3] Successfully loaded a playlist of 198 tracks. 2009/07/01 14:45:41 [src_4526:3] Prepared "/home/radio/content/music/ test1.mp3" -- RID 0 2009/07/01 14:45:41 [stealkill:3] Connecting mount stealkill for [email protected] ... 2009/07/01 14:45:41 [stealkill:3] Connection setup was successful. 2009/07/01 14:45:41 [root:3] Broadcast starts up! 2009/07/01 14:45:41 [decoder:3] Decoder MP3 chosed for "/home/radio/ content/news/hny1.mp3" 2009/07/01 14:45:41 [src_4535:3] Switch to src_4529. 2009/07/01 14:45:41 [src_4529:3] Switch to src_4526. 2009/07/01 14:45:41 [decoder:3] Decoder MP3 chosed for "/home/radio/ content/intro/tr3.mp3" 2009/07/01 14:45:41 [decoder:3] Decoder MP3 chosed for "/home/radio/ content/music/30.06.2009/Chestor/the_avalanches_- _frontier_psychiatrist.mp3" 2009/07/01 14:45:45 [src_4526:3] Finished with "/home/radio/content/ music/test1.mp3" 2009/07/01 14:45:45 [music(dot)txt:3] Prepared "/home/radio/content/ music/30.06.2009/Chestor/the_avalanches_-_frontier_psychiatrist.mp3" -- RID 6 2009/07/01 14:45:45 [src_4529:3] Switch to music(dot)txt with forgetful transition. 2009/07/01 14:45:45 [news(dot)txt:3] Prepared "/home/radio/content/ news/hny1.mp3" -- RID 2 2009/07/01 14:45:45 [src_4535:3] Switch to src_4533 with forgetful transition. 2009/07/01 14:45:45 [intro(dot)txt:3] Prepared "/home/radio/content/ intro/tr3.mp3" -- RID 5 2009/07/01 14:45:45 [decoder:3] Decoder MP3 chosed for "/home/radio/ content/news/review1.mp3" TagLib: MPEG::Header::parse() -- Invalid sample rate. 2009/07/01 14:45:45 [decoder:3] Decoder MP3 chosed for "/home/radio/ content/intro/tr17.mp3" 2009/07/01 14:46:25 [intro(dot)txt:3] Finished with "/home/radio/ content/intro/tr3.mp3" 2009/07/01 14:46:25 [src_4531:2] #get_frame didn't add exactly one break! 2009/07/01 14:46:25 [threads:1] Thread "root" aborts with exception File "source.ml", line 208, characters 10-16: Assertion failed! Thread 4 killed on uncaught exception Assert_failure("source.ml", 208, 10) BTW, mail from my server to Sourceforge lists goes terribly long. =( -- Alexey Tarasov (\__/) (='.'=) E[: | | | | :]З (")_(") ------------------------------------------------------------------------------ _______________________________________________ Savonet-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/savonet-users
