Myspace gets it right :)

I'm wondering how wwwoffle deals with streaming media, say, mp3 audio streams. 
I like to know how to do streaming 'right', from a site admins point of view, 
that is, to 
make it more difficult to download streams locally. And there's also the aspect 
of avoiding 
to pile up too much crap in the cache. 

That said.

I stumbled over the incredible 'Mad Max and the Wild Ones',
<http://profile.myspace.com/index.cfm?fuseaction=user.viewprofile&friendID=97871906>
and then wondered why the mp3 would not appear in the lasttime index ?
ok, i know, that would be too easy. But how does it work ?


[Additional information]

The request is apparently sent by the flash player. 
Does that mean it circumvents the browser completely ?

The http header exchange was,

http://cache06-music01.myspacecdn.com/45/std_67306a9a95bc3960cc70f79c2c9bece2.mp3?bandid=97871906&songid=25831990&token=1169628826_fc25e088f25bf08cdb8d3607f3736cd8&p=aHR0cDovL2NhY2hlMDYtbXVzaWMwMS5teXNwYWNlY2RuLmNvbS80NS9zdGRfNjczMDZhOWE5NWJjMzk2MGNjNzBmNzljMmM5YmVjZTIubXAz&a=0

GET 
/45/std_67306a9a95bc3960cc70f79c2c9bece2.mp3?bandid=97871906&songid=25831990&token=1169628826_fc25e088f25bf08cdb8d3607f3736cd8&p=aHR0cDovL2NhY2hlMDYtbXVzaWMwMS5teXNwYWNlY2RuLmNvbS80NS9zdGRfNjczMDZhOWE5NWJjMzk2MGNjNzBmNzljMmM5YmVjZTIubXAz&a=0
 HTTP/1.1
Host: cache06-music01.myspacecdn.com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.1) Gecko/20061205 
Iceweasel/2.0.0.1 (Debian-2.0.0.1+dfsg-2)
Accept: 
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Proxy-Connection: keep-alive

HTTP/1.x 200 OK
Content-Type: audio/mpeg
Etag: "8709648033400179290"
Accept-Ranges: bytes
Last-Modified: Tue, 31 Oct 2006 16:04:07 GMT
Date: Wed, 24 Jan 2007 16:52:46 GMT
Server: lighttpd/1.4.11
Connection: close
Proxy-Connection: close
Content-Encoding: gzip
Transfer-Encoding: chunked

I can find respective D files in lasttime, like (not the same song though):

Dr87GDfD7NO6dFhdbUqUKYw:
imagename="http://myspace-655.vo.llnwd.net/01169/55/60/1169010655_m.jpg"; 
imagedesc="&lt;br&gt;" 
filename="BLSfva8m9PkcA08zlvl9SZw0Tu51JbIaUKjBXxnmNbinJf0E8qzyd4hxxeQX4KUFhoLDFK/L2rTYq68jaZw3sMPgGuHS7aWQZkvStXJgvWI="
 
url="http://mediaservices.myspace.com/Services/Media/mediaHitCounter.ashx?i=MIGdBgorBgEEAYI3WAPOoIGOMIGLBgorBgEEAYI3WAMBoH0wewIDAgABAgJmAwICAMAECLOOOFDCFeW0BBAZ38iWhCWadApU5rIvMEr1BFCUS0Kibdc%2fTe%2fQzFdib2RSybRQPieD50Jij6QmqoOamhjMQRZYW3VQTj28QTgqIMV1PoMzCXIbVkpjWrZWyGYDJcGp7sIESWSSg0ZHptaEPg%3d%3d";
 lyrics="" purl="" 
durl="http://cache06-music01.myspacecdn.com/47/std_4291f08055c59ffa60f3a960f90905e7.mp3";
 
token="Czan+ZhrpscaWzuzIUKXufTH/Jmq8+kXHR9LV8v+/JjD5bWeHuZJ/8sP7cHSfVD7JNUU7AF8lEEfUdTIK+Y2lYW6CgpyX++yQwPA6uHwlvs="/><song
 bsid="25832413" title="Blue Moon of Kentucky" songid="0" plays="789" 
comments="" rate="" downloadable=""

p.s. If you survive the first song, try Folsom Prison Blues.


Reply via email to