Scheduling recording of a url stream

Discuss your Lua playlist, album art and interface scripts.
icecursor
New Cone
New Cone
Posts: 1
Joined: 18 Aug 2016 04:40

Scheduling recording of a url stream

Postby icecursor » 18 Aug 2016 05:03

Hey everyone,

To say I'm a noob, may be an overstatement.

Has anyone written a step by step guide on how the heck you can write a script, or use a utility or whatever, to record a internet stream that plays weekly?

I've been looking around on google, and youtube and I can't find any sort of utility that actually works.


This is what, personally, I am/have been looking for.
I want to record " http://128.100.197.46:80/ " as an mp3, every Tuesday morning from 6:30 AM - 9:00 AM. Saving the mp3 to my downloads folder. It'd be awesome if the pc could wake up from sleep to record then go back to sleep after.

any ideas... or answers... or even a youtube walkthrough for something similar to it?


Thanks Guys

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Scheduling recording of a url stream

Postby mederi » 18 Aug 2016 21:59

The Interface script Scheduler can be further improved to support selected days of the week.
At the moment the solution for you would be to use VLC with its command line options in task scheduler in your OS. The Stream wizard (Media > Stream...) can help you with the CLI.

Code: Select all

"vlc.exe" http://128.100.197.46/ :sout=#duplicate{dst=file{dst="D:\rec.mp3"},dst=display} :stop-time=9000 vlc://quit
You can also have OS date&time in output filename. Just search related VLC forums or Google.

MisterR
New Cone
New Cone
Posts: 1
Joined: 09 Jan 2020 06:40

Re: Scheduling recording of a url stream

Postby MisterR » 16 Jan 2020 07:11

I have the same question. Did you ever find a working solution for this?
Thanks.

madvadasd
New Cone
New Cone
Posts: 1
Joined: 08 Dec 2021 16:46

Re: Scheduling recording of a url stream

Postby madvadasd » 08 Dec 2021 16:49

I too am interested to see if anyone else got this to work. Similar to the OP, I'm trying to convert the following stream into a file. I had luck with the GUI, but no dice with CLI.

https://air.pc.cdn.bitgravity.com/air/l ... ylist.m3u8


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 7 guests