AIMP Forum

AIMP for PC => Ошибки и замечания / Bugs => Обработано / Processed => Topic started by: James4 on March 28, 2023, 15:51:51

Title: [x] [2425] Internet Radio, Pause button behavior
Post by: James4 on March 28, 2023, 15:51:51
First, thank you very much for the latest 5.11.2425 release.

Can you please allow the old behavior where the Pause button stops the radio stream?
Maybe add an option in Internet Radio>General Settings?

Reasons:
The several seconds of buffer resets automatically and the program return to be live, so it is no different than stopping.
I use a small multimedia controller where I have a volume knob, next/previous and play/pause buttons, is was very convenient to stop the stream with the pause button.

Thank you again.
Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 28, 2023, 16:03:39
=(
Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 28, 2023, 17:08:19
Player doesn't download the data if paused. So, no difference between pause or stop in this case. But if playback is paused you will able to resume the playback
Title: Re: Internet Radio, Pause button behavior
Post by: James4 on March 28, 2023, 18:50:38
There is a difference between pause and stop, otherwise I would not waste your time.
There is a limited amount of seconds that is buffered somewhere (server?) and if the stream is paused for more than a that specific buffer time, the stream will drop and restart like it was stopped.

Please test by downloading AAC file (Soma.FM):
https://somafm.com/u80s/

Pause for 3 minutes, then un-pause and listen.
After a few seconds the stream will drop and restart form 'live' point.

Maybe Soma.FM cuts the buffer when they change songs?  ???
Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 28, 2023, 21:12:57
After a few seconds the stream will drop and restart form 'live' point

So, is it main issue of this behavior?
Title: Re: Internet Radio, Pause button behavior
Post by: James4 on March 29, 2023, 10:45:59
Yes, the radio stream drops after X amount of seconds, probably after the song ends, at least with Soma.FM radio streams.
I don't want or need to pause a live stream I just want to press 'play' on my multimedia controller and listen to live stream like it was.


Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 29, 2023, 11:26:25
I've re-upload the build, please try on it.
Title: Re: Internet Radio, Pause button behavior
Post by: James4 on March 29, 2023, 13:47:50
Updated.


Now when I pause a radio stream then choose another radio stream AIMP becomes non-responsive (freezes) and I have to close it from task manager.
Also, I hear an audio click when unpausing a stream, so it does not completely stop?
Please go to Soma.FM and download a few AAC stream files to test.

All I want is the old behavior, but other people may want to pause.


Image of frozen state attached.
Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 29, 2023, 13:54:09
Also, I hear an audio click when unpausing a stream, so it does not completely stop?

It impossible, because player stops the stream now.
Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 29, 2023, 13:56:03
AIMP becomes non-responsive (freezes)

Ok, I will check it
Title: Re: Internet Radio, Pause button behavior
Post by: James4 on March 29, 2023, 14:15:12
Attached video in 7z file, demonstrate both bugs.
Title: Re: Internet Radio, Pause button behavior
Post by: James4 on March 29, 2023, 17:03:21
Updated to 5.11.2427.

Doesn't freeze anymore, good.
Still has click when unpausing.  :(

Another bug found, buffering text stuck even after stop, after several pause and unpause.
Attached video.

I don't understand why not just revert to old stream engine before 5.11.2425?

EDIT:
Also, when I start AIMP it automatically pre-buffers the stream then pauses it... why?
Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 29, 2023, 17:43:12
I don't understand why not just revert to old stream engine before 5.11.2425?

Because scheduler unable to resume radio playback
Title: Re: Internet Radio, Pause button behavior
Post by: Artem on March 29, 2023, 17:44:04
Also, when I start AIMP it automatically pre-buffers the stream then pauses it... why?

How to reproduce that?
Title: Re: Internet Radio, Pause button behavior
Post by: James4 on March 29, 2023, 18:00:15
Because scheduler unable to resume radio playback
Okay, I understand.

How to reproduce that?
Never mind, I had "On app startup > Pause playback", that automatically starts and immediately pauses the stream even if it was stopped before closing AIMP.
I've put it on "Restore the state" now.

Title: Re: [x] [2425] Internet Radio, Pause button behavior
Post by: Artem on March 29, 2023, 18:39:47
Another bug found, buffering text stuck even after stop, after several pause and unpause

I've tried to reproduce but failed
Title: Re: [x] [2425] Internet Radio, Pause button behavior
Post by: James4 on March 29, 2023, 18:55:25
Pause and unpause fast, probably while it's buffering.

I really don't like the audio click when unpausing, is it fixable?
Title: Re: [x] [2425] Internet Radio, Pause button behavior
Post by: Artem on March 29, 2023, 19:03:41
Pause and unpause fast, probably while it's buffering.

Yes, I've tried, but cannot reproduce on my side. I think, that this issue can be reproduced on previous releases too.

I really don't like the audio click when unpausing, is it fixable?

I cannot reproduce it too. In build 2437, player really stops the playback (as it was before), but displays a pause state in UI. So, I have no idea where click may happened
Title: Re: [x] [2425] Internet Radio, Pause button behavior
Post by: James4 on March 29, 2023, 20:17:03
I am on 5.11.2427 64bit.

Maybe try my Soma.FM playlist, I attached.