bentasker / HLS-Stream-Creator

Simple Bash Script to take a media file, segment it and create an M3U8 playlist for serving using HLS
BSD 3-Clause "New" or "Revised" License
273 stars 101 forks source link

Let limit #1

Closed MiguelAngelLV closed 10 years ago

MiguelAngelLV commented 10 years ago

The let command has "limit size of base".

./HLS-Stream-Creator.sh: línea 173: let: 09: valor demasiado grande para la base (el elemento de error es "09")

I changed to expr and I solved

# Calculate the duration in seconds
DURATION_S=$(expr \( $DUR_H \* 60 + $DUR_M \) \* 60 + $DUR_X)
bentasker commented 10 years ago

Nice catch, thanks. Fancy creating a pull request for it?