Created
July 16, 2013 15:07
-
-
Save sucotronic/6009576 to your computer and use it in GitHub Desktop.
m80 commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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