• Welcome to RadioDJ - Free Radio Automation Software Forum. Please log in or sign up.

[PLUGIN] TCP Server

Started by Marius, July 27, 2013, 09:50:25 PM

SnowHow

Quote from: shorty.xs on September 18, 2013, 01:08:54 PM
@SnowHow, what do you think about the remote connect/ disconnect feature? To hook your encopder into the TCP Plugin?


It's a good idea and I can see how it would be useful. My schedule has been full recently, which is why I haven't updated anything. As soon as I get through a few issues I'm dealing with, I will start updating all my stuff.

Thanks for your patience! :)

J-


shorty.xs

This is good news.  :ok:
I am always patient with people that spend thair free time in developing applications that are provided for free.

It is done, when it's done. I don't care for any schedule.

RezoVY

After research and testing I finally found what was blocking.  ;)
My tests are inconclusive. :)
Thank you all and you Marius .... :ok:

Elvis

Hi Marius,

I am upgrading Radio DJ from 1.6.0 to 1.6.5 and found out that PlayNextTrack command was not implemented in this plugin.
Can you please implement it? It is very useful to me.

Thank you very much and keep the great work!

Regards,
Elvis
[img]http://img685.imageshack.us/img685/3712/novologo.png[/img]
BIZ Webradio - Pop, Dance, Rock, Flashback.
Visit the new website at: www.bizwebradio.com
Twitter: @BIZWebradio
Facebook: facebook.com/bizwebradio

Marius

In the plugins folder you have an example php file which contains all implemented commands.
Play next file is replaced by "PlayPlaylistTrack" and you must pass the zero based playlist item number to be played, for example if you want to play next songs, the command is:
PlayPlaylistTrack&0
DOWNLOADS PAGE

HOW TO FIX RADIODJ DATABASE
----------------
Please don't PM me for support requests. Use the forums instead.

Elvis

Thanks for the quick reply Marius. I thought this command was something else. :)
[img]http://img685.imageshack.us/img685/3712/novologo.png[/img]
BIZ Webradio - Pop, Dance, Rock, Flashback.
Visit the new website at: www.bizwebradio.com
Twitter: @BIZWebradio
Facebook: facebook.com/bizwebradio

aus10

I'm having troubles sending the commands. Using the demo script, I get no response.

Elvis

One thing I noticed that used to work and is not anymore is to allow multiple ips to connect separated by ;.
Are you doing that?
[img]http://img685.imageshack.us/img685/3712/novologo.png[/img]
BIZ Webradio - Pop, Dance, Rock, Flashback.
Visit the new website at: www.bizwebradio.com
Twitter: @BIZWebradio
Facebook: facebook.com/bizwebradio

aus10

No, just the IP address of the server.

In the XML file, what is the WebIP for?

aus10

I was using the TCP plugin from 1.6.5.0 and I just replaced it with one from a previous version and it's now working.

marcopsq

How can I use remote control (TCP) with another computer in the same net (192.168.1.2)?

with the first pc with the database i use this: http://127.0.0.1:4444/radiodj161&password&PlayPlaylistTrack  and it works great!

irizzi

Hi all, sorry in advance for my bad english.
I need to interface radiodj to another application that can send only one string per event (and cannot be modified  :()

Radiodj, when receives this string, shoud:
- clear playlist;
- open line in;
- execute a little external program;
- stop current execution;
- wait until it not receives a PlayPlaylistTrack&0 or a Restart command

With a manual event and a LoadPlaylist tcp command I'm able to cover all but immediate playout (I've to wait the end of current track)

Is there a way to execute a manual event directly by tcp server?
Or... any suggestion?

Thanks in advance.

Filippo

bakeri666

#27
SetAssisted does not actually change the RadioDJ assisted status...

Also, why is the IP address sent in the command message when it is ignored by the plugin? Is there a way to allow multiple IP's, or to use the message ip as the security check as a work around?

I am trying to connect without a php server in the middle, and my IP address is dynamic

thanks

romain25300

Hi and Thanks for your beautiful work.

Where can I download this plugin ?

Thank you in advance.

Marius

It should be located in radioDJ folder under "Disabled Plugins".
DOWNLOADS PAGE

HOW TO FIX RADIODJ DATABASE
----------------
Please don't PM me for support requests. Use the forums instead.