AIMP Forum

AIMP for Windows => Плеер / Player => Предложения / Suggestions => Интернет-радио / Internet Radio => Topic started by: Grison on July 03, 2024, 15:58:08

Title: Infinite attempts to reconnect
Post by: Grison on July 03, 2024, 15:58:08
Hello,

First of all, thank you very much for this fantastic player I use for almost 10 years now.
I am using the 32 bit version to be able to use a DSP which is only available in 32bit.

About Internet Radio, I would like to have an option to force an unlimited attempts when the connection is lost, AND even if the stream url doesn't exist at the moment the player tries to connect. Eg: Some internet radios use Icecast, and for some reasons the mountpoint is lost, therefore the url doesn't exist :

Code: [Select]
File: http://localhost:8000/radio
Code: 2 (00000002)
Message: Can't open the file
-------------------------
HTTP/1.0 404 File Not Found
Server: Icecast 2.4.4
Connection: Close
Date: Wed, 03 Jul 2024 12:50:15 GMT
Content-Type: text/html; charset=utf-8
Cache-Control: no-cache, no-store
Expires: Mon, 26 Jul 1997 05:00:00 GMT
Pragma: no-cache
Access-Control-Allow-Origin: *

Do you think it is possible to implement?

Thanks in advance
Title: Re: Infinite attempts to reconnect
Post by: Artem on July 03, 2024, 16:53:22
About Internet Radio, I would like to have an option to force an unlimited attempts when the connection is lost, AND even if the stream url doesn't exist at

Just set a maximum value for the option
Title: Re: Infinite attempts to reconnect
Post by: Grison on July 03, 2024, 18:05:25
Hello Artem,

Thanks for your reply.
I use AIMP on a server playing 24/24, and I would like it restarts, even if the connection is lost after 2 days. The maximum possible value is 1000, which means, with a break of 5 seconds between attempts, the player will have stopped in less than 2 hours.
By the way, on the 32 bit version, it seems this feature is not working at all : this message popup after the 1st failed attempt.
Title: Re: Infinite attempts to reconnect
Post by: Artem on July 04, 2024, 12:28:48
Hello Artem,

Thanks for your reply.
I use AIMP on a server playing 24/24, and I would like it restarts, even if the connection is lost after 2 days. The maximum possible value is 1000, which means, with a break of 5 seconds between attempts, the player will have stopped in less than 2 hours.
By the way, on the 32 bit version, it seems this feature is not working at all : this message popup after the 1st failed attempt.

Message popups only if first attempt is failed when you've started playback manually
Title: Re: Infinite attempts to reconnect
Post by: Grison on July 04, 2024, 16:51:37
On the 64bit version,  it seems yes. But on the 32bit version, if pops up after the 1st fail. Could you please test and confirm?
Title: Re: Infinite attempts to reconnect
Post by: Artem on July 08, 2024, 12:07:40
Please, try this build:
https://disk.yandex.ru/d/u7bT3bADa1Aimw
Title: Re: Infinite attempts to reconnect
Post by: Grison on July 08, 2024, 17:10:51
Hello Artem,
It seems to works perfectly now, thank you very much!
Will it be implemented in the next stable release?
Title: Re: Infinite attempts to reconnect
Post by: Artem on July 08, 2024, 20:50:14
Will it be implemented in the next stable release?

Yep, this build should be released during this week
Title: Re: Infinite attempts to reconnect
Post by: Grison on July 09, 2024, 12:31:24
Thanks a lot!