RadioDJ - Free Radio Automation Software Forum

[PLUGIN] TCP Server

Offline SnowHow

  • *****
  • 915
  • A-1 Radio - The Variety Channel
    • A-1 Radio - The Variety Channel
Re: Plugin TCP Server
« Reply #15 on: September 18, 2013, 07:40:16 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-


Re: Plugin TCP Server
« Reply #16 on: September 24, 2013, 04:46:25 PM »
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.

Re: Plugin TCP Server
« Reply #17 on: September 26, 2013, 08:02:27 AM »
After research and testing I finally found what was blocking.  ;)
My tests are inconclusive. :)
Thank you all and you Marius .... :ok:

Offline Elvis

  • **
  • 59
  • BIZ Webradio
    • BIZ Webradio
Re: Plugin TCP Server
« Reply #18 on: October 10, 2013, 09:02:45 PM »
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

BIZ Webradio - Pop, Dance, Rock, Flashback.
Visit the new website at: www.bizwebradio.com
Twitter: @BIZWebradio
Facebook: facebook.com/bizwebradio

Offline Marius

  • *****
  • 5572
    • Radio DJ
Re: Plugin TCP Server
« Reply #19 on: October 10, 2013, 10:03:30 PM »
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:
Code: [Select]
PlayPlaylistTrack&0
DOWNLOADS PAGE

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

Offline Elvis

  • **
  • 59
  • BIZ Webradio
    • BIZ Webradio
Re: Plugin TCP Server
« Reply #20 on: October 10, 2013, 10:07:51 PM »
Thanks for the quick reply Marius. I thought this command was something else. :)

BIZ Webradio - Pop, Dance, Rock, Flashback.
Visit the new website at: www.bizwebradio.com
Twitter: @BIZWebradio
Facebook: facebook.com/bizwebradio

Re: Plugin TCP Server
« Reply #21 on: October 10, 2013, 10:52:37 PM »
I'm having troubles sending the commands. Using the demo script, I get no response.
Austin Hollis
Victory 91.5fm
https://victory.radio

Offline Elvis

  • **
  • 59
  • BIZ Webradio
    • BIZ Webradio
Re: Plugin TCP Server
« Reply #22 on: October 10, 2013, 11:21:37 PM »
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?

BIZ Webradio - Pop, Dance, Rock, Flashback.
Visit the new website at: www.bizwebradio.com
Twitter: @BIZWebradio
Facebook: facebook.com/bizwebradio

Re: Plugin TCP Server
« Reply #23 on: October 10, 2013, 11:32:00 PM »
No, just the IP address of the server.

In the XML file, what is the WebIP for?
Austin Hollis
Victory 91.5fm
https://victory.radio

Re: Plugin TCP Server
« Reply #24 on: October 10, 2013, 11:49:48 PM »
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.
Austin Hollis
Victory 91.5fm
https://victory.radio

Re: [PLUGIN] TCP Server
« Reply #25 on: December 05, 2013, 12:11:48 AM »
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

Re: [PLUGIN] TCP Server
« Reply #26 on: December 05, 2013, 11:44:20 AM »
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

Re: [PLUGIN] TCP Server
« Reply #27 on: December 12, 2013, 08:55:34 PM »
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
« Last Edit: December 13, 2013, 12:23:06 AM by bakeri666 »

Re: [PLUGIN] TCP Server
« Reply #28 on: February 03, 2014, 02:51:18 PM »
Hi and Thanks for your beautiful work.

Where can I download this plugin ?

Thank you in advance.

Offline Marius

  • *****
  • 5572
    • Radio DJ
Re: [PLUGIN] TCP Server
« Reply #29 on: February 03, 2014, 02:59:18 PM »
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.