Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

AIMP

Questions and comments specific to a particular plugin should go here.
User avatar
Pako
Plugin Developer
Posts: 2294
Joined: Sat Nov 11, 2006 1:31 pm
Location: Czech Republic
Contact:

Re: AIMP

Post by Pako »

igvk wrote:Isn't it possible to set up persistent connection to AIMP?
O.K., the protocol is HTTP, but is it possible to use an already established TCP connection without closing it (and use HTTP/1.1 persistent connection)?
Or aimp-web-ctl doesn't support it?
I tried it and I found, that aimp-web-ctl (unfortunately) does not support HTTP 1.1.
You can try it yourself.
Use telnet client and connect to the address localhost:38475
Then enter the command HEAD / HTTP/1.1 (and "Enter" key twice).
You will see, that the connection is immediately interrupted.
For a server that supports HTTP 1.1, does not interrupt the connection (I tried it with my plugin HTTP explorer).
With the plugin aimp-web-ctl is no difference between HTTP 1.0 and HTTP 1.1.
igvk wrote:I noticed that the problem with never-ending frequent connections is due to the fact that events triggering options were set.
I have switched them all off, and now it doesn't show itself the way it used to.
That is obvious. It is polling.
If (EG) plugin does not need to know the status AIMP, then there is no reason to connect to it.

Pako
Sem;colon
Plugin Developer
Posts: 625
Joined: Sat Feb 18, 2012 10:51 am
Location: Germany

Re: AIMP

Post by Sem;colon »

Hi, I created another plugin for AIMP, you can find it here:
viewtopic.php?f=9&t=5962
You can combine the two plugins!
If you like my work, Image me a drink :wink:
Post Reply