Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Keeping recording stream with Streamripper using Foobar2000 in 2024 ? (Read 22279 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #25
Try this and report back logs.

Thanks a lot!
Seems to finally work, here is the new log :

Code: [Select]
2024/09/15 11:47:30 >>> LOG START
2024/09/15 11:47:27 [ffmpeg.filter.bitstream:3] No valid mode found for filter pgs_frame_merge!
2024/09/15 11:47:27 [main:3] Liquidsoap 2.2.5
2024/09/15 11:47:27 [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 11:47:27 [clock:3] Using builtin (low-precision) implementation for latency control
2024/09/15 11:47:29 [main:3] Standard library loaded in 2.03 seconds.
2024/09/15 11:47:30 [liquidsoap-record:2] ffprobe icy-name: Jazz House - DI.FM Premium
2024/09/15 11:47:30 [liquidsoap-record:2] Saving to folder: Jazz House - DIFM Premium
2024/09/15 11:47:30 [liquidsoap-record:2] ffprobe codec_name: mp3
2024/09/15 11:47:30 [liquidsoap-record:2] STREAM COPY MODE
2024/09/15 11:47:30 [liquidsoap-record:2] Recording.. X:\Musiques\StreamRIP\ripped/Jazz House - DIFM Premium/2024-09-15_11-47-30.mp3.rec#s
2024/09/15 11:47:30 [liquidsoap-record:2] --press CTRL-C to stop/exit.
2024/09/15 11:47:30 [liquidsoap-record:2] Recorded 00:00 [2024-09-15_11-47-30.mp3.rec#s]
2024/09/15 11:47:31 [liquidsoap-record:2] #1 New Track Detected. Recording.. Gavinco - Caravella (Edit).mp3
2024/09/15 11:47:31 [liquidsoap-record:2] -- press CTRL-C to stop/exit --
2024/09/15 11:48:00 [liquidsoap-record:2] Recorded 00:32 [Gavinco - Caravella (Edit).mp3.rec#1]
2024/09/15 11:48:30 [liquidsoap-record:2] Recorded 01:03 [Gavinco - Caravella (Edit).mp3.rec#1]
2024/09/15 11:48:48 [liquidsoap-record:2] #2 New Track Detected. Recording.. Eddie Nicholas, Hood Natives - This Must Be Love (Lilac Jeans Classic Instrumental Remix).mp3
2024/09/15 11:48:48 [liquidsoap-record:2] -- press CTRL-C to stop/exit --
2024/09/15 11:49:00 [liquidsoap-record:2] Recorded 00:12 [Eddie Nicholas, Hood Natives - This Must Be Love (Lilac Jeans Classic Instrumental Remix).mp3.rec#2]
2024/09/15 11:49:30 [liquidsoap-record:2] Recorded 00:42 [Eddie Nicholas, Hood Natives - This Must Be Love (Lilac Jeans Classic Instrumental Remix).mp3.rec#2]


Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #27
Great !
Glad to help  ;)

Thank you very much for your help (and everyone on this thread), much appreciated :)
Cheers'


Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #29
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 :

Code: [Select]
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 :

Code: [Select]
2024/09/15 13:26:05 [input.ffmpeg:2] Decoding failed: Avutil.Error(Server returned 401 Unauthorized (authorization failed))

Any idea ?


Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #30
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 :

Code: [Select]
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 :

Code: [Select]
2024/09/15 13:26:05 [input.ffmpeg:2] Decoding failed: Avutil.Error(Server returned 401 Unauthorized (authorization failed))

Any idea ?


Maybe related to this..

https://www.di.fm/premium

Quote
Can I share my Premium account with friends or family?

Your support enables us to continue building a better service. We encourage everyone who enjoys our service to pay for their own Premium account. Your Premium account can be used in multiple places or on multiple devices, as long as only one connection is active at any given moment.

Our system detects multiple connections by the same account and will disconnect all additional listeners.

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #31
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 :

Code: [Select]
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 :

Code: [Select]
2024/09/15 13:26:05 [input.ffmpeg:2] Decoding failed: Avutil.Error(Server returned 401 Unauthorized (authorization failed))

Any idea ?


Maybe related to this..

https://www.di.fm/premium

Quote
Can I share my Premium account with friends or family?

Your support enables us to continue building a better service. We encourage everyone who enjoys our service to pay for their own Premium account. Your Premium account can be used in multiple places or on multiple devices, as long as only one connection is active at any given moment.

Our system detects multiple connections by the same account and will disconnect all additional listeners.

Ok yup, pretty sure it was this aswell, many thanks again for your help :) cheers'

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #32
This thread made me join HydrogenAudio.
Thanks to Zeremy for doing the work.
I spend half a day trying to rip a flac stream.
It would start , record nothing , and just end operation , without an error.
  ( What was I doing wrong ....... Nothing ! )
So it turns out that the most recent release of LiquidSoap breaks Zeremy's wonderful script.
  ( More about that here : https://github.com/savonet/liquidsoap/blob/main/CHANGES.md
So anyways, just drop kick the newest version for now ,
and scroll down to the middle of this page.
https://github.com/savonet/liquidsoap/releases/tag/v2.2.5
Side Note , you don't need a media player integration.
This can be done from just the command line.
(with a player it's a tinge more convenient to get the stream url).

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #33
This thread made me join HydrogenAudio.
Thanks to Zeremy for doing the work.
I spend half a day trying to rip a flac stream.
It would start , record nothing , and just end operation , without an error.
  ( What was I doing wrong ....... Nothing ! )
So it turns out that the most recent release of LiquidSoap breaks Zeremy's wonderful script.
  ( More about that here : https://github.com/savonet/liquidsoap/blob/main/CHANGES.md
So anyways, just drop kick the newest version for now ,
and scroll down to the middle of this page.
https://github.com/savonet/liquidsoap/releases/tag/v2.2.5
Side Note , you don't need a media player integration.
This can be done from just the command line.
(with a player it's a tinge more convenient to get the stream url).

Since it worked on my side, I preferred to make a single portable folder containing absolutely everything functional, you just need to launch foobar and that's it. The folder includes all versions that are already 100% functional, so there's no headache trying to update something that will make the rest incompatible.

In the end, everything works perfectly on my side, but I have just one criticism to make: the cutting script doesn't cut as well as it did with Streamripper at the time. It cuts the music either too early or too late, so you have to cut the music yourself afterwards. There's always a little play, which is a pity, but no big deal given the service provided. Thanks again for everything, it's really top-notch. Much appreciated

 

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #34
(with a player it's a tinge more convenient to get the stream url).
Yeah just a tinge,  ::)   Thanks for the heads-up on the new liquid soap release not being compatible with Zeremy's script (I assume you used 1.024?), and yes the problem-free solution is just to stick with version 2.2.5 of liquidsoap.  I have a feeling he will be updating it soon.

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #35
Since it worked on my side, I preferred to make a single portable folder containing absolutely everything functional, you just need to launch foobar and that's it. The folder includes all versions that are already 100% functional, so there's no headache trying to update something that will make the rest incompatible.

In the end, everything works perfectly on my side, but I have just one criticism to make: the cutting script doesn't cut as well as it did with Streamripper at the time. It cuts the music either too early or too late, so you have to cut the music yourself afterwards. There's always a little play, which is a pity, but no big deal given the service provided. Thanks again for everything, it's really top-notch. Much appreciated
By "since it worked on my side", what do you mean?  The new version of liquid soap with the existing script??

Re your solution, I assume it's the same I've used from the get-go, which is do a portable install of Liquid soap 2.2.5, drop in the same folder the "record.liq" script modified to your liking, and just add a Run Services entry to Foobar pointing at the script as described in Reply #10 above.

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #36
By "since it worked on my side", what do you mean?  The new version of liquid soap with the existing script??

sorry for the confusion, I mean the old version of soap with existing script

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #37
(with a player it's a tinge more convenient to get the stream url).
Yeah just a tinge,  ::)   Thanks for the heads-up on the new liquid soap release not being compatible with Zeremy's script (I assume you used 1.024?), and yes the problem-free solution is just to stick with version 2.2.5 of liquidsoap.  I have a feeling he will be updating it soon.
Liquidsoap v2.3.0 has some breaking changes calculating duration of files.

Please use v.2.2.5 as mentioned in the readme.

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #38

In the end, everything works perfectly on my side, but I have just one criticism to make: the cutting script doesn't cut as well as it did with Streamripper at the time. It cuts the music either too early or too late, so you have to cut the music yourself afterwards. There's always a little play, which is a pity, but no big deal given the service provided. Thanks again for everything, it's really top-notch. Much appreciated

@Mikmak404
Thanks for your feedback.
Compared streamripper's output with the files created by the script and indeed there was a sync issue.

New release up #v.1.0.25 , should be more precise now.
https://github.com/smoralis/liquidsoap-record

Also in v.1.0.25 I have added the option to download covers if you add parameter -id "tunein id"
Sample of usage in the readme.

Still no update though for liquidsoap v.2.3.0 , please remain at v.2.2.5

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #39
Thanks zeremy for 1.0.25, working slick!

I modified a version of the script that suits my personal preferences;  chiefly, it doesn't download covers from the stream or anywhere else (I view that as best done in a separate step/application after deciding if I even want to keep the file), it doesn't create a M3U list (radio stream downloads aren't that "finalized" yet in my library), and it exercises the option to not keep files less than 15s. instead of putting them in an "incomplete" folder.  It assumes that the location of ffprobe.exe and ffmpeg.exe are specified in the Windows PATH statement and not necessarily in the foobar folder.  Attached for anyone to try, change name to "record.liq" and put in your liquidsoap directory.  A Run Services key for directstream copy:
Code: [Select]
"C:\liquidsoap\liquidsoap.exe" "C:\liquidsoap\record.liq" -- -url %path% -dir "C:\Streams"

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #40
record.liq #v.1.0.31 2025-01-20, now compatible with liquidsoap 2.3.0 (and 2.2.5), has been released by zeremy:

1. New feature is the relay option (disabled by default) to a icecast server
so the user can listen if wanted. (line #s 34-37,462-475,514-526)

2. New feature to download covers from tunein now playing when available
using the tunein id option .(line #s 267-276)

3. Version 2.3.0 of liquidsoap is recommend, faster loading time when using script caching.

https://github.com/savonet/liquidsoap/releases/download/v2.3.0/liquidsoap-2.3.0-win64.zip 

https://github.com/smoralis/liquidsoap-record

Download:  https://github.com/smoralis/liquidsoap-record/raw/refs/heads/main/record.liq

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #41
I tried the new 1.0.31 with liquidsoap 2.3.0, and on a partial recording stopped with CTRL-C of an HE-AAC stream from SomaFM, the resulting file had the extension ".m4a#0". Roll back time  :'(

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #42
I used to stop LSR from downloading covers "blind" by commenting out all the lines from the
Code: [Select]
#def download_cover(m,covername)
section.  (I use another application for searching/adding cover art.)  This worked in 1.0.25, but causes LSR 1.0.31 to crash.

Also still the problem with the filename extensions as noted above.

Re: Keeping recording stream with Streamripper using Foobar2000 in 2024 ?

Reply #43
LSR #v.1.0.32 2025-01-25 has been posted by zeremy at github and issue I reported has been fixed (file ext. glitch).

Also, nothing to comment out anymore if you don't want cover art downloaded or an M3U list created--those are now the default settings.  If you want them, change the "<0>" to "<1>" at the end of line #4.

File fragments less than 10 seconds long are deleted by default;  that length can be altered in the script by altering the "f.duration" value in lines #416-427.

This is all using liquidsoap 2.3.0 x64.