How do you send the nowplaying and next track info to the web site? If you upload the "nowplaying.txt" file, then it contains 2 strings:
current track
next track
You just need to parse this file before displaying this info on the web site.
The script which reads that file can extract the information. If you use plain TXT, then simply parse it using the "\n" separator, in PHP the function is called explode.
StefanoM said:
I did not mean this as a function. Can I send an email?
with the link to the function.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.