Skip to content

Instantly share code, notes, and snippets.

@sucotronic
Created July 16, 2013 15:07
Show Gist options
  • Save sucotronic/6009576 to your computer and use it in GitHub Desktop.
Save sucotronic/6009576 to your computer and use it in GitHub Desktop.
m80 commands
# lista de canciones curl -s "http://playerservices.streamtheworld.com/public/nowplaying?mountName=M80RADIO&numberToFetch=10&eventType=track" | xmllint --xpath '//nowplaying-info-list/nowplaying-info[1]/property[@name="track_artist_name"]/text()' --nocdata -
#cue_time_start está en milisegundos desde epoch
date --date='@1373986371'
#streams disponibles
curl -s "http://playerservices.streamtheworld.com/api/livestream?version=1.5&mount=M80RADIOAAC&lang=es&nobuf=1373975014724"
#url de reproducción
http://4613.live.streamtheworld.com/M80RADIOAAC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment