Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?
Reply #29 – 2024-09-15 12:19:08
FYI Updated liquidsoap-record to #v.1.0.20 2024-09-15. Addressed the above issue (keep the url's first parameter that might be the listen_key) and a stupid typo in strip_url(). Thanks a lot again for that updated the file into my folder (just in case) BTW, it looks like I have another little issue, recording a single stream works ok now, but once I want to record a second one from the same source, not sure if it's a limitation from DI.fm or if we can do something about this, but here is the new error :2024/09/15 13:16:08 >>> LOG START 2024/09/15 13:16:05 [ffmpeg.filter.bitstream:3] No valid mode found for filter pgs_frame_merge! 2024/09/15 13:16:05 [main:3] Liquidsoap 2.2.5 2024/09/15 13:16:05 [main:3] Using: angstrom=0.15.0 ao=0.2.4 bigarray=[distributed with Ocaml] bigarray-compat=1.0.0 bigstringaf=0.9.1 bytes=[distributed with OCaml 4.02 or above] camlp-streams camomile.lib=2.0 cry=1.0.2 ctypes=0.22.0 ctypes-foreign=0.22.0 ctypes.stubs=0.22.0 curl=0.9.2 dtools=0.4.5 dune-build-info=3.2.0 dune-private-libs.dune-section=3.2.0 dune-site=3.2.0 duppy=0.9.4 ffmpeg-av=1.1.10 ffmpeg-avcodec=1.1.10 ffmpeg-avdevice=1.1.10 ffmpeg-avfilter=1.1.10 ffmpeg-avutil=1.1.10 ffmpeg-swresample=1.1.10 ffmpeg-swscale=1.1.10 fileutils=0.6.4 gen=1.1 integers lastfm=0.3.4 liquidsoap-lang=2.2.5 liquidsoap-lang.console=2.2.5 liquidsoap_ao liquidsoap_builtins liquidsoap_core liquidsoap_ffmpeg liquidsoap_lastfm liquidsoap_mem_usage liquidsoap_memtrace liquidsoap_optionals liquidsoap_portaudio liquidsoap_runtime liquidsoap_samplerate liquidsoap_srt liquidsoap_ssl liquidsoap_stereotool liquidsoap_taglib liquidsoap_xmlplaylist magic-mime=1.3.1 mem_usage=0.1.1 memtrace=v0.2.2 menhirLib=20230608 metadata=0.3.0 mm=0.8.4 mm.audio=0.8.4 mm.base=0.8.4 mm.image=0.8.4 mm.midi=0.8.4 mm.video=0.8.4 pcre=7.5.0 portaudio=0.2.3 posix-base=2.0.2 posix-socket=2.0.2 posix-socket.constants=2.0.2 posix-socket.stubs=2.0.2 posix-socket.types=2.0.2 re=1.11.0 samplerate=0.1.6 sedlex=3.2 seq=[distributed with OCaml 4.07 or above] srt=0.3.0 srt.constants=0.3.0 srt.stubs=0.3.0 srt.stubs.locked=0.3.0 srt.types=0.3.0 ssl=0.7.0 stdlib-shims=0.3.0 stereotool str=[distributed with Ocaml] stringext=1.6.0 taglib=0.3.10 threads=[distributed with Ocaml] threads.posix=[internal] unix=[distributed with Ocaml] uri=4.2.0 winsvc=1.0.1 xmlm=1.4.0 xmlplaylist=0.1.5 2024/09/15 13:16:05 [clock:3] Using builtin (low-precision) implementation for latency control 2024/09/15 13:16:07 [main:3] Standard library loaded in 1.86 seconds. 2024/09/15 13:16:08 [liquidsoap-record:2] ffprobe icy-name: Deep Progressive House - DI.FM Premium 2024/09/15 13:16:08 [liquidsoap-record:2] Saving to folder: Deep Progressive House - DIFM Premium 2024/09/15 13:16:08 [liquidsoap-record:2] ffprobe codec_name: mp3 2024/09/15 13:16:08 [liquidsoap-record:2] STREAM COPY MODE 2024/09/15 13:16:08 [liquidsoap-record:2] Recording.. X:\Musiques\StreamRIP\ripped/Deep Progressive House - DIFM Premium/2024-09-15_13-16-08.mp3.rec#s 2024/09/15 13:16:08 [liquidsoap-record:2] --press CTRL-C to stop/exit. 2024/09/15 13:16:08 [liquidsoap-record:2] Recorded 00:00 [2024-09-15_13-16-08.mp3.rec#s] 2024/09/15 13:16:09 [liquidsoap-record:2] #1 New Track Detected. Recording.. Sunsetter (AM) - Above (Original Mix).mp3 2024/09/15 13:16:09 [liquidsoap-record:2] -- press CTRL-C to stop/exit -- 2024/09/15 13:16:32 [liquidsoap-record:2] #2 New Track Detected. Recording.. Nox Vahn & Marsh - Come Together.mp3 2024/09/15 13:16:32 [liquidsoap-record:2] -- press CTRL-C to stop/exit -- [http @ 000002965b6c5280] Stream ends prematurely at 1344978, should be 18446744073709551615 2024/09/15 13:16:38 [input.ffmpeg:2] Feeding failed: Avutil.Error(I/O error) 2024/09/15 13:16:38 [liquidsoap-record:2] Recorded 00:00 [Nox Vahn & Marsh - Come Together.mp3.rec#2] And the second MSDOS windows shows the same error as previously :2024/09/15 13:26:05 [input.ffmpeg:2] Decoding failed: Avutil.Error(Server returned 401 Unauthorized (authorization failed)) Any idea ?