HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: mihelson on 2024-02-20 12:56:35

Title: Hibernation and online radio
Post by: mihelson on 2024-02-20 12:56:35
If you turn off the PC into hibernation while playing online radio, then when you wake up, a “network error” error appears. In release this caused playback to stop. In the last preview, playback restarts, but there is still an error and the time countdown starts from zero.
Title: Re: Hibernation and online radio
Post by: Gus. on 2024-02-20 13:48:15
What if you set your network adapter to never sleep in Windows Device Manager.
Uncheck "Allow the computer to turn off the device to save power" under the Power Managment tab.
Title: Re: Hibernation and online radio
Post by: mihelson on 2024-02-21 15:58:25
This doesn't work. The problem started during the global update foobar to version 2.
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-02-22 19:13:30
I have the same issue with version 2.1.2 on Windows 11.

Steps to reproduce:

1. Play an online radio
2. Close the lid of your laptop to go into standby
3. Wait a few minutes
4. Open the lid to resume

I expect Foobar2000 to continue playing the radio but it fails with an error:

(https://i.imgur.com/jlC2XAN.png)

Any chance this can be fixed?

Thank you!
Title: Re: Hibernation and online radio
Post by: mihelson on 2024-02-23 08:01:50
orschiro
In foobar2000 v2.2 preview 2024-02-19 this problem is partially has been fixed. But there is still an error.
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-02-23 08:06:36
@mihelson what do you mean by partially?
Title: Re: Hibernation and online radio
Post by: mihelson on 2024-02-24 18:56:22
orschiro
Playback continues, but there is still an error.
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-02-27 07:39:51
Nice!

I can confirm that playback resumes but indeed it's showing an error window.
Title: Re: Hibernation and online radio
Post by: mihelson on 2024-02-27 18:55:44
How to create a bug report for a developer?
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-02-28 19:20:02
Maybe it's already fixed in foobar2000 v2.2 preview 2024-02-28?
Title: Re: Hibernation and online radio
Post by: mihelson on 2024-03-02 07:49:01
@orschiro no, bug don't fixed.
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-03-04 18:52:42
@orschiro no, bug don't fixed.

Bummer! Maybe with version foobar2000 v2.2 preview 2024-03-04?
Title: Re: Hibernation and online radio
Post by: Case on 2024-03-04 19:34:45
You are quite optimistic to think that any new preview build would change the behavior even when their changelogs don't mention anything related.
Peter is aware of the issue. Let's hope he has time and interest to add special handling for network disconnections caused by power state change.
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-03-05 07:17:30
Thank you Case and Peter!

Title: Re: Hibernation and online radio
Post by: orschiro on 2024-03-05 09:16:41
@Case can you please keep us notified here once the issue has been potentially addressed and can be tested?
Title: Re: Hibernation and online radio
Post by: Case on 2024-04-08 08:05:34
The latest foobar2000 v2.2 preview (https://www.foobar2000.org/download) should improve things.
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-04-08 08:10:31
Going to test now, thanks Case! :)
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-04-08 10:44:57
I am still getting the same error messages. How about you @mihelson?

For me nothing seemed to have changed.
Title: Re: Hibernation and online radio
Post by: Peter on 2024-04-08 18:48:07
Can you point specific radio stations where this is still an issue? I tested the link from the screenshot and it appeared to behave OK now.

Thanks
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-04-08 19:13:36
Hmm, strange.

Can you try this one?

https://eu1.fastcast4u.com/proxy/kpmxz?mp=/1

Thank you!
Title: Re: Hibernation and online radio
Post by: Peter on 2024-04-10 14:50:37
Changed behavior in today's build, will just resume playback quietly if disconnected, without trying to react to system sleep events.
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-04-10 19:34:31
Great, thanks Peter!

This new behaviour will presumably come with the next preview as well?
Title: Re: Hibernation and online radio
Post by: orschiro on 2024-04-14 12:25:33
The issue has been fixed in preview 2.2 2024-04-13.

Thank you so much!