[
http://dev.sourcefabric.org/browse/LS-502?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15627#action_15627
]
Zdravko commented on LS-502:
----------------------------
Romain, thanks for you comment. BTW I my liquisoap-svn just crashed about an
hour ago displaying same error message (this time it was *without* output.file)
@400000004da21b8104e570dc 2011/04/11 00:04:55 [server:3] New client: localhost
@400000004da21b810778394c 2011/04/11 00:04:55 [queue:3] Finished with
"/opt/pypo/cache/scheduler/2011-04-10-20-37-00/0d0e37885183df682bbef86ba51650d4.mp3".
@400000004da21b8109d55f44 2011/04/11 00:04:55 [src_5349:3] End of the current
overriding.
@400000004da21b810dff4e2c 2011/04/11 00:04:55 [decoder:3] Method "MP3/LIBMAD"
accepted
"/opt/pypo/cache/scheduler/2011-04-11-00-04-55/a017f828b3d65f4bea4862dbe7d44659.mp3".
@400000004da21b810e2a59b4 2011/04/11 00:04:55 [cross_5368:3] No next track
ready yet.
@400000004da21b8111e035c4 2011/04/11 00:04:55 [src_5671:2] #get_frame didn't
add exactly one break!
@400000004da21b8111e1b0ac 2011/04/11 00:04:55 [threads:1] Thread
"wallclock_main" aborts with exception File "source.ml", line 464, characters
10-16: Assertion failed!
@400000004da21b81150ad164 Thread 4 killed on uncaught exception
Assert_failure("source.ml", 464, 10)
@400000004da21b811525334c Raised at file "queue.ml", line 87, characters 29-34
@400000004da21b81171c1594 2011/04/11 00:04:55 [main:3] Shutdown started!
@400000004da21b81171c1d64 2011/04/11 00:04:55 [main:3] Waiting for threads to
terminate...
@400000004da21b811868b9d4 2011/04/11 00:04:55 [main:3] Cleaning downloaded
files...
@400000004da21b81187a039c 2011/04/11 00:04:55 >>> LOG END
This is my ls_script.liq file. Please advise me if I can optimize it to not
have that issue again - I want finally to go in 'production mode':
%include "library/pervasives.liq"
%include "/etc/airtime/liquidsoap.cfg"
set("log.file.path", log_file)
set("log.stdout", true)
set("server.telnet", true)
set("server.telnet.port", 1234)
set("tag.encodings",["UTF-8","CP1251"])
queue = request.queue(id="queue", length=0.5)
queue = audio_to_stereo(queue)
pypo_data = ref '0'
web_stream_enabled = ref false
stream_metadata_type = ref 0
station_name = ref ''
show_name = ref ''
%include "ls_lib.liq"
server.register(namespace="vars", "pypo_data", fun (s) -> begin pypo_data := s
"Done" end)
server.register(namespace="vars", "web_stream_enabled", fun (s) -> begin
web_stream_enabled := (s == "true") string_of(!web_stream_enabled) end)
server.register(namespace="vars", "stream_metadata_type", fun (s) -> begin
stream_metadata_type := int_of_string(s) s end)
server.register(namespace="vars", "show_name", fun (s) -> begin show_name := s
s end)
server.register(namespace="vars", "station_name", fun (s) -> begin station_name
:= s s end)
live = input.harbor(id="live", password=harbor_pass, "live")
default = amplify(0.00001, noise())
#default = mksafe(playlist(mode="random",reload_mode="300","/default.m3u"))
default = rewrite_metadata([("artist","stationname"), ("title",
"Radio")],default)
def append_bgmr(m) =
title = m["title"]
# Return a new title metadata
[("title","#{title} <<< stationname" )]
end
def transfade(a,b)
add(normalize=false,
[ sequence([ blank(duration=5.),
fade.initial(duration=10.,b) ]),
fade.final(duration=10.,a) ])
end
enable_replaygain_metadata ()
#default = amplify(1.,override="replay_gain",default)
queue = amplify(1.,override="replay_gain",queue)
queue = map_metadata(append_title, queue)
live = map_metadata(append_bgmr, live)
queue = map_metadata(append_bgmr, queue)
default = map_metadata(append_bgmr, default)
queue = crossfade(queue)
s = fallback(track_sensitive=false,
transitions=[transfade,transfade,transfade], [live, queue, default])
s = on_metadata(notify, s)
add_skip_command(s)
# Attach a skip command to the source s:
#web_stream_source = input.http(id="web_stream", autostart = false, buffer=0.5,
max=20., "")
#once the stream is started, give it a sink so that liquidsoap doesn't
#create buffer overflow warnings in the log file.
#output.dummy(fallible=true, web_stream_source)
#s = switch(track_sensitive = false,
# transitions=[to_live,to_live],
# [
# ({ !web_stream_enabled }, web_stream_source),
# ({ true }, s)
# ]
#)
#record_name = "recording_from_%d.%m.%Y_%H-%Mm-%Ss"
#output.file(id="live",fallible=true, %mp3,"/stor/recorded_live_shows/"
^record_name^ ".mp3",live)
if output_sound_device then
out_device = out(s)
end
if output_icecast_mp3 then
out_mp3 = output.icecast(%mp3,
host = icecast_host, port = icecast_port,
password = icecast_pass, mount = mount_point_mp3,
fallible = true,
restart = true,
restart_delay = 5,
url = icecast_url,
description = icecast_description,
genre = icecast_genre,
s)
end
if output_icecast_aacplus then
out_vorbis = output.icecast(%aacplus(channels=2, samplerate=44100,
bitrate=64),
host = icecast_host, port = icecast_port,
password = icecast_pass, mount = mount_point_aacplus,
fallible = true,
restart = true,
restart_delay = 5,
url = icecast_url,
description = icecast_description,
genre = icecast_genre,
s)
end
> assert false concerning #get_frame in source.ml on RadioPi
> ----------------------------------------------------------
>
> Key: LS-502
> URL: http://dev.sourcefabric.org/browse/LS-502
> Project: Liquidsoap
> Issue Type: Bug
> Affects Versions: 1.0
> Reporter: Romain Beauxis
> Priority: Blocker
>
> Sorry this bug is not very documented but I want to note it before I forgot..
> RadioPi just stopped today and the logs showed the usual asset false in
> #get_frame in source.ml.
> I plan on investigating that before 1.0 is released..
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Savonet-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-devl