Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ongoing: Phantom/Dialog/Spark protocol deciphering and development
#9
Hi, Guys!
New development (trivial in hindsight).
Http allows easy redirect, so you can play any online music stream by redirecting Phantom to it.
Example below is some random raw PCM stream from Ibiza Smile

Using the tutorial above, change the header.txt to this (the 8 lines between the ---'s):
----header.txt----
HTTP/1.1 302 Found
Accept-Ranges: bytes
Date: Wed, 23 Dec 2015 15:16:20 GMT
Content-Type: audio/*
Connection: close
Location: http://vp5.net/si/LVN.wav


----end of header.txt--------

Then change serve.bat, removing the last line (serving an actual file).
It should look like this (2 lines between ---'s):
----serve.bat----
@echo off
type header_302.txt
----end of serve.bat----


Then go on as before:
1. Quit Spark
2. Launch port80.bat
3. Launch port4040.bat
4. Launch Spark
5. Play any track. It will instead play the Ibiza PCM stream.
Reply


Messages In This Thread
RE: Ongoing: Phantom/Dialog/Spark protocol deciphering and development - by iliapas - 30-Dec-2015, 11:41

Forum Jump:


Users browsing this thread: 1 Guest(s)