K-S-V / Scripts

Collection of my scripts
GNU General Public License v3.0
635 stars 226 forks source link

Add Retry Option to fetching new bootstrap #37

Open GTAXL opened 10 years ago

GTAXL commented 10 years ago

Hello, I would like you to add a retry option to the following output, "Failed to refresh bootstrap info, Status: 404" I want this because some livestreams don't start at EXACT times so the HDS downloader just stops and ends up not recording the stream when it comes online. I would like this to keep trying to reload and then record when the bootstrap becomes available. This would be very appreciated. I tried changing it to LogInfo and adding the ++$retries, true); to the end for the "Failed to refresh bootstrap info" line but it didn't work right. I don't know that much about php. :P Thanks!