From: Ian B. <ian...@gm...> - 2011-03-17 19:39:34
|
Hi Guys, I hope someone can help out with what I'm doing wrong here please? It seems that although most of my 'inputs' load at startup, the main 'music' back up playlist and jingles don't and I can't see why. I have a script, streamer.liq, and in that script I define my 'inputs' thus : jingles = playlist.safe("/home/bon/jingles.pls") news = playlist.safe("/home/bon/news.pls") ads = playlist.safe("/home/bon/advert_blocks.pls") safety = playlist.safe("/home/bon/emergency.txt") studio = input.alsa(bufferize=false) There is a functional alsa input (coming from a studio desk), and the safety is a not huge playlist of mp3's. It lists as : -rw-r--r-- 1 bon bon 275K 2011-03-17 14:15 emergency.txt It's currently a .txt file as I've tried this with both a file extension of .pls and .txt with the same problem. Jingles, News and Ads are all playlists with the relevant files in. They list up as : -rw-r--r-- 1 bon bon 1.3K 2011-03-17 04:40 jingles.pls -rw-r--r-- 1 bon bon 44 2011-03-08 09:57 news.pls -rw-r--r-- 1 bon bon 180 2011-03-17 04:50 advert_blocks.pls As you can see, permissions are all the same, and the last 2 load up fine. The Music doesn't though.. Can anyone suggest a reason as to the jingles.pls and emergency.txt files not loading please? All playlists are generated via cronjobs as the content can change, and I know I'll need to add a refresh time onto the load of the playlist, but currently they are not all being read in. Could I have missed something please? Any help appreciated, LiquidSoap startup / shutdown output attached, Many Thanks, Bon ================================================== 2011/03/17 20:34:55 >>> LOG START 2011/03/17 20:34:55 [protocols.external:3] Didn't find "ufetch". 2011/03/17 20:34:55 [protocols.external:3] Found "/usr/bin/wget". 2011/03/17 20:34:55 [main:3] Liquidsoap 1.0.0-beta+svn 2011/03/17 20:34:55 [main:3] Using: pcre=5.13.0 dtools=0.2.1 duppy=0.3.2 cry=0.1.5 mm=0.1.0 xmlplaylist=0.1.2 lastfm=0.3.0 ogg=0.4.1 vorbis=0.5.1 speex=0.1.2 mad=0.4.0 flac=0.1.0 flac.ogg=0.1.0 lame=0.2.4 theora=0.2.0 schroedinger=0.1.0 gavl=0.1.4 bjack=0.1.3 jack=0.1.0 alsa=0.2.0 ao=0.2.0 samplerate=0.1.1 taglib=0.1.4 magic=0.7.3 camomile=0.7.1 faac=0.1.2 soundtouch=0.1.5 portaudio=0.1.3 pulseaudio=0.1.1 ladspa=0.1.2 dssi=[unknown version] 2011/03/17 20:34:55 [main:2] 2011/03/17 20:34:55 [main:2] DISCLAIMER: This version of Liquidsoap has been 2011/03/17 20:34:55 [main:2] compiled from a snapshot of the development code. 2011/03/17 20:34:55 [main:2] As such, it should not be used in production 2011/03/17 20:34:55 [main:2] unless you know what you are doing! 2011/03/17 20:34:55 [main:2] 2011/03/17 20:34:55 [main:2] We are, however, very interested in any feedback 2011/03/17 20:34:55 [main:2] about our development code and committed to fix 2011/03/17 20:34:55 [main:2] issues as soon as possible. 2011/03/17 20:34:55 [main:2] 2011/03/17 20:34:55 [main:2] If you are interested in collaborating to 2011/03/17 20:34:55 [main:2] the development of Liquidsoap, feel free to 2011/03/17 20:34:55 [main:2] drop us a mail at <sav...@li...> 2011/03/17 20:34:55 [main:2] or to join the #savonet IRC channel on Freenode. 2011/03/17 20:34:55 [main:2] 2011/03/17 20:34:55 [main:2] Please send any bug report or feature request 2011/03/17 20:34:55 [main:2] using our trac <http://savonet.rastageeks.org>. 2011/03/17 20:34:55 [main:2] 2011/03/17 20:34:55 [main:2] We hope you enjoy this snapshot build of Liquidsoap! 2011/03/17 20:34:55 [main:2] 2011/03/17 20:34:55 [lang:3] Found flac binary: enabling flac external decoder. 2011/03/17 20:34:55 [lang:3] Found metaflac binary: enabling flac external metadata resolver. 2011/03/17 20:34:55 [lang:3] Found faad binary: enabling external faad decoder and metadata resolver. 2011/03/17 20:34:55 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz master. 2011/03/17 20:34:55 [frame:3] Frame size must be a multiple of 1764 ticks = 1764 audio samples = 1 video samples. 2011/03/17 20:34:55 [frame:3] Targetting 'frame.duration': 0.04s = 1764 audio samples = 1764 ticks. 2011/03/17 20:34:55 [frame:3] Frames last 0.04s = 1764 audio samples = 1 video samples = 1764 ticks. 2011/03/17 20:34:55 [threads:3] Created thread "non-blocking queue #1". 2011/03/17 20:34:55 [threads:3] Created thread "generic queue #1". 2011/03/17 20:34:55 [advert_blocks(dot)pls:3] Loading playlist... 2011/03/17 20:34:55 [advert_blocks(dot)pls:3] No mime type specified, trying autodetection. 2011/03/17 20:34:55 [advert_blocks(dot)pls:3] Playlist treated as format audio/mpegurl 2011/03/17 20:34:55 [decoder.flac:3] Invalid file extension for "/media/SilkRadio/Adverts/blocks/Block1~0.mp3"! 2011/03/17 20:34:55 [decoder.flac:3] Invalid MIME type for "/media/SilkRadio/Adverts/blocks/Block1~0.mp3": audio/mpeg! 2011/03/17 20:34:55 [decoder:3] Method "MP3/LIBMAD" accepted "/media/SilkRadio/Adverts/blocks/Block1~0.mp3". 2011/03/17 20:34:55 [decoder.flac:3] Invalid file extension for "/media/SilkRadio/Adverts/blocks/Block2~0.mp3"! 2011/03/17 20:34:55 [decoder.flac:3] Invalid MIME type for "/media/SilkRadio/Adverts/blocks/Block2~0.mp3": audio/mpeg! 2011/03/17 20:34:55 [decoder:3] Method "MP3/LIBMAD" accepted "/media/SilkRadio/Adverts/blocks/Block2~0.mp3". 2011/03/17 20:34:55 [decoder.flac:3] Invalid file extension for "/media/SilkRadio/Adverts/blocks/Block3~0.mp3"! 2011/03/17 20:34:55 [decoder.flac:3] Invalid MIME type for "/media/SilkRadio/Adverts/blocks/Block3~0.mp3": audio/mpeg! 2011/03/17 20:34:55 [decoder:3] Unable to decode "/media/SilkRadio/Adverts/blocks/Block3~0.mp3" as {audio=2;video=0;midi=0}! 2011/03/17 20:34:55 [decoder.flac:3] Invalid file extension for "/media/SilkRadio/Adverts/blocks/Block4~0.mp3"! 2011/03/17 20:34:55 [decoder.flac:3] Invalid MIME type for "/media/SilkRadio/Adverts/blocks/Block4~0.mp3": audio/mpeg! 2011/03/17 20:34:55 [decoder:3] Method "MP3/LIBMAD" accepted "/media/SilkRadio/Adverts/blocks/Block4~0.mp3". 2011/03/17 20:34:55 [advert_blocks(dot)pls:3] Successfully loaded a playlist of 3 tracks. 2011/03/17 20:34:55 [news(dot)pls:3] Loading playlist... 2011/03/17 20:34:55 [news(dot)pls:3] No mime type specified, trying autodetection. 2011/03/17 20:34:55 [news(dot)pls:3] Playlist treated as format audio/mpegurl 2011/03/17 20:34:56 [decoder.flac:3] Invalid file extension for "/media/SilkNews/CNN/News_Weather_latest.mp3"! 2011/03/17 20:34:56 [decoder.flac:3] Invalid MIME type for "/media/SilkNews/CNN/News_Weather_latest.mp3": audio/mpeg! 2011/03/17 20:34:57 [decoder:3] Method "MP3/LIBMAD" accepted "/media/SilkNews/CNN/News_Weather_latest.mp3". 2011/03/17 20:34:57 [news(dot)pls:3] Successfully loaded a playlist of 1 tracks. 2011/03/17 20:34:57 [src_4414:3] Using ALSA 1.0.23. 2011/03/17 20:34:57 [src_4414:3] Could not set buffer size to 'frame.size' (1764 samples), got 4704. 2011/03/17 20:34:57 [output(dot)shoutcast:3] Connecting mount / for ad...@an...... 2011/03/17 20:34:58 [output(dot)shoutcast:3] Connection setup was successful. 2011/03/17 20:34:58 [/live(dot)ogg:3] Connecting mount /live.ogg for source@localhost... 2011/03/17 20:34:59 [/live(dot)ogg:3] Connection setup was successful. 2011/03/17 20:34:59 [threads:3] Created thread "wallclock_alsa" (1 total). 2011/03/17 20:34:59 [clock.wallclock_alsa:3] Streaming loop starts, no sync. 2011/03/17 20:34:59 [fallback_4448:3] Switch to src_4446. ^C2011/03/17 20:35:02 [main:3] Shutdown started! 2011/03/17 20:35:02 [main:3] Waiting for threads to terminate... 2011/03/17 20:35:02 [/live(dot)ogg:3] Closing connection... 2011/03/17 20:35:02 [output(dot)shoutcast:3] Closing connection... 2011/03/17 20:35:02 [clock.wallclock_alsa:3] Streaming loop stopped. 2011/03/17 20:35:02 [threads:3] Thread "wallclock_alsa" terminated (0 remaining). 2011/03/17 20:35:02 [main:3] Cleaning downloaded files... 2011/03/17 20:35:02 >>> LOG END |