Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Lengthen the delay before quiting VLC on longer recordings' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Lengthen the delay before quiting VLC on longer recordings
Authored by: strutton on Sep 09, '05 08:19:57AM
It may just be my computer, but I was having trouble using the above script to record long shows, greater than an hour. I found that the time need to wait for VLC to finish saving the file was greater than the code allows. VLC will quit on command regardless of the state of the recorded file....

In my test I found that a 40+ min recording took over 25 sec to close the file. Not sure how this differs in length, but I added plenty of time to the delay as seen below:
 
tell application "VLC"
		stop
		-- wait 220 seconds to let saving finish
		delay 220
Also I found that some radio stations have a starting URL that actually contains multiple URLs example WSB in Atlanta http://www.streamaudio.com/stations/asx/WSB_AM.asx they do this to rotate audio ads before the stream, as well as the radio stream that follows appears to differ each day maybe to prevent you from saving that URL and missing their ad. Anyway for some reason my VLC client will hang up on the last 10-5 seconds of the ad and not move on to the stream. So when recording these stations I have to tell VLC to go to the next track in the script.

Hope this helps,
-mike

[ Reply to This | # ]