now playing on own server

You have a question or need an advice about how to do something? Ask it here!
Post Reply
User avatar
Soulmaster
Posts: 51
Joined: 06 Apr 2013 07:44
now playing on own server

Post by Soulmaster »

hello , is there a way to send the nowplaying tags automatic to my shoutcast server. The music server and the shoutcast server are one and the same server.

and is there a script for sending the nowplaying to twitter ?
User avatar
radio42
Site Admin
Posts: 6455
Joined: 05 Apr 2012 16:26
Location: Hamburg, Germany
Contact:
Re: now playing on own server

Post by radio42 »

Something like this?
viewtopic.php?f=9&t=730

You might also for example assign the following command to the global 'Playlist.OnTrackPlay' event.
(see general settings, section 'Events/Commands')

Code: Select all

EXEC_SEND_HTTP_GET http://domain.com/update.php?artist=${artist}&song=${title}
Other control-commands might be used instead (depending on your web-site), e.g.:
- EXEC_SEND_HTTP_POST
- EXEC_SEND_TCP
- EXEC_SEND_SQL
- EXEC_UPLOAD_FILE
(see the User Manual Appendix for details)

On your web-site you might...
When using EXEC_SEND_HTTP_GET:
In your PHP script you can now access the params like this:
$artist = $_GET["artist"];
$song = $_GET["song"];
More info here: http://www.w3schools.com/php/php_get.asp

When using EXEC_SEND_HTTP_POST:
Use the following in your PHP script:
$artist = $_POST["artist"];
$song = $_POST["song"];
More info here: http://www.w3schools.com/php/php_post.asp

A certain Twitter update function is not available, but via the above you might easily implement something from within your web-site I guess.
User avatar
Soulmaster
Posts: 51
Joined: 06 Apr 2013 07:44
Re: now playing on own server

Post by Soulmaster »

tnx :) going to try this.
User avatar
Soulmaster
Posts: 51
Joined: 06 Apr 2013 07:44
Re: now playing on own server

Post by Soulmaster »

\o/ works GREAT...
XTended
Re: now playing on own server

Post by XTended »

The NowPlaying is working great on my site.
I read several topics here about pushing the nowplaying to Twitter, but I haven't found the right solution yet.
Does somebody who uses ProppFrexx push the nowplaying to Twitter at this moment and will you share it with me?
moogwill
Posts: 377
Joined: 28 Feb 2016 12:31
Re: now playing on own server

Post by moogwill »

Ti push to twitter you cans use a simple ifttt.com recipe ... easy to do with a simple send mail macro

check mine https://twitter.com/nowonplayloud

Post Reply