Hi Guys,

I am running liquidsoap on Windows, and I could use some help.

Right now, I can pass a directory of WAV files to liquidsoap, something
like this:

c:\liquidsoap>liquidsoap.exe "output.shoutcast(%mp3, host='
171.obj.netromedia.net', port = 9050, password = 'redacted',
mksafe(audio_to_stereo(playlist(mode='normal',reload=100,'D:\croonfiles\Allfiles1\current\a'))))"

This works beautifully - and reloads the playlist after 100s.

c:\liquidsoap>liquidsoap.exe "output.shoutcast(%mp3, host='
171.obj.netromedia.ne
t', port = 9050, password = 'redacted', mksafe(audio_to_stereo(playlist(m
ode='normal',reload=100,'D:\croonfiles\Playlists\current.txt'))))"
2014/03/20 18:28:17 >>> LOG START
2014/03/20 18:28:17 [protocols.external:3] Didn't find "ufetch".
2014/03/20 18:28:17 [protocols.external:3] Didn't find "wget".
2014/03/20 18:28:17 [main:3] Liquidsoap 1.0.1-win32
2014/03/20 18:28:17 [main:3] Using: graphics=[distributed with Ocaml]
pcre=0.1.0
 dtools=0.3.0 duppy=0.4.2 cry=0.2.2 mm=0.2.0 xmlplaylist=0.1.3 lastfm=0.3.0
ogg=
0.4.3 vorbis=0.6.1 speex=0.2.0 mad=0.4.4 flac=0.1.1 flac.ogg=0.1.1
dynlink=[dist
ributed with Ocaml] lame=0.3.1 aacplus=0.2.0 theora=0.3.0
schroedinger=0.1.0 gav
l=0.1.4 ao=0.2.0 taglib=0.2.0 camomile=0.8.1 faad=0.3.0 yojson=1.0.2
2014/03/20 18:28:17 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2014/03/20 18:28:17 [frame:3] Frame size must be a multiple of 1764 ticks =
1764
 audio samples = 1 video samples.
2014/03/20 18:28:17 [frame:3] Targetting 'frame.duration': 0.04s = 1764
audio sa
mples = 1764 ticks.
2014/03/20 18:28:17 [frame:3] Frames last 0.04s = 1764 audio samples = 1
video s
amples = 1764 ticks.
2014/03/20 18:28:17 [threads:3] Created thread "generic queue #1".
2014/03/20 18:28:17 [threads:3] Created thread "generic queue #2".
2014/03/20 18:28:17 [current(dot)txt:3] Loading playlist...
2014/03/20 18:28:17 [current(dot)txt:3] No mime type specified, trying
autodetec
tion.
2014/03/20 18:28:17 [current(dot)txt:3] Playlist treated as format
audio/mpegurl

2014/03/20 18:28:17 [current(dot)txt:3] Successfully loaded a playlist of
53 tra
cks.
2014/03/20 18:28:17 [output(dot)shoutcast:3] Connecting mount / for
[email protected]
bj.netromedia.net...
2014/03/20 18:28:17 [request:3] Nonexistent file or ill-formed URI
"ΓΏ_L\000U\000
N\000C\000H\0004\0008\0000\000.\000w\000a\000v\000"!
2014/03/20 18:28:17 [request:3] Nonexistent file or ill-formed URI "\000"!
2014/03/20 18:28:17 [request:3] Nonexistent file or ill-formed URI
"\000L\000U\0
00N\000C\000H\0000\0001\0007\000.\000w\000a\000v\000"!
2014/03/20 18:28:17 [request:3] Nonexistent file or ill-formed URI "\000"!
2014/03/20 18:28:17 [output(dot)shoutcast:3] Connection setup was
successful.
2014/03/20 18:28:17 [threads:3] Created thread "wallclock_main" (1 total).
2014/03/20 18:28:17 [clock.wallclock_main:3] Streaming loop starts,
synchronized
 with wallclock.
2014/03/20 18:28:17 [mksafe:3] Switch to safe_blank.
2014/03/20 18:28:19 [request:3] Nonexistent file or ill-formed URI
"\000O\000U\0
00N\000C\000H\0000\0001\0007\000.\000w\000a\000v\000"!
2014/03/20 18:28:19 [request:3] Nonexistent file or ill-formed URI "\000"!
2014/03/20 18:28:19 [request:3] Nonexistent file or ill-formed URI
"\000L\000U\0
00N\000C\000H\0001\0000\0008\000.\000w\000a\000v\000"!
2014/03/20 18:28:19 [request:3] Nonexistent file or ill-formed URI "\000"!
2014/03/20 18:28:20 [main:3] Shutdown started!
2014/03/20 18:28:20 [main:3] Waiting for threads to terminate...
2014/03/20 18:28:20 [output(dot)shoutcast:3] Closing connection...
2014/03/20 18:28:20 [clock.wallclock_main:3] Streaming loop stopped.
2014/03/20 18:28:20 [threads:3] Thread "wallclock_main" terminated (0
remaining)
.
2014/03/20 18:28:20 [main:3] Cleaning downloaded files...
2014/03/20 18:28:20 >>> LOG END

My current.txt playlist is simple a list of file paths:

d:\some\path\to\something1.WAV
d:\some\path\to\something2.WAV
d:\some\path\to\something3.WAV
d:\some\path\to\something4.WAV

I have two questions:

Is it possible for me to pass a playlist of WAV files to liquidsoap in
Windows?

If I use the reload=int on a playlist - is there any way to stop this being
a hard limit? i.e. if reload=3600, it should reload each hour, if I have a
playlist that is 1:00:36 - I'd like it to play out before reloading.

Clearly, something like this doesn't work: liquidsoap.exe
"set(decoder.file_decoders, ["WAV"]) output.shoutcast(%mp3, host='
171.obj.netromedia.net', port = 9050, password = 'CKDQ4f7yn4cuTML',
mksafe(audio_to_stereo(playlist(mode='normal',reload=100,'D:\croonfiles\Playlists\current.txt'))))"

Any help you could offer would be great.

William
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to