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
rtmpdump -r "rtmp://kissfm.es.flash3.glb.ipercast.net/kissfm.es-live" -a "kissfm.es-live" -f "LNX 11,2,202,310" -W "http://www.kissfm.es/player/mananasplayer/player.swf" -p "http://www.kissfm.es/player/mananasplayer/index.php" -y "aac.stream" --live -b 10000 | mplayer - |
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
#!/bin/bash | |
NUM=0 | |
while [ $NUM -lt 10 ]; do | |
ARRAY=( `curl -s "http://playerservices.streamtheworld.com/api/livestream?version=1.5&mount=M80RADIOAAC&lang=es&nobuf=1373975014724" | sed 's% xmlns="http://provisioning.streamtheworld.com/player/livestream-1.5"%%' | xmllint --xpath "//server/@sid" - | sed 's/sid=//g' | sed 's/"//g' ` ) | |
N=`shuf --input-range=0-$(( ${#ARRAY[*]} - 1 )) | head -1` | |
mplayer -cache 200 -cache-min 50 http://${ARRAY[$N]}.live.streamtheworld.com/M80RADIOAAC | |
NUM=`expr $NUM + 1` | |
sleep 5 | |
done |
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
curl -s http://www.mejortorrent.com/secciones.php?sec=ultimos_torrents | iconv -f iso-8859-1 -t utf8 | tidy -f /dev/null -asxhtml | sed "s/ //g" | sed "s/xmlns/ignore/" |xmllint --format --recover --xpath "/html/body/table/tr[3]/td/table/tr/td[2]/table/tr/td/table/tr/td/table/tr/td/a" - |
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" |
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
ps aux | grep chrome | grep -v grep | awk '{sum+=$6} END {print "chrome total: " sum/(1024*1024) " GB"}' |
NewerOlder