Skip to content

Instantly share code, notes, and snippets.

@cnovoab
Created July 21, 2017 14:50
Show Gist options
  • Save cnovoab/59dd95bba0d08c5404df983295eca96a to your computer and use it in GitHub Desktop.
Save cnovoab/59dd95bba0d08c5404df983295eca96a to your computer and use it in GitHub Desktop.
#!/bin/bash
# Install mpg123 library if you need to (sudo apt-get install mpg123)
BASE_URL="http://profesionalesecuador.com/amorcomprensionyternura/"
#declare -A LIST
LIST[0]="meloestoy_tomandoyo_mi_estimada.mp3"
LIST[1]="elquelahace_laolvida_peroelquelorecibe_nunca.mp3"
LIST[2]="entonces_cortele_libertad_alas.mp3"
LIST[3]="meama_yporque_meama_mi_mama.mp3"
LIST[4]="yonecesito_amor_comprension_ternura.mp3"
LIST[5]="yosoy_un_bebe.mp3"
for file in ${LIST[*]}
do
echo "Playing: ${file}"
mpg123 ${BASE_URL}${file}
done
@jplazcano87
Copy link

ya basta novoa!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment